From hibernate-commits at lists.jboss.org Tue Jun 1 08:46:17 2010 Content-Type: multipart/mixed; boundary="===============0264245382762230318==" MIME-Version: 1.0 From: hibernate-commits at lists.jboss.org To: hibernate-commits at lists.jboss.org Subject: [hibernate-commits] Hibernate SVN: r19641 - in validator/trunk: hibernate-validator-archetype and 1 other directories. Date: Tue, 01 Jun 2010 08:46:17 -0400 Message-ID: <201006011246.o51CkHgP012650@svn01.web.mwc.hst.phx2.redhat.com> --===============0264245382762230318== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable 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/getti= ngstarted.xml Log: Updated docs and archetype Modified: validator/trunk/hibernate-validator/src/main/docbook/en-US/module= s/gettingstarted.xml =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- validator/trunk/hibernate-validator/src/main/docbook/en-US/modules/gett= ingstarted.xml 2010-06-01 12:16:12 UTC (rev 19640) +++ validator/trunk/hibernate-validator/src/main/docbook/en-US/modules/gett= ingstarted.xml 2010-06-01 12:46:16 UTC (rev 19641) @@ -100,21 +100,15 @@ Using Maven's archetype plugin to create a sample project u= sing Hibernate Validator = - mvn archetype:generate \ - -DarchetypeCatalog=3Dhttp://repository.jboss.com/maven2/archetype-catalo= g.xml \ - -DgroupId=3Dcom.mycompany \ - -DartifactId=3Dbeanvalidation-gettingstarted \ - -Dversion=3D1.0-SNAPSHOT \ - -Dpackage=3Dcom.mycompany + mvn archetype:create -DarchetypeGroupId=3Dorg.hibe= rnate \ + -DarchetypeArtifactId=3Dhibernate-validator-quickstar= t-archetype \ + -DarchetypeVersion=3D&version; \ + -DgroupId=3Dcom.mycompany = + -DartifactId=3Dhv-quickstart = - When presented with the list of available archetypes in the JBoss - Maven Repository select the - hibernate-validator-quickstart-archetype. After M= aven - has downloaded all dependencies confirm the settings by just pressing - enter. Maven will create your project in the directory - beanvalidation-gettingstarted. Change into this - directory and run: + Maven will create your project in the directory hv-quickstart. + Change into this directory and run: = mvn testMaven 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 =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- 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 @@ jboss - http://repository.jboss.com/maven2 + https://repository.jboss.org/nexus/content/repositories/p= ublic --===============0264245382762230318==--