You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by RobJac <ro...@caritor.com> on 2006/04/24 15:17:55 UTC

Custom MANIFEST.MF

Hi,
I am using Maven2
I am trying to package my projects as Jar/WAR/EAR and Maven generates its
own version of MANIFEST.MF
How can I have my custom MANIFEST.MF to be used in my META-INF folder when i
execute mvn package for my JAR/EAR/WAR than allowing Maven to generate one
for me?
--
View this message in context: http://www.nabble.com/Custom-MANIFEST.MF-t1499174.html#a4063447
Sent from the Maven - Users forum at Nabble.com.


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


Re: Custom MANIFEST.MF

Posted by Tim Kettler <ti...@udo.edu>.
This merges the custom manifest with the generated one.

<plugin>
   <groupId>org.apache.maven.plugins</groupId>
   <artifactId>maven-{jar|war|ear}-plugin</artifactId>
   <configuration>
     <archive>
       <manifestFile>path/to/manifest/MANIFEST.MF</manifestFile>
     </archive>
   </configuration>
</plugin>

RobJac schrieb:
> Hi,
> I am using Maven2
> I am trying to package my projects as Jar/WAR/EAR and Maven generates its
> own version of MANIFEST.MF
> How can I have my custom MANIFEST.MF to be used in my META-INF folder when i
> execute mvn package for my JAR/EAR/WAR than allowing Maven to generate one
> for me?
> --
> View this message in context: http://www.nabble.com/Custom-MANIFEST.MF-t1499174.html#a4063447
> Sent from the Maven - Users forum at Nabble.com.
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
> 
> 


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