[hibernate-commits] Hibernate SVN: r19641 - in validator/trunk: hibernate-validator-archetype and 1 other directories.

hibernate-commits at lists.jboss.org hibernate-commits at lists.jboss.org
Tue Jun 1 08:46:17 EDT 2010


Author: hardy.ferentschik
Date: 2010-06-01 08:46:16 -0400 (Tue, 01 Jun 2010)
New Revision: 19641

Removed:
   validator/trunk/hibernate-validator-archetype/src/main/archetype/
Modified:
   validator/trunk/hibernate-validator-archetype/pom.xml
   validator/trunk/hibernate-validator/src/main/docbook/en-US/modules/gettingstarted.xml
Log:
Updated docs and archetype

Modified: validator/trunk/hibernate-validator/src/main/docbook/en-US/modules/gettingstarted.xml
===================================================================
--- validator/trunk/hibernate-validator/src/main/docbook/en-US/modules/gettingstarted.xml	2010-06-01 12:16:12 UTC (rev 19640)
+++ validator/trunk/hibernate-validator/src/main/docbook/en-US/modules/gettingstarted.xml	2010-06-01 12:46:16 UTC (rev 19641)
@@ -100,21 +100,15 @@
         <title>Using Maven's archetype plugin to create a sample project using
         Hibernate Validator</title>
 
-        <programlisting>mvn archetype:generate \
-  -DarchetypeCatalog=http://repository.jboss.com/maven2/archetype-catalog.xml \
-  -DgroupId=com.mycompany \
-  -DartifactId=beanvalidation-gettingstarted \
-  -Dversion=1.0-SNAPSHOT \
-  -Dpackage=com.mycompany</programlisting>
+        <programlisting>mvn archetype:create -DarchetypeGroupId=org.hibernate \
+                     -DarchetypeArtifactId=hibernate-validator-quickstart-archetype \
+                     -DarchetypeVersion=&version; \
+                     -DgroupId=com.mycompany 
+                     -DartifactId=hv-quickstart</programlisting>
       </example></para>
 
-    <para>When presented with the list of available archetypes in the JBoss
-    Maven Repository select the
-    <emphasis>hibernate-validator-quickstart-archetype. </emphasis>After Maven
-    has downloaded all dependencies confirm the settings by just pressing
-    enter. Maven will create your project in the directory
-    <filename>beanvalidation-gettingstarted</filename>. Change into this
-    directory and run:</para>
+    <para>Maven will create your project in the directory hv-quickstart.
+    Change into this directory and run:</para>
 
     <para><programlisting>mvn test</programlisting>Maven will compile the
     example code and run the implemented unit tests. Let's have a look at the

Modified: validator/trunk/hibernate-validator-archetype/pom.xml
===================================================================
--- validator/trunk/hibernate-validator-archetype/pom.xml	2010-06-01 12:16:12 UTC (rev 19640)
+++ validator/trunk/hibernate-validator-archetype/pom.xml	2010-06-01 12:46:16 UTC (rev 19641)
@@ -68,7 +68,7 @@
     <repositories>
         <repository>
             <id>jboss</id>
-            <url>http://repository.jboss.com/maven2</url>
+            <url>https://repository.jboss.org/nexus/content/repositories/public</url>
         </repository>
     </repositories>
 </project>



More information about the hibernate-commits mailing list