Author: hardy.ferentschik
Date: 2010-10-04 05:14:07 -0400 (Mon, 04 Oct 2010)
New Revision: 20765
Modified:
jpamodelgen/trunk/src/main/docbook/en-US/master.xml
Log:
METAGEN-32 Updated documentation
Modified: jpamodelgen/trunk/src/main/docbook/en-US/master.xml
===================================================================
--- jpamodelgen/trunk/src/main/docbook/en-US/master.xml 2010-10-01 15:38:46 UTC (rev
20764)
+++ jpamodelgen/trunk/src/main/docbook/en-US/master.xml 2010-10-04 09:14:07 UTC (rev
20765)
@@ -363,53 +363,34 @@
</example>
<para>Once disabled, the <ulink
-
url="http://code.google.com/p/maven-annotation-plugin/">mave...
- for annotation processing (you will need the following additional
- maven repositories: <ulink
-
url="http://maven-annotation-plugin.googlecode.com/svn/trunk/mavenre...
- and <ulink
-
url="http://www.jfrog.org/artifactory/plugins-releases">jfro...>)
- can be used. The configuration can be seen in <xref
- linkend="maven-processor-plugin" />.</para>
+
url="http://code.google.com/p/maven-annotation-plugin/">mave...
+ for annotation processing can be used. The configuration can be seen
+ in <xref linkend="maven-processor-plugin" />.</para>
<example id="maven-processor-plugin">
- <title>Configuration with maven-annotation-plugin</title>
+ <title>Configuration with maven-processor-plugin</title>
<programlisting language="XML"
role="XML"><plugin>
<groupId>org.bsc.maven</groupId>
<artifactId>maven-processor-plugin</artifactId>
+ <version>1.3.7</version>
<executions>
<execution>
<id>process</id>
<goals>
<goal>process</goal>
</goals>
- <phase>generate-sources</phase>
- <configuration>
- <!-- source output directory -->
-
<outputDirectory>target/metamodel</outputDirectory>
- </configuration>
+ <phase>process-sources</phase>
</execution>
</executions>
-</plugin>
-<plugin>
- <groupId>org.codehaus.mojo</groupId>
- <artifactId>build-helper-maven-plugin</artifactId>
- <version>1.3</version>
- <executions>
- <execution>
- <id>add-source</id>
- <phase>generate-sources</phase>
- <goals>
- <goal>add-source</goal>
- </goals>
- <configuration>
- <sources>
- <source>target/metamodel</source>
- </sources>
- </configuration>
- </execution>
- </executions>
+ <dependencies>
+ <dependency>
+ <groupId>org.hibernate</groupId>
+ <artifactId>hibernate-jpamodelgen</artifactId>
+ <version>&version;</version>
+ <scope>compile</scope>
+ </dependency>
+ </dependencies>
</plugin></programlisting>
</example>
</section>