Try this:
http://maven.apache.org/guides/introduction/introduction-to-the-lifecycle.html
fachhoch wrote:
I did not understand this, please explain what should I change in pom to do
this ?
here is my jetty maven plugin
<plugin>
<groupId>org.mortbay.jetty</groupId>
<artifactId>maven-jetty-plugin</artifactId>
<version>6.1.12.rc4</version>
<configuration>
<dependencies>
<dependency>
<groupId>commons-logging</groupId>
<artifactId>commons-logging</artifactId>
<version>1.0.4</version>
<type>jar</type>
</dependency>
<dependency>
<groupId>log4j</groupId>
<artifactId>log4j</artifactId>
<version>1.2.14</version>
<type>jar</type>
</dependency>
</dependencies>
</configuration>
</plugin>
here is my maven ant run plugin
<plugin>
<artifactId>maven-antrun-plugin</artifactId>
<version>1.3</version>
<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="${project.build.outputDirectory}">
<include name="**/model/**/*.class" />
</fileset>
</instrument>
</tasks>
</configuration>
</plugin>
please tell me what should I do to my pom to acheieve what you said .
Stephen Connolly-2 wrote:
attach the execution to the process-classes phase
2009/3/26 fachhoch <fachh...@gmail.com>
I am using maven-ant-run plugin to call hibernate byte code
insturmentation
, i also have maven jetty plugin , every time i run jetty plugin first
all modified java files gets complied and then test cases and finally
deployed , but this ant-run plugin for hibernate byte code
instrumentation
does not get called , please tell me how to call hibernate byte code
automatically ?
--
View this message in context:
http://www.nabble.com/hibernate-byte-code-instrumentation-tp22714675p22714675.html
Sent from the Maven - Users mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org