war:inplace ignores web.xml if defined in an alwaysactive profile
-----------------------------------------------------------------

         Key: MWAR-25
         URL: http://jira.codehaus.org/browse/MWAR-25
     Project: Maven 2.x War Plugin
        Type: Bug

    Reporter: Miguel Griffa


Problem:

   the war:inplace generates the dir structure without the web.xml


Context:

simple web application defined, 
src/main/webapp/WEB-INF exists and contains configuration files, but not web.xml

web.xml is defiened in 3 profiles, one is like this
        <profiles>
                <profile>
                        <id>localdev</id>
                        <activation>
                                <activeByDefault>true</activeByDefault>
                        </activation>
                        <dependencies>
...
                        </dependencies>
                        <build>
                                <plugins>
                                        <plugin>
                                                
<artifactId>maven-war-plugin</artifactId>
                                                
<groupId>org.apache.maven.plugins</groupId>
                                                <configuration>
                                                        
<webXml>src/localdev/WEB-INF/web.xml</webXml>
                                                </configuration>
                                        </plugin>
                                </plugins>
                        </build>
                        <properties>
                                <classifier>localdev</classifier>
                        </properties>
                </profile>


when runing mvn war:inplace no web.xml is put in WEB-INF

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