You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Kristof Vanbecelaere <kv...@jcs.be> on 2006/02/07 20:54:02 UTC

classpath/manifest file in jar

Hi,

when using 2.1-SNAPSHOT of maven-jar-plugin, is there a way of  
getting a custom manifest file in a jar? Or getting classpath entries  
in the generated manifest? And which would that be?

Is the info in http://maven.apache.org/guides/mini/guide- 
manifest.html still applicable to 2.1-SNAPSHOT (my impression is it  
isn't)?

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: classpath/manifest file in jar

Posted by Kristof Vanbecelaere <kv...@jcs.be>.
On Feb 7, 2006, at 20:54, Kristof Vanbecelaere wrote:

> Hi,
>
> when using 2.1-SNAPSHOT of maven-jar-plugin, is there a way of  
> getting a custom manifest file in a jar? Or getting classpath  
> entries in the generated manifest? And which would that be?

I guess what I am asking for is support for the <manifestFile>  
configuration tag as per maven-ear-plugin in the maven-jar-plugin and  
maven-war-plugin.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: classpath/manifest file in jar

Posted by Kristof Vanbecelaere <kv...@jcs.be>.
On Feb 7, 2006, at 20:54, Kristof Vanbecelaere wrote:

> Hi,
>
> when using 2.1-SNAPSHOT of maven-jar-plugin, is there a way of  
> getting a custom manifest file in a jar? Or getting classpath  
> entries in the generated manifest? And which would that be?
>
> Is the info in http://maven.apache.org/guides/mini/guide- 
> manifest.html still applicable to 2.1-SNAPSHOT (my impression is it  
> isn't)?

Looked harder and found that <addClasspath>true</addClasspath> adds  
runtime-scoped dependencies.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org