[hibernate-commits] Hibernate SVN: r14008 -	search/trunk/doc/reference/en/modules.
    hibernate-commits at lists.jboss.org 
    hibernate-commits at lists.jboss.org
       
    Sun Sep  9 06:41:51 EDT 2007
    
    
  
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
===================================================================
--- 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 @@
   </section>
 
   <section>
+    <title>Maven</title>
+
+    <para>Instead of managing all dependencies yourself maven users have the
+    possibility to use the <ulink
+    url="http://repository.jboss.com/maven2">JBoss maven repository</ulink>.
+    Just add the JBoss repository url to the <emphasis>repositories</emphasis>
+    section of your <filename>pom.xml</filename> or
+    <filename>settgins.xml</filename>:</para>
+
+    <programlisting>
+<repository>
+  <id>repository.jboss.org</id>
+  <name>JBoss Maven Repository</name>
+  <url>http://repository.jboss.org/maven2</url>
+  <layout>default</layout>
+</repository>
+      </programlisting>
+
+    <para>Then add the following dependencies to your pom.xml:</para>
+
+    <programlisting>
+<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>
+      </programlisting>
+
+    <para>Not all three dependencies are required.
+    <emphasis>hibernate-search</emphasis> alone contains everything needed to
+    use Hibernate Search. <emphasis>hibernate-annotations</emphasis> is only
+    needed if you use non Hibernate Search annotations like we do in the
+    examples of this tutorial. Last but not least,
+    <emphasis>hibernate-entitymanager</emphasis> is only required if you use
+    Hibernate Search in conjunction with JPA.</para>
+  </section>
+
+  <section>
     <title>Configuration</title>
 
     <para>Once you have downloaded and added all required dependencies to your
    
    
More information about the hibernate-commits
mailing list