maven-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Volodia <volodial1...@mail.ru>
Subject How to set hibernate runtime byte code instrumentation using maven
Date Mon, 24 Jun 2013 10:56:14 GMT
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: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Mime
View raw message