jira-importer opened a new issue, #187:
URL: https://github.com/apache/maven-war-plugin/issues/187

   **[Miguel 
Griffa](https://issues.apache.org/jira/secure/ViewProfile.jspa?name=mgriffa)** 
opened 
**[MWAR-25](https://issues.apache.org/jira/browse/MWAR-25?redirect=false)** and 
commented
   
   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 defined in 3 profiles, one is like this
   
   ```xml
        <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 running mvn war:inplace no web.xml is put in WEB-INF
   
   
   ---
   
   **Attachments:**
   - 
[MWAR-25.zip](https://issues.apache.org/jira/secure/attachment/12720550/MWAR-25.zip)
 (_2.06 kB_)
   


-- 
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.apache.org

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

Reply via email to