Author: lfryc(a)redhat.com
Date: 2011-01-21 08:01:19 -0500 (Fri, 21 Jan 2011)
New Revision: 21145
Modified:
modules/tests/metamer/trunk/application/pom.xml
Log:
added validation-api and hibernate-validator as temporary workaround for RF-10271
Modified: modules/tests/metamer/trunk/application/pom.xml
===================================================================
--- modules/tests/metamer/trunk/application/pom.xml 2011-01-21 13:00:57 UTC (rev 21144)
+++ modules/tests/metamer/trunk/application/pom.xml 2011-01-21 13:01:19 UTC (rev 21145)
@@ -67,6 +67,11 @@
<groupId>org.richfaces.cdk</groupId>
<artifactId>annotations</artifactId>
</dependency>
+
+ <dependency>
+ <groupId>javax.validation</groupId>
+ <artifactId>validation-api</artifactId>
+ </dependency>
<dependency>
<groupId>javax.servlet</groupId>
@@ -117,10 +122,11 @@
<version>3.12.1.GA</version>
</dependency>
- <!--
- <dependency> <groupId>org.hibernate</groupId>
<artifactId>hibernate-validator</artifactId>
- <version>4.0.2.GA</version> <scope>provided</scope>
</dependency>
- -->
+ <dependency>
+ <groupId>org.hibernate</groupId>
+ <artifactId>hibernate-validator</artifactId>
+ <version>4.1.0.Final</version>
+ </dependency>
</dependencies>
<build>
@@ -299,7 +305,7 @@
<artifactId>maven-war-plugin</artifactId>
<configuration>
<classifier>jee6</classifier>
-
<packagingExcludes>WEB-INF/lib/jsf-api-*,WEB-INF/lib/jsf-impl-*,WEB-INF/lib/myfaces-api-*,WEB-INF/lib/myfaces-impl-*</packagingExcludes>
+
<packagingExcludes>WEB-INF/lib/jsf-api-*,WEB-INF/lib/jsf-impl-*,WEB-INF/lib/myfaces-api-*,WEB-INF/lib/myfaces-impl-*,WEB-INF/lib/validation-api-*,WEB-INF/lib/hibernate-validator-*</packagingExcludes>
</configuration>
<executions>
<execution>
@@ -330,7 +336,7 @@
</goals>
<configuration>
<classifier>jee6-bundled-mojarra</classifier>
-
<packagingExcludes>WEB-INF/lib/myfaces-api-*,WEB-INF/lib/myfaces-impl-*</packagingExcludes>
+
<packagingExcludes>WEB-INF/lib/myfaces-api-*,WEB-INF/lib/myfaces-impl-*,WEB-INF/lib/validation-api-*,WEB-INF/lib/hibernate-validator-*</packagingExcludes>
</configuration>
</execution>
</executions>
@@ -354,7 +360,7 @@
</goals>
<configuration>
<classifier>jee6-bundled-myfaces</classifier>
-
<packagingExcludes>WEB-INF/lib/jsf-api-*,WEB-INF/lib/jsf-impl-*</packagingExcludes>
+
<packagingExcludes>WEB-INF/lib/jsf-api-*,WEB-INF/lib/jsf-impl-*,WEB-INF/lib/validation-api-*,WEB-INF/lib/hibernate-validator-*</packagingExcludes>
</configuration>
</execution>
</executions>
@@ -551,6 +557,17 @@
<artifactId>jsf-impl</artifactId>
<scope>provided</scope>
</dependency>
+ <dependency>
+ <groupId>javax.validation</groupId>
+ <artifactId>validation-api</artifactId>
+ <scope>provided</scope>
+ </dependency>
+ <dependency>
+ <groupId>org.hibernate</groupId>
+ <artifactId>hibernate-validator</artifactId>
+ <version>4.1.0.Final</version>
+ <scope>provided</scope>
+ </dependency>
</dependencies>
</profile>
</profiles>