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

   **[David 
Boden](https://issues.apache.org/jira/secure/ViewProfile.jspa?name=daveboden)** 
opened 
**[MWAR-20](https://issues.apache.org/jira/browse/MWAR-20?redirect=false)** and 
commented
   
   When building parent aggregator, subprojects \<webXml/> tag uses the wrong 
base directory (perhaps the base directory of the parent?) to search for the 
specified web.xml.
   
       <parent>
           <groupId>SalesStation</groupId>
           <artifactId>SSBuild</artifactId>
           <version>SNAPSHOT</version>
           <relativePath>../SSBuild/pom.xml</relativePath>
       </parent>
       <modelVersion>4.0.0</modelVersion>
       <groupId>SalesStation</groupId>
       <artifactId>SS</artifactId>
       <packaging>war</packaging>
       <version>SNAPSHOT</version>
       <name>SalesStation SS webapp</name>
       
       <build>
           <sourceDirectory>WEB-INF/src</sourceDirectory>
           <finalName>SS</finalName>
           <plugins>
               <plugin>
                   <groupId>org.apache.maven.plugins</groupId>
                   <artifactId>maven-war-plugin</artifactId>
                   <configuration>
                       <warSourceDirectory>.</warSourceDirectory>
                       <excludes>target/**</excludes>
                       <!-- The ../SS is in there to fix a Maven Bug :o( -->
                       <webXml>../SS/WEB-INF/maven-web.xml</webXml>
                   </configuration>
               </plugin>
   
   
   
   ---
   
   **Attachments:**
   - 
[MWAR-20-maven-war-plugin.patch](https://issues.apache.org/jira/secure/attachment/12720486/MWAR-20-maven-war-plugin.patch)
 (_2.00 kB_)
   
   **Issue Links:**
   - [MWAR-3](https://issues.apache.org/jira/browse/MWAR-3) war:war launched 
from parent doesn't find module web.xml
   
   
   1 votes, 1 watchers
   


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to