jira-importer commented on issue #242:
URL: 
https://github.com/apache/maven-war-plugin/issues/242#issuecomment-2967855223

   
**[wargre](https://issues.apache.org/jira/secure/ViewProfile.jspa?name=wargre)**
 commented
   
   why not make the war:exploded goal binded with prepare-package phase?
   
   Edit : 2009-03-25
   With maven 2.1 we've got a workaround
   
   \<plugins>
                        \<plugin>
                                \<groupId>org.apache.maven.plugins\</groupId>
                                \<artifactId>maven-war-plugin\</artifactId>
                                \<version>2.0\</version>
                                \<executions>
                                        \<execution>
                                                \<id>Prepare WAR\</id>
                                                \<phase>prepare-package\</phase>
                                                \<goals>
                                                        \<goal>exploded\</goal>
                                                \</goals>
                                        \</execution>
                                \</executions>
                                \<configuration>
                                        
\<warSourceDirectory>src/webapp\</warSourceDirectory>
                                \</configuration>
                        \</plugin>
   
        <plugin>
            <phase>prepare-package</phase>
             ... do everything you want, precompile, change jsp, ...
       </plugin>
   
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscr...@maven.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to