daily pastebin goal
55%
SHARE
TWEET

Disable Maven warning message - “Selected war files include a WEB-INF/web.xml which will be ignored”

a guest Mar 19th, 2012 1,245 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. [WARNING] Warning: selected war files include a WEB-INF/web.xml which will be ig
  2. nored
  3. (webxml attribute is missing from war task, or ignoreWebxml attribute is specifi
  4. ed as 'true')
  5.        
  6. <project>
  7.     ...
  8.     <build>
  9.         <plugins>
  10.             <plugin>
  11.                 <artifactId>maven-war-plugin</artifactId>
  12.                 <version>2.1.1</version>
  13.                 <configuration>
  14.                     <packagingExcludes>WEB-INF/web.xml</packagingExcludes>
  15.                 </configuration>
  16.             </plugin>
  17.         </plugins>
  18.     </build>
  19.     ...
  20. </project>
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top