Skip to content

Instantly share code, notes, and snippets.

@vvakame
Forked from shin1ogawa/compiler-plugin.xml
Created February 5, 2011 04:32
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save vvakame/812205 to your computer and use it in GitHub Desktop.
Save vvakame/812205 to your computer and use it in GitHub Desktop.
<plugin>
<artifactId>maven-compiler-plugin</artifactId>
<configuration>
<includes>
<include>all-your-source-are-belong-to-us</include>
</includes>
</configuration>
<executions>
<execution>
<id>with-apt</id>
<phase>compile</phase>
<goals>
<goal>compile</goal>
</goals>
<configuration>
<generatedSourcesDirectory>${generated.src}</generatedSourcesDirectory>
<proc>only</proc>
<compilerArgument>-AJsonPullParserClassPostfix=${genclass.postfix}</compilerArgument>
<includes>
<include>**</include>
</includes>
</configuration>
</execution>
<execution>
<id>no-apt</id>
<phase>compile</phase>
<goals>
<goal>compile</goal>
</goals>
<configuration>
<proc>none</proc>
<includes>
<include>**</include>
</includes>
</configuration>
</execution>
</executions>
</plugin>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment