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

weld-commits at lists.jboss.org weld-commits at lists.jboss.org
Tue Dec 8 17:19:27 EST 2009


Author: dan.j.allen
Date: 2009-12-08 17:19:27 -0500 (Tue, 08 Dec 2009)
New Revision: 5234

Modified:
   archetypes/trunk/jsf/jee-minimal/pom.xml
   archetypes/trunk/jsf/jee-minimal/src/main/resources/archetype-resources/pom.xml
   archetypes/trunk/jsf/jee/pom.xml
   archetypes/trunk/jsf/jee/src/main/resources/archetype-resources/pom.xml
   archetypes/trunk/jsf/servlet-minimal/pom.xml
   archetypes/trunk/jsf/servlet-minimal/src/main/resources/archetype-resources/pom.xml
Log:
Cleanup comments and descriptions
Bean validation is provided by Java EE 6, exclude impl


Modified: archetypes/trunk/jsf/jee/pom.xml
===================================================================
--- archetypes/trunk/jsf/jee/pom.xml	2009-12-08 21:42:30 UTC (rev 5233)
+++ archetypes/trunk/jsf/jee/pom.xml	2009-12-08 22:19:27 UTC (rev 5234)
@@ -10,8 +10,8 @@
 
    <groupId>org.jboss.weld.archetypes</groupId>
    <artifactId>weld-jsf-jee</artifactId>
-   <description>JSF 2.0 and Weld 1.0 on Jave EE 6 containers like JBoss 6.0</description>
-   <name>Weld JEE6 Archetype</name>
+   <description>A full Java EE 6 project => JSF 2.0, CDI 1.0, EJB 3.1, JPA 2.0; uses Weld for build dependency management</description>
+   <name>Java EE 6 Archetype</name>
 
    <packaging>maven-archetype</packaging>
 

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 21:42:30 UTC (rev 5233)
+++ archetypes/trunk/jsf/jee/src/main/resources/archetype-resources/pom.xml	2009-12-08 22:19:27 UTC (rev 5234)
@@ -10,8 +10,8 @@
 
    <properties>
       <!--
-         eliminates [WARNING] Using platform encoding (UTF-8 actually) to copy filtered resources, i.e. build is
-         platform dependent!
+         Explicitly declaring the source encoding eliminates the following message:
+         [WARNING] Using platform encoding (UTF-8 actually) to copy filtered resources, i.e. build is platform dependent!
       -->
       <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
       <!--
@@ -36,42 +36,41 @@
       </dependencies>
    </dependencyManagement>
    <dependencies>
-      <!-- Common to JEE and Servlet containers -->
+      <!-- CDI (JSR-299) -->
       <dependency>
          <groupId>javax.enterprise</groupId>
          <artifactId>cdi-api</artifactId>
          <scope>provided</scope>
       </dependency>
+      <!-- Common annotations (e.g., @PostConstruct) -->
       <dependency>
          <groupId>javax.annotation</groupId>
          <artifactId>jsr250-api</artifactId>
          <scope>provided</scope>
       </dependency>
+      <!-- Bean Validation (JSR-303) -->
       <dependency>
          <groupId>javax.validation</groupId>
          <artifactId>validation-api</artifactId>
          <scope>provided</scope>
       </dependency>
-      <!-- Provided on JBoss AS, not necessarily Java EE 6. Useful to give you extra built in constraints! -->
+      <!-- Bean Validation Implementation -->
+      <!-- In case one is not provided by your container, but it is required by Java EE 6! -->
+      <!--
       <dependency>
          <groupId>org.hibernate</groupId>
          <artifactId>hibernate-validator</artifactId>
          <version>4.0.0.GA</version>
-         <!--         <scope>runtime</scope>-->
+         <scope>runtime</scope>
       </dependency>
-      <!-- JSF 2.0 -->
+      -->
+      <!-- JSF -->
       <dependency>
          <groupId>javax.faces</groupId>
          <artifactId>jsf-api</artifactId>
          <scope>provided</scope>
       </dependency>
 
-      <!-- Optional, but pretty useful. -->
-      <!--<dependency>-->
-      <!--   <groupId>javax.servlet</groupId>-->
-      <!--   <artifactId>jstl</artifactId>-->
-      <!--</dependency>-->
-
       <!-- Optional, but highly recommended. -->
       <dependency>
          <groupId>org.testng</groupId>
@@ -96,8 +95,6 @@
          </exclusions>
       </dependency>
 
-
-
       <!--
          Experimental Dependencies. Still working through these. If these are incorrect, please change and notify
          someone at weld-dev at lists.jboss.org They will be finalized soon.
@@ -164,12 +161,14 @@
             <artifactId>maven-eclipse-plugin</artifactId>
             <configuration>
                <wtpversion>2.0</wtpversion>
-               <!--   <downloadSources>true</downloadSources>-->
-               <!--   <downloadJavadocs>true</downloadJavadocs>-->
+               <!--
+               <downloadSources>true</downloadSources>
+               <downloadJavadocs>true</downloadJavadocs>
+               -->
             </configuration>
          </plugin>
 
-         <!-- Configure the JBoss Maven deploy plugin -->
+         <!-- Configure the JBoss AS Maven deploy plugin -->
          <plugin>
             <groupId>org.codehaus.mojo</groupId>
             <artifactId>jboss-maven-plugin</artifactId>

Modified: archetypes/trunk/jsf/jee-minimal/pom.xml
===================================================================
--- archetypes/trunk/jsf/jee-minimal/pom.xml	2009-12-08 21:42:30 UTC (rev 5233)
+++ archetypes/trunk/jsf/jee-minimal/pom.xml	2009-12-08 22:19:27 UTC (rev 5234)
@@ -10,8 +10,8 @@
 
    <groupId>org.jboss.weld.archetypes</groupId>
    <artifactId>weld-jsf-jee-minimal</artifactId>
-   <description>JSF 2.0 and Weld 1.0 on Jave EE 6 containers like JBoss 6.0.  Does not include persistence.  </description>
-   <name>Weld JEE6 Minimal Archteype</name>
+   <description>A minimal Java EE 6 project => JSF 2.0 and CDI 1.0, no persistence; uses Weld for build dependency management</description>
+   <name>Minimal Java EE 6 Archteype</name>
 
    <packaging>maven-archetype</packaging>
 

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 21:42:30 UTC (rev 5233)
+++ archetypes/trunk/jsf/jee-minimal/src/main/resources/archetype-resources/pom.xml	2009-12-08 22:19:27 UTC (rev 5234)
@@ -10,8 +10,8 @@
    
    <properties>
       <!--
-         eliminates [WARNING] Using platform encoding (UTF-8 actually) to copy filtered resources, i.e. build is
-         platform dependent!
+         Explicitly declaring the source encoding eliminates the following message:
+         [WARNING] Using platform encoding (UTF-8 actually) to copy filtered resources, i.e. build is platform dependent!
       -->
       <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
       <!-- To set the jboss.home environment variable the Maven way, set the jboss.home property in an active profile in the Maven 2 settings.xml file -->
@@ -34,46 +34,41 @@
       </dependencies>
    </dependencyManagement>
    <dependencies>
-      <!-- Common to JEE and Servlet containers -->
+      <!-- CDI (JSR-299) -->
       <dependency>
          <groupId>javax.enterprise</groupId>
          <artifactId>cdi-api</artifactId>
          <scope>provided</scope>
       </dependency>
+      <!-- Common annotations (e.g., @PostConstruct) -->
       <dependency>
          <groupId>javax.annotation</groupId>
          <artifactId>jsr250-api</artifactId>
          <scope>provided</scope>
       </dependency>
-            <!-- Bean Validation API (JSR 303) -->
+      <!-- Bean Validation (JSR-303) -->
       <dependency>
          <groupId>javax.validation</groupId>
          <artifactId>validation-api</artifactId>
          <scope>provided</scope>
       </dependency>
-            <!-- Bean Validation Implementation -->
-      <!-- Provided on JBoss AS, not necessarily Java EE 6. Useful to give you extra built in constraints! -->
+      <!-- Bean Validation Implementation -->
+      <!-- In case one is not provided by your container, but it is required by Java EE 6! -->
+      <!--
       <dependency>
          <groupId>org.hibernate</groupId>
          <artifactId>hibernate-validator</artifactId>
          <version>4.0.0.GA</version>
-<!--         <scope>runtime</scope>-->
+         <scope>runtime</scope>
       </dependency>
-      <!-- JSF 2.0 -->
+      -->
+      <!-- JSF -->
       <dependency>
          <groupId>javax.faces</groupId>
          <artifactId>jsf-api</artifactId>
          <scope>provided</scope>
       </dependency>
 
-      <!-- Optional, but pretty useful. -->
-      <!--
-      <dependency>
-         <groupId>javax.servlet</groupId>
-         <artifactId>jstl</artifactId>
-      </dependency>
-      -->
-
       <!-- Optional, but highly recommended. -->
       <dependency>
          <groupId>org.testng</groupId>
@@ -118,12 +113,14 @@
             <artifactId>maven-eclipse-plugin</artifactId>
             <configuration>
                <wtpversion>2.0</wtpversion>
-<!--               <downloadSources>true</downloadSources>-->
-<!--               <downloadJavadocs>true</downloadJavadocs>-->
+               <!--
+               <downloadSources>true</downloadSources>
+               <downloadJavadocs>true</downloadJavadocs>
+               -->
             </configuration>
          </plugin>
          
-         <!-- Configure the JBoss Maven deploy plugin -->
+         <!-- Configure the JBoss AS Maven deploy plugin -->
          <plugin>
             <groupId>org.codehaus.mojo</groupId>
             <artifactId>jboss-maven-plugin</artifactId>
@@ -134,4 +131,4 @@
          </plugin>
       </plugins>
    </build>
-</project>
\ No newline at end of file
+</project>

Modified: archetypes/trunk/jsf/servlet-minimal/pom.xml
===================================================================
--- archetypes/trunk/jsf/servlet-minimal/pom.xml	2009-12-08 21:42:30 UTC (rev 5233)
+++ archetypes/trunk/jsf/servlet-minimal/pom.xml	2009-12-08 22:19:27 UTC (rev 5234)
@@ -11,8 +11,8 @@
    
    <groupId>org.jboss.weld.archetypes</groupId>
    <artifactId>weld-jsf-servlet-minimal</artifactId>
-   <name>Servlet/JSF Archetype for Weld</name>
-   <description>JSF 2.0 and Weld 1.0 on Servlet Containers such as Tomcat 6 and Jetty 6</description>
+   <name>Weld JSF/Servlet Archetype</name>
+   <description>A JSF 2.0 and CDI 1.0 project for Servlet Containers such as Tomcat 6 and Jetty 6</description>
    
    <packaging>maven-archetype</packaging>
    

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 21:42:30 UTC (rev 5233)
+++ archetypes/trunk/jsf/servlet-minimal/src/main/resources/archetype-resources/pom.xml	2009-12-08 22:19:27 UTC (rev 5234)
@@ -10,8 +10,8 @@
 
    <properties>
       <!--
-         eliminates [WARNING] Using platform encoding (UTF-8 actually) to copy filtered resources, i.e. build is
-         platform dependent!
+         Explicitly declaring the source encoding eliminates the following message:
+         [WARNING] Using platform encoding (UTF-8 actually) to copy filtered resources, i.e. build is platform dependent!
       -->
       <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
       <!-- The version of Weld extensions in use -->
@@ -171,4 +171,4 @@
          </plugin>
       </plugins>
    </build>
-</project>
\ No newline at end of file
+</project>



More information about the weld-commits mailing list