Skip to content

Instantly share code, notes, and snippets.

@rocketraman
Created December 20, 2011 00:58
Show Gist options
  • Save rocketraman/1499696 to your computer and use it in GitHub Desktop.
Save rocketraman/1499696 to your computer and use it in GitHub Desktop.
datanucleus enhancer maven build plugin example
<!-- Need to use 1.6 target, datanucleus enhancer does not support 1.7 (http://www.jpox.org/servlet/jira/browse/NUCMAVEN-26) -->
<!--
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<configuration>
<source>1.6</source>
<target>1.6</target>
</configuration>
</plugin>
<plugin>
<groupId>org.datanucleus</groupId>
<artifactId>maven-datanucleus-plugin</artifactId>
<version>3.0.1</version>
<configuration>
<api>JDO</api>
<log4jConfiguration>${basedir}/log4j.properties</log4jConfiguration>
<verbose>true</verbose>
<props>${basedir}/datanucleus.properties</props>
</configuration>
<executions>
<execution>
<phase>process-classes</phase>
<goals>
<goal>enhance</goal>
</goals>
</execution>
</executions>
</plugin>
-->
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment