[weld-commits] Weld SVN: r5237 - in archetypes/trunk/jsf: jee-minimal/src/main/resources/archetype-resources and 1 other directories.

weld-commits at lists.jboss.org weld-commits at lists.jboss.org
Tue Dec 8 18:11:21 EST 2009


Author: dan.j.allen
Date: 2009-12-08 18:11:21 -0500 (Tue, 08 Dec 2009)
New Revision: 5237

Modified:
   archetypes/trunk/jsf/jee-minimal/src/main/resources/archetype-resources/pom.xml
   archetypes/trunk/jsf/jee/src/main/resources/archetype-resources/pom.xml
   archetypes/trunk/jsf/servlet-minimal/src/main/resources/archetype-resources/pom.xml
Log:
explain why Hibernate Validator is a compile dependencies (extra constraints)


Modified: archetypes/trunk/jsf/jee/src/main/resources/archetype-resources/pom.xml
===================================================================
--- archetypes/trunk/jsf/jee/src/main/resources/archetype-resources/pom.xml	2009-12-08 23:10:49 UTC (rev 5236)
+++ archetypes/trunk/jsf/jee/src/main/resources/archetype-resources/pom.xml	2009-12-08 23:11:21 UTC (rev 5237)
@@ -55,15 +55,14 @@
          <scope>provided</scope>
       </dependency>
       <!-- Bean Validation Implementation -->
-      <!-- In case one is not provided by your container, but it is required by Java EE 6! -->
-      <!--
+      <!-- Provides portable constraints such as @NotEmpty, @Email and @Url -->
+      <!-- Hibernate Validator is the JSR-303 implementation in JBoss AS -->
       <dependency>
          <groupId>org.hibernate</groupId>
          <artifactId>hibernate-validator</artifactId>
          <version>4.0.0.GA</version>
-         <scope>runtime</scope>
+         <scope>provided</scope>
       </dependency>
-      -->
       <!-- JSF -->
       <dependency>
          <groupId>javax.faces</groupId>

Modified: archetypes/trunk/jsf/jee-minimal/src/main/resources/archetype-resources/pom.xml
===================================================================
--- archetypes/trunk/jsf/jee-minimal/src/main/resources/archetype-resources/pom.xml	2009-12-08 23:10:49 UTC (rev 5236)
+++ archetypes/trunk/jsf/jee-minimal/src/main/resources/archetype-resources/pom.xml	2009-12-08 23:11:21 UTC (rev 5237)
@@ -53,15 +53,14 @@
          <scope>provided</scope>
       </dependency>
       <!-- Bean Validation Implementation -->
-      <!-- In case one is not provided by your container, but it is required by Java EE 6! -->
-      <!--
+      <!-- Provides portable constraints such as @NotEmpty, @Email and @Url -->
+      <!-- Hibernate Validator is the JSR-303 implementation in JBoss AS -->
       <dependency>
          <groupId>org.hibernate</groupId>
          <artifactId>hibernate-validator</artifactId>
          <version>4.0.0.GA</version>
-         <scope>runtime</scope>
+         <scope>provided</scope>
       </dependency>
-      -->
       <!-- JSF -->
       <dependency>
          <groupId>javax.faces</groupId>

Modified: archetypes/trunk/jsf/servlet-minimal/src/main/resources/archetype-resources/pom.xml
===================================================================
--- archetypes/trunk/jsf/servlet-minimal/src/main/resources/archetype-resources/pom.xml	2009-12-08 23:10:49 UTC (rev 5236)
+++ archetypes/trunk/jsf/servlet-minimal/src/main/resources/archetype-resources/pom.xml	2009-12-08 23:11:21 UTC (rev 5237)
@@ -101,6 +101,7 @@
       </dependency>
 
       <!-- Bean Validation Implementation -->
+      <!-- Provides portable constraints such as @NotEmpty, @Email and @Url -->
       <dependency>
          <groupId>org.hibernate</groupId>
          <artifactId>hibernate-validator</artifactId>



More information about the weld-commits mailing list