Permalink
Browse files

Fixed war plugin config

  • Loading branch information...
1 parent fc39ac7 commit 9ebdafbef1ce29d25fb39112b97d11779a31e8b0 @gastaldi gastaldi committed Mar 6, 2014
Showing with 8 additions and 4 deletions.
  1. +8 −4 pom.xml
View
12 pom.xml
@@ -49,7 +49,6 @@
<dependency>
<groupId>org.jboss.spec.javax.ejb</groupId>
<artifactId>jboss-ejb-api_3.1_spec</artifactId>
- <version>1.0.2.Final</version>
<scope>provided</scope>
</dependency>
<dependency>
@@ -61,13 +60,11 @@
<dependency>
<groupId>org.jboss.spec.javax.annotation</groupId>
<artifactId>jboss-annotations-api_1.1_spec</artifactId>
- <version>1.0.1.Final</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.hibernate.javax.persistence</groupId>
<artifactId>hibernate-jpa-2.0-api</artifactId>
- <version>1.0.1.Final</version>
<scope>provided</scope>
</dependency>
<dependency>
@@ -138,7 +135,14 @@
</execution>
</executions>
</plugin>
-
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-war-plugin</artifactId>
+ <configuration>
+ <!-- web.xml is not mandatory since JavaEE 5 -->
+ <failOnMissingWebXml>false</failOnMissingWebXml>
+ </configuration>
+ </plugin>
<plugin>
<groupId>org.jboss.as.plugins</groupId>
<artifactId>jboss-as-maven-plugin</artifactId>

0 comments on commit 9ebdafb

Please sign in to comment.