Skip to content

Commit

Permalink
Excluding validation-api from addon since it's provided by javaee-spi
Browse files Browse the repository at this point in the history
  • Loading branch information
gastaldi committed Jun 10, 2014
1 parent cd77f7e commit aca0f2b
Showing 1 changed file with 34 additions and 27 deletions.
61 changes: 34 additions & 27 deletions bean-validation/api/pom.xml
Original file line number Diff line number Diff line change
@@ -1,31 +1,38 @@
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.jboss.forge.addon</groupId>
<artifactId>bean-validation-parent</artifactId>
<version>2.6.1-SNAPSHOT</version>
</parent>
<artifactId>bean-validation-api</artifactId>
<name>Forge - Bean Validation API</name>
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.jboss.forge.addon</groupId>
<artifactId>bean-validation-parent</artifactId>
<version>2.6.1-SNAPSHOT</version>
</parent>
<artifactId>bean-validation-api</artifactId>
<name>Forge - Bean Validation API</name>

<dependencies>
<!-- Bean Validation 1.1 API -->
<dependency>
<groupId>org.jboss.forge.addon</groupId>
<artifactId>javaee-spi</artifactId>
<classifier>forge-addon</classifier>
</dependency>
<!-- Needed for @org.hibernate.validator.valuehandling.UnwrapValidatedValue -->
<dependency>
<groupId>org.hibernate</groupId>
<artifactId>hibernate-validator</artifactId>
</dependency>
<dependencies>
<!-- Bean Validation 1.1 API -->
<dependency>
<groupId>org.jboss.forge.addon</groupId>
<artifactId>javaee-spi</artifactId>
<classifier>forge-addon</classifier>
</dependency>

<!-- Needed for @org.hibernate.validator.valuehandling.UnwrapValidatedValue -->
<dependency>
<groupId>org.hibernate</groupId>
<artifactId>hibernate-validator</artifactId>
<exclusions>
<exclusion>
<groupId>javax.validation</groupId>
<artifactId>validation-api</artifactId>
</exclusion>
</exclusions>
</dependency>

<dependency>
<groupId>org.jboss.forge.furnace</groupId>
<artifactId>furnace-api</artifactId>
<scope>provided</scope>
</dependency>
</dependencies>
<dependency>
<groupId>org.jboss.forge.furnace</groupId>
<artifactId>furnace-api</artifactId>
<scope>provided</scope>
</dependency>
</dependencies>
</project>

0 comments on commit aca0f2b

Please sign in to comment.