|
Re: maven static weaving plugin [message #514258 is a reply to message #512989] |
Sat, 13 February 2010 01:08  |
Eclipse User |
|
|
|
No actual plugin, but one that uses Ant (or the Java call, commented out):
> <plugin>
> <artifactId>maven-antrun-plugin</artifactId>
> <executions>
> <execution>
> <id>JPA Enhancement</id>
> <phase>process-classes</phase>
> <configuration>
> <tasks>
> <taskdef
> name="weave"
> classname=" org.eclipse.persistence.tools.weaving.jpa.StaticWeaveAntTask "
> classpathref="maven.test.classpath"/>
> <weave
> loglevel="FINEST"
> source="${basedir}/target/classes"
> target="${basedir}/target/classes"
> persistenceinfo="${basedir}/src/main/resources">
> <classpath refid="maven.test.classpath"/>
> </weave>
>
> <!--
> <java classname="org.eclipse.persistence.tools.weaving.jpa.StaticWeave "
> classpathref="maven.test.classpath"
> fork="true">
> <arg
> line="-loglevel FINEST -persistenceinfo src/main/resources target/classes target/classes"/>
> </java>
> -->
> </tasks>
> </configuration>
> <goals>
> <goal>run</goal>
> </goals>
> </execution>
> </executions>
> </plugin>
Cheers!
Ari
tbee wrote:
> Is there already a maven plugin for static weaving? I couldn't find one.
>
> Tom
|
|
|
Powered by
FUDForum. Page generated in 0.03848 seconds