[ http://jira.codehaus.org/browse/MWAR-15?page=all ]
mike perham closed MWAR-15:
---------------------------
Resolution: Fixed
Fix Version: 2.0
> Support separate generation of WAR's manifest.mf
> ------------------------------------------------
>
> Key: MWAR-15
> URL: http://jira.codehaus.org/browse/MWAR-15
> Project: Maven 2.x War Plugin
> Type: New Feature
> Reporter: mike perham
> Assignee: mike perham
> Fix For: 2.0
> Attachments: WarManifestMojo.java
>
>
> Attached is a "war:manifest" goal for programmatically generating the WAR's
> manifest.mf. This is not useful for the WAR generation (since the war plugin
> already supports generating the manifest at the time the war is created) but
> it is useful for use with IDEs that require the MANIFEST.MF in the source
> tree when working with a war project (in my case, IBM's Rational Software
> Architect).
> We configure this for use as follows:
> <plugin>
> <groupId>org.apache.maven.plugins</groupId>
> <artifactId>maven-war-plugin</artifactId>
> <configuration>
>
> <warSourceDirectory>WebContent</warSourceDirectory>
>
> <warSourceExcludes>WEB-INF/lib/*.jar</warSourceExcludes>
> <archive>
> <manifest>
>
> <addClasspath>true</addClasspath>
>
> <classpathPrefix>lib/</classpathPrefix>
> </manifest>
> </archive>
> </configuration>
> </plugin>
> It generates it to ${warSourceDirectory}/META-INF/MANIFEST.MF which is where
> RSA expects it to reside.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]