From hibernate-commits at lists.jboss.org Sun Sep 9 06:41:55 2007 Content-Type: multipart/mixed; boundary="===============4373608393792928131==" MIME-Version: 1.0 From: hibernate-commits at lists.jboss.org To: hibernate-commits at lists.jboss.org Subject: [hibernate-commits] Hibernate SVN: r14008 - search/trunk/doc/reference/en/modules. Date: Sun, 09 Sep 2007 06:41:51 -0400 Message-ID: --===============4373608393792928131== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Author: hardy.ferentschik Date: 2007-09-09 06:41:51 -0400 (Sun, 09 Sep 2007) New Revision: 14008 Modified: search/trunk/doc/reference/en/modules/getting-started.xml Log: Added maven section to 'getting started' Modified: search/trunk/doc/reference/en/modules/getting-started.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 --- search/trunk/doc/reference/en/modules/getting-started.xml 2007-09-08 21= :24:35 UTC (rev 14007) +++ search/trunk/doc/reference/en/modules/getting-started.xml 2007-09-09 10= :41:51 UTC (rev 14008) @@ -64,6 +64,54 @@ =
+ Maven + + Instead of managing all dependencies yourself maven users have t= he + possibility to use the JBoss maven repository. + Just add the JBoss repository url to the repositories + section of your pom.xml or + settgins.xml: + + +<repository> + <id>repository.jboss.org</id> + <name>JBoss Maven Repository</name> + <url>http://repository.jboss.org/maven2</url> + <layout>default</layout> +</repository> + + + Then add the following dependencies to your pom.xml: + + +<dependency> + <groupId>org.hibernate</groupId> + <artifactId>hibernate-search</artifactId> + <version>3.0.0.CR1</version> +</dependency> +<dependency> + <groupId>org.hibernate</groupId> + <artifactId>hibernate-annotations</artifactId> + <version>3.3.0.ga</version> +</dependency> +<dependency> + <groupId>org.hibernate</groupId> + <artifactId>hibernate-entitymanager</artifactId> + <version>3.3.1.ga</version> +</dependency> + + + Not all three dependencies are required. + hibernate-search alone contains everything needed= to + use Hibernate Search. hibernate-annotations is on= ly + needed if you use non Hibernate Search annotations like we do in the + examples of this tutorial. Last but not least, + hibernate-entitymanager is only required if you u= se + Hibernate Search in conjunction with JPA. +
+ +
Configuration = Once you have downloaded and added all required dependencies to = your --===============4373608393792928131==--