Clean entities relationships.
git clone git://github.com/ZupIT/orm-cleanner.git cd orm-cleanner mvn install
- Add this to your pom.xml
<plugin>
<groupId>br.com.zup</groupId>
<artifactId>orm-cleanner</artifactId>
<version>1.0.3</version>
<configuration>
<outputDirectory>${basedir}/project-exemple</outputDirectory>
<packageScan>project-1:org.organization.model.entities; project-2:org.organization.domain.entities</packageScan>
</configuration>
<executions>
<execution>
<id>default-compile</id>
<phase>compile</phase>
<goals>
<goal>compile</goal>
</goals>
</execution>
</executions>
</plugin>
- http://maven.apache.org/
- http://maven.apache.org/guides/plugin/guide-java-plugin-development.html
- http://books.sonatype.com/books/mvnref-book/reference/writing-plugins.html
| Author: | ZUP IT INNOVATION |
|---|---|
| License: | New BSD License |