[ http://jira.codehaus.org/browse/MWAR-15?page=all ]

Maria Odea Ching moved MNG-1467 to MWAR-15:
-------------------------------------------

      Version:     (was: 2.0)
    Component:     (was: maven-war-plugin)
     Workflow: jira  (was: Maven)
          Key: MWAR-15  (was: MNG-1467)
      Project: Maven 2.x War Plugin  (was: Maven 2)

> 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
>  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]

Reply via email to