Antonio Petrelli-3 wrote: > > 2007/4/17, JavierL <[EMAIL PROTECTED]>: >> >> Hi >> >> I need to set Main-Class and Class-Path to my maven generated jar. >> >> I ' ve created a resource/META-INF/MANIFEST.MF file in my project where I >> placed needed info but when I do mvn package, generated jar comes with a >> MANIFEST.MF without my data. >> >> How could I do it ? > > http://maven.apache.org/plugins/maven-jar-plugin/examples/manifest-customization.html > http://maven.apache.org/plugins/maven-jar-plugin/examples/manifest-file.html > >
Just one more thing. In my source code I've Hiberntae mappuings .xml files but I could not found them inside generated jar. I can't see in docs how to force to add those files to jar... Is this possible ? Thanks in advance J -- View this message in context: http://www.nabble.com/How-to-add-manifest-to-jar-at-maven-package-tf3589840s177.html#a10032785 Sent from the Maven - Users mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
