maven-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Piotr Bzdyl <pi...@bzdyl.net>
Subject Re: Maven 2 EAR, WAR, EJB Common Dependencies
Date Tue, 31 Jan 2006 21:23:09 GMT
Hi,
>
> WAR POM
>             <plugin>
>                 <groupId>org.apache.maven.plugins</groupId>
>                 <artifactId>maven-war-plugin</artifactId>
>                 <configuration>
>                     <warSourceDirectory>webApplication</warSourceDirectory>
>                     <warSourceExcludes>
>                         image/**,htmlapp/**,WEB-INF/lib/*.jar
>                     </warSourceExcludes>
>                     <archive>
>                         <manifest>
>                             <addClasspath>true</addClasspath>
>                         </manifest>
>                     </archive>
>                 </configuration>
>             </plugin>
>
> They should generate manifest.mf files for you.
>   
Yes, it generates manifest.mf but it also include all *.jar files which 
are dependencies of the war project. I checked the sources of the war 
plugin and it uses excludes only for files copied from src directory, 
not project dependencies. Why?

Best regards,
Piotrek

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


Mime
View raw message