【Maven】Use Your Own Manifest File

Maven Archiver generates the default manifest file for you.
Sometimes, we need to use our own manifest file.

Before, I usually use the following commond to add:
jar umf MANIFEST.MF project_xxx.jar

Now, can add your own MANIFEST.MF to jar file using maven
http://maven.apache.org/shared/maven-archiver/examples/manifestFile.html

so cool...

猜你喜欢

转载自smallwildpig.iteye.com/blog/1837140