I tried the manifest generation ones again and it works. IBM manifest
is only copied to target/xxx but the new one is generated and packaged
with WAR file.

Thanks for helping.

On 4/20/06, Mike Perham <[EMAIL PROTECTED]> wrote:
> The <execution> is so Maven generates the MANIFEST.MF into the war
> source directory.  RSA/RAD requires this.  Your configuration will
> create the MANIFEST.MF in target/... so it is packaged with the WAR.  If
> you are not using IBM's tools, your config is correct.
>
> -----Original Message-----
> From: Janos Mucsi [mailto:[EMAIL PROTECTED]
> Sent: Thursday, April 20, 2006 12:24 PM
> To: Maven Users List
> Subject: WAR plugin does not generate MANIFEST.MF
>
> 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]
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to