[weld-commits] Weld SVN: r6488 - archetypes/trunk/jsf/jee/src/main/resources/archetype-resources.

weld-commits at lists.jboss.org weld-commits at lists.jboss.org
Fri Jun 18 14:09:17 EDT 2010


Author: sboscarine
Date: 2010-06-18 14:09:16 -0400 (Fri, 18 Jun 2010)
New Revision: 6488

Modified:
   archetypes/trunk/jsf/jee/src/main/resources/archetype-resources/pom.xml
Log:
updated spec POM

Modified: archetypes/trunk/jsf/jee/src/main/resources/archetype-resources/pom.xml
===================================================================
--- archetypes/trunk/jsf/jee/src/main/resources/archetype-resources/pom.xml	2010-06-18 16:10:41 UTC (rev 6487)
+++ archetypes/trunk/jsf/jee/src/main/resources/archetype-resources/pom.xml	2010-06-18 18:09:16 UTC (rev 6488)
@@ -1,10 +1,10 @@
+
 ## Custom Velocity declaration to allow us to escape Maven variable placeholders
 ## Prevents archetype warnings about unrecognized variables
-#set( $expr_start = '${' )
+#set($expr_start = '${' )
 #set( $expr_end = '}' )
 <?xml version="1.0" encoding="UTF-8"?>
-<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/maven-v4_0_0.xsd">
+<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/maven-v4_0_0.xsd">
    <modelVersion>4.0.0</modelVersion>
    <groupId>${groupId}</groupId>
    <artifactId>${artifactId}</artifactId>
@@ -13,32 +13,26 @@
    <version>${version}</version>
 
    <properties>
-      <!--
-         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!
-      -->
+      <!-- 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>
-      <!--
-         Timestamp format for the maven.build.timestamp property; you can reference property in pom.xml or filtered
-         resources (must enable third-party plugin if using Maven < 2.1)
-      -->
+      <!--Timestamp format for the maven.build.timestamp property; -->
+      <!--you can reference property in pom.xml or filtered resources (must enable third-party plugin if using Maven < 2.1)-->
       <maven.build.timestamp.format>yyyyMMdd'T'HHmmss</maven.build.timestamp.format>
-      <!--
-         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
-      -->
+      <!-- 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 -->
       <jboss.home>${expr_start}env.JBOSS_HOME${expr_end}</jboss.home>
       <jboss.domain>default</jboss.domain>
    </properties>
 
    <repositories>
-      <!-- Optional Repository.  -->
-      <!-- Soon all required dependencies will be pushed to maven central.  -->
-      <!-- In the mean time, we need to point this archetype to the JBoss Maven Repository  -->
+      <!-- Optional Repository. -->
+      <!-- Soon all required dependencies will be pushed to maven central. -->
+      <!-- In the mean time, we need to point this archetype to the JBoss Maven Repository -->
       <repository>
          <id>jboss-public-repository</id>
          <name>JBoss Repository</name>
          <url>https://repository.jboss.org/nexus/content/groups/public</url>
+         <!-- These optional flags are designed to speed up your builds by reducing remote server calls. -->
          <releases>
             <enabled>true</enabled>
             <updatePolicy>never</updatePolicy>
@@ -58,15 +52,18 @@
       </pluginRepository>
    </pluginRepositories>
    <dependencies>
+      <!-- Java EE Specification POM -->
+      <!-- This one dependency imports all APIs available for a Java EE 6.0 application. -->
       <dependency>
          <groupId>org.jboss.spec</groupId>
          <artifactId>jboss-javaee-6.0</artifactId>
-         <version>1.0.0-SNAPSHOT</version>
+         <version>1.0.0.Beta5</version>
          <scope>provided</scope>
          <type>pom</type>
       </dependency>
+
       <!-- Bean Validation Implementation -->
-      <!-- Provides portable constraints such as @NotEmpty, @Email and @Url -->
+      <!-- This is an optional jar that provides portable constraints such as @NotEmpty, @Email and @Url -->
       <!-- Hibernate Validator is the only JSR-303 implementation at the moment, so we can assume it's provided -->
       <dependency>
          <groupId>org.hibernate</groupId>
@@ -74,7 +71,6 @@
          <version>4.0.0.GA</version>
          <scope>provided</scope>
       </dependency>
-
       <!-- Optional, but highly recommended. -->
       <dependency>
          <groupId>org.testng</groupId>
@@ -97,7 +93,7 @@
             </configuration>
          </plugin>
 
-         <!-- Eclipse plugin can force download of source and JavaDoc jars -->
+         <!-- Optional eclipse plugin can force download of source and JavaDoc jars -->
          <plugin>
             <groupId>org.apache.maven.plugins</groupId>
             <artifactId>maven-eclipse-plugin</artifactId>
@@ -107,7 +103,8 @@
             </configuration>
          </plugin>
 
-         <!-- Configure the JBoss AS Maven deploy plugin -->
+         <!-- Optional JBoss deployer plugin will deploy your war to a local JBoss AS container if you've declared $JBOSS_HOME in your OS. -->
+         <!-- To use, declare $JBOSS_HOME and run 'mvn package jboss:hard-deploy' -->
          <plugin>
             <groupId>org.codehaus.mojo</groupId>
             <artifactId>jboss-maven-plugin</artifactId>



More information about the weld-commits mailing list