maven-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Adrian Gonzalez <adr_gonza...@yahoo.fr>
Subject maven-war-plugin : manifest goal limitation
Date Wed, 17 Oct 2007 19:09:12 GMT
Hello, 

Version 2.2 of the plugin only uses the 'manifest'
section of the configuration, not the full 'archive'
configuration [1].

Should I fill a JIRA issue ?

I've only changed WarManifestMojo class the line :
-> Manifest mf = ma.getManifest( getProject(),
archive.getManifest() );
to
-> Manifest mf = ma.getManifest( getProject(), archive
);
and it works fine for me now.

[1]
with the following configuration :
<archive>
  <manifest>
    <addClasspath>true</addClasspath>
  </manifest>
  <manifestEntries>
    <Class-Path>test.jar</Class-Path>
    <url>urlsample</url>
  </manifestEntries>
</archive> 

only 'addClasspath=true' will be taken into account.


      _____________________________________________________________________________ 
Ne gardez plus qu'une seule adresse mail ! Copiez vos mails vers Yahoo! Mail 

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


Mime
View raw message