Created
July 19, 2015 15:27
-
-
Save kpgalligan/46cff64649348f304cd0 to your computer and use it in GitHub Desktop.
Maven annotation processing config
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<plugin> | |
<groupId>org.apache.maven.plugins</groupId> | |
<artifactId>maven-compiler-plugin</artifactId> | |
<version>2.5.1</version> | |
<configuration> | |
<source>1.7</source> | |
<target>1.7</target> | |
</configuration> | |
<executions> | |
<execution> | |
<id>compile-everything-else</id> | |
<phase>compile</phase> | |
<goals> | |
<goal>compile</goal> | |
</goals> | |
</execution> | |
<execution> | |
<!-- Generates Test-Helper-Class into ${project.build.directory}/generated-test-sources/test-annotations WITHOUT compiling it --> | |
<id>compile-TestHelperClass</id> | |
<goals> | |
<goal>compile</goal> | |
</goals> | |
<configuration> | |
<annotationProcessors> | |
<annotationProcessor> | |
com.koenv.ormlite.processor.AnnotationProcessor | |
</annotationProcessor> | |
</annotationProcessors> | |
</configuration> | |
</execution> | |
</executions> | |
</plugin> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment