Hello!
I am trying to implement byte code instrumentation for hibernate lazy
loading single association. I use maven 3. Here is my not working maven
plugin :
<plugin>
<artifactId>maven-antrun-plugin</artifactId>
<executions>
<execution>
<phase>process-classes</phase>
<goals>
<goal>run</goal>
</goals>
</execution>
</executions>
<configuration>
<tasks>
<taskdef name="instrument"
classname="org.hibernate.tool.instrument.javassist.InstrumentTask">
<classpath>
<path
refid="maven.runtime.classpath"/>
<path
refid="maven.plugin.classpath"/>
</classpath>
</taskdef>
<instrument verbose="true">
<fileset
dir="target/classes">
<include
name="com/javahelp/domain/impl/*.class"/>
</fileset>
</instrument>
</tasks>
</configuration>
</plugin>
Is this plugin correct? Should it work?
Thank you!
--
View this message in context:
http://maven.40175.n5.nabble.com/How-to-set-hibernate-runtime-byte-code-instrumentation-using-maven-tp5760275.html
Sent from the Maven - Users mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]