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

   **[Brian 
Topping](https://issues.apache.org/jira/secure/ViewProfile.jspa?name=topping)** 
commented
   
   Patch to resolve issue.  POM must have plugin configuration such as:
   
       <plugin>
           <groupId>org.apache.maven.plugins</groupId>
           <artifactId>maven-war-plugin</artifactId>
           <version>2.0-beta-3-SNAPSHOT</version>
           <configuration>
               <filters>
                   
<filter>${basedir}/src/main/webapp/WEB-INF/classes/build.properties</filter>
               </filters>
               <resources>
                   <resource implementation="org.apache.maven.model.Resource">
                       <filtering>true</filtering>
                       <directory>${basedir}/src/main/webapp</directory>
                       <includes>
                           <include>**/*.properties</include>
                           <include>**/*.xml</include>
                           <include>**/*.vm</include>
                       </includes>
                   </resource>
                   <resource implementation="org.apache.maven.model.Resource">
                       <filtering>false</filtering>
                       <directory>${basedir}/src/main/webapp</directory>
                       <includes>
                           <include>**/*</include>
                       </includes>
                       <excludes>
                           <exclude>**/*.properties</exclude>
                           <exclude>**/*.xml</exclude>
                           <exclude>**/*.vm</exclude>
                       </excludes>
                   </resource>
               </resources>
           </configuration>
       </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