Skip to content

Instantly share code, notes, and snippets.

@rparree
Created March 19, 2015 13:25
Show Gist options
  • Select an option

  • Save rparree/662e74cdc3f740b51ec7 to your computer and use it in GitHub Desktop.

Select an option

Save rparree/662e74cdc3f740b51ec7 to your computer and use it in GitHub Desktop.
jpa model gen
<plugin>
<groupId>org.bsc.maven</groupId>
<artifactId>maven-processor-plugin</artifactId>
<version>2.2.4</version>
<executions>
<execution>
<id>process</id>
<goals>
<goal>process</goal>
</goals>
<phase>generate-sources</phase>
<configuration>
<processors>
<processor>org.hibernate.jpamodelgen.JPAMetaModelEntityProcessor</processor>
</processors>
</configuration>
</execution>
</executions>
<dependencies>
<dependency>
<groupId>org.hibernate</groupId>
<artifactId>hibernate-jpamodelgen</artifactId>
<version>1.1.1.Final</version>
</dependency>
</dependencies>
</plugin>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment