Re: maven jar plugin: Manifest Entries?

2006-03-17 Thread Sachin Patel
It works. manifestFile is a var under MavenArchiveConfiguration so it needs to be declared under org.apache.maven.plugins maven-jar-plugin META-INF/MANIFEST.MF MavenArchiveConfiguration - sachin On Mar 17, 2006, at 8:3

Re: maven jar plugin: Manifest Entries?

2006-03-17 Thread Sachin Patel
I've opened MNG-2156 on this. - sachin On Mar 16, 2006, at 8:02 PM, Sachin Patel wrote: Yes, this is exactly what I have. I took a quick peak at the plugin code and I didn't see any reference to specifying a manifestFile either. ... org.apache.maven.plugins maven-jar-p

Re: maven jar plugin: Manifest Entries?

2006-03-16 Thread Sachin Patel
Yes, this is exactly what I have. I took a quick peak at the plugin code and I didn't see any reference to specifying a manifestFile either. ... org.apache.maven.plugins maven-jar-plugin META-INF/MANIFEST.MF

Re: maven jar plugin: Manifest Entries?

2006-03-16 Thread Alexandre Poitras
org.apache.maven.plugins maven-jar-plugin /path/to/MANIFEST.MF According to the documentation, this should work. Is it what you have in your pom.xml file? On 3/16/06, Sachi

Re: maven jar plugin: Manifest Entries?

2006-03-16 Thread Sachin Patel
Adding the following manifestFile element failed to work for me as I get the following error.. [INFO] Failed to configure plugin parameters for: org.apache.maven.plugins:maven-jar-plugin:2.1-SNAPSHOT Cause: Cannot find setter nor field in org.apache.maven.archiver.ManifestConfiguration for

Re: maven jar plugin: Manifest Entries?

2005-12-30 Thread Man-Chi Leung
this is my pom, it works fine! org.apache.maven.plugins maven-jar-plugin

Re: maven jar plugin: Manifest Entries?

2005-12-30 Thread Alexandre Poitras
And I think to add custom entries, you need to write them in a base manifest file wich you specify to be added to the generated manifest file. You just need to add this line to your plugin configuration : /path/to/MANIFEST.MF On 12/30/05, Alexandre Poitras

Re: maven jar plugin: Manifest Entries?

2005-12-30 Thread Alexandre Poitras
>From your example, I am guessing you are looking for a way to specify the classpath. If that the case, you work too hard. Maven is all about laziness and of course it can generate the class path for you : org.apache.maven.plugins maven-jar-plugin

maven jar plugin: Manifest Entries?

2005-12-30 Thread Jochen Wiedmann
Hi, how do I add manifest entries to the generated Jar file? I have tried various things in the style of maven-jar-plugin Name org/apache/xmlrpc/