Skip to content

Instantly share code, notes, and snippets.

@eeichinger
Created May 14, 2012 22:56
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 eeichinger/2697958 to your computer and use it in GitHub Desktop.
Save eeichinger/2697958 to your computer and use it in GitHub Desktop.
configure maven-compiler-plugin with different compilers
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>2.4</version>
<configuration>
<!--<compilerId>javac</compilerId>-->
<source>1.6</source>
<target>1.6</target>
<compilerArgument>-proc:none</compilerArgument>
</configuration>
<!--
<dependencies>
<dependency>
<groupId>org.eclipse.tycho</groupId>
<artifactId>tycho-compiler-jdt</artifactId>
<version>0.14.1</version>
</dependency>
&lt;!&ndash;
<dependency>
<groupId>org.codehaus.plexus</groupId>
<artifactId>plexus-compiler-javac</artifactId>
<version>1.9</version>
</dependency>
<dependency>
<groupId>org.codehaus.plexus</groupId>
<artifactId>plexus-compiler-api</artifactId>
<version>1.9</version>
</dependency>
<dependency>
<groupId>org.codehaus.plexus</groupId>
<artifactId>plexus-compiler-manager</artifactId>
<version>1.9</version>
</dependency>
&ndash;&gt;
&lt;!&ndash;
<dependency>
<groupId>org.codehaus.plexus</groupId>
<artifactId>plexus-compiler-jikes</artifactId>
<version>1.9</version>
</dependency>
<dependency>
<groupId>org.codehaus.plexus</groupId>
<artifactId>plexus-compiler-eclipse</artifactId>
<version>1.9</version>
</dependency>
&ndash;&gt;
</dependencies>
-->
</plugin>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment