https://bugzilla.redhat.com/show_bug.cgi?id=1031694
--- Comment #1 from gil cattaneo <puntogil(a)libero.it> ---
hi
try with
<dependency>
<!--
Only really needed for the antrun plugin defined below (which
in turn is only really needed
to work around a missing feature on the compile plugin; lovely
no?). However I have not
found a way to declare this dependency local to the antrun
plugin and then reference it
from the <javac />'s <classpath /> :(
-->
<groupId>org.hibernate</groupId>
<artifactId>hibernate-jpamodelgen</artifactId>
<version>1.0.0.Final</version>
<scope>test</scope>
<exclusions>
<exclusion>
<groupId>org.hibernate.javax.persistence</groupId>
<artifactId>hibernate-jpa-2.0-api</artifactId>
</exclusion>
</exclusions>
</dependency>
</dependencies>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-antrun-plugin</artifactId>
<configuration>
<tasks>
<property name="target.dir"
value="${project.build.directory}/generated-src/jpamodelgen"/>
<property name="src.dir"
value="${project.build.testSourceDirectory}"/>
<property name="jdk16_home"
value="${jdk16_home}"/>
<property name="classpath"
refid="maven.test.classpath"/>
<ant antfile="${basedir}/build.xml">
<target name="generate-metamodel"/>
</ant>
</tasks>
</configuration>
<!--executions>
<execution>
<id>process_annotations</id>
<phase>process-test-sources</phase>
<configuration>
<testSourceRoot>${project.build.directory}/generated-src/jpamodelgen</testSourceRoot>
</configuration>
<goals>
<goal>run</goal>
</goals>
</execution-->
</executions>
</plugin>
--
You are receiving this mail because:
You are on the CC list for the bug.
Unsubscribe from this bug
https://bugzilla.redhat.com/token.cgi?t=uTrlq6KXS2&a=cc_unsubscribe