This worked for me without <executions>:
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-war-plugin</artifactId>
<configuration>
<archive>
<manifest>
<addClasspath>true</addClasspath>
</manifest>
</archive>
<warSourceDirectory>${basedir}/WebContent</warSourceDirectory>
<webXml>${basedir}/WebContent/WEB-INF/web.xml</webXml>
<excludes>**/*.jar</excludes>
</configuration>
</plugin>
Which solution is better?
--- Mike Perham <[EMAIL PROTECTED]>
wrote:
> We do this to generate a MANIFEST.MF for RAD/RSA
> when the WAR is built.
> Your version will vary.
>
> <plugin>
>
> <groupId>org.apache.maven.plugins</groupId>
>
> <artifactId>maven-war-plugin</artifactId>
>
> <version>2.0-beta-3-20051216.015813-3</version>
> <configuration>
>
> <warSourceDirectory>WebContent</warSourceDirectory>
>
>
<warSourceExcludes>WEB-INF/lib/*.jar</warSourceExcludes>
> <archive>
> <manifest>
>
> <addClasspath>true</addClasspath>
>
> <classpathPrefix>lib/</classpathPrefix>
> </manifest>
> </archive>
> </configuration>
> <executions>
> <execution>
> <phase>package</phase>
> <goals>
>
> <goal>manifest</goal>
> </goals>
>
> <inherited>true</inherited>
> </execution>
> </executions>
> </plugin>
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]