mirror of
https://github.com/hibernate/hibernate-orm
synced 2025-02-08 12:14:47 +00:00
METAGEN-32 Updated documentation
This commit is contained in:
parent
e83b0ca9b2
commit
ba43b863f5
@ -363,53 +363,34 @@ cq.where( cb.equal(itemNode.get(Item_.id), 5 ) ).distinct(true);
|
|||||||
</example>
|
</example>
|
||||||
|
|
||||||
<para>Once disabled, the <ulink
|
<para>Once disabled, the <ulink
|
||||||
url="http://code.google.com/p/maven-annotation-plugin/">maven-annotation-plugin</ulink>
|
url="http://code.google.com/p/maven-annotation-plugin/">maven-processor-plugin</ulink>
|
||||||
for annotation processing (you will need the following additional
|
for annotation processing can be used. The configuration can be seen
|
||||||
maven repositories: <ulink
|
in <xref linkend="maven-processor-plugin" />.</para>
|
||||||
url="http://maven-annotation-plugin.googlecode.com/svn/trunk/mavenrepo">maven-annotation-plugin</ulink>
|
|
||||||
and <ulink
|
|
||||||
url="http://www.jfrog.org/artifactory/plugins-releases">jfrog</ulink>)
|
|
||||||
can be used. The configuration can be seen in <xref
|
|
||||||
linkend="maven-processor-plugin" />.</para>
|
|
||||||
|
|
||||||
<example id="maven-processor-plugin">
|
<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>
|
<programlisting language="XML" role="XML"><plugin>
|
||||||
<groupId>org.bsc.maven</groupId>
|
<groupId>org.bsc.maven</groupId>
|
||||||
<artifactId>maven-processor-plugin</artifactId>
|
<artifactId>maven-processor-plugin</artifactId>
|
||||||
|
<version>1.3.7</version>
|
||||||
<executions>
|
<executions>
|
||||||
<execution>
|
<execution>
|
||||||
<id>process</id>
|
<id>process</id>
|
||||||
<goals>
|
<goals>
|
||||||
<goal>process</goal>
|
<goal>process</goal>
|
||||||
</goals>
|
</goals>
|
||||||
<phase>generate-sources</phase>
|
<phase>process-sources</phase>
|
||||||
<configuration>
|
|
||||||
<!-- source output directory -->
|
|
||||||
<outputDirectory>target/metamodel</outputDirectory>
|
|
||||||
</configuration>
|
|
||||||
</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>
|
</execution>
|
||||||
</executions>
|
</executions>
|
||||||
|
<dependencies>
|
||||||
|
<dependency>
|
||||||
|
<groupId>org.hibernate</groupId>
|
||||||
|
<artifactId>hibernate-jpamodelgen</artifactId>
|
||||||
|
<version>&version;</version>
|
||||||
|
<scope>compile</scope>
|
||||||
|
</dependency>
|
||||||
|
</dependencies>
|
||||||
</plugin></programlisting>
|
</plugin></programlisting>
|
||||||
</example>
|
</example>
|
||||||
</section>
|
</section>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user