-
-
Save wsorenson/e61e3ad60a0755ae8525b588d3a59551 to your computer and use it in GitHub Desktop.
maven-compiler-plugin
This file contains 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> | |
<artifactId>maven-compiler-plugin</artifactId> | |
<version>3.8.0</version> | |
<dependencies> | |
<dependency> | |
<groupId>com.hubspot</groupId> | |
<artifactId>hubspot-javac-compiler</artifactId> | |
<version>1.0-SNAPSHOT</version> | |
<scope>compile</scope> | |
</dependency> | |
</dependencies> | |
<configuration> | |
<compilerId>hubspot-javac</compilerId> | |
<fork>true</fork> | |
<maxmem>1024m</maxmem> | |
<compilerArgs combine.children="append"> | |
<arg>-parameters</arg> | |
<arg>-XDcompilePolicy=simple</arg> | |
<arg>${error-prone.arg.line}</arg> | |
</compilerArgs> | |
<release>8</release> | |
<failOnWarning>false</failOnWarning> | |
<source>1.8</source> | |
<target>1.8</target> | |
<encoding>UTF-8</encoding> | |
<showWarnings>true</showWarnings> | |
</configuration> | |
</plugin> | |
<plugin> | |
<artifactId>maven-compiler-plugin</artifactId> | |
<version>3.8.0</version> | |
<executions> | |
<execution> | |
<id>default-compile</id> | |
<phase>compile</phase> | |
<goals> | |
<goal>compile</goal> | |
</goals> | |
<configuration> | |
<compilerId>hubspot-javac</compilerId> | |
<fork>true</fork> | |
<maxmem>1024m</maxmem> | |
<compilerArgs combine.children="append"> | |
<arg>-parameters</arg> | |
<arg>-XDcompilePolicy=simple</arg> | |
<arg>${error-prone.arg.line}</arg> | |
</compilerArgs> | |
<release>8</release> | |
<failOnWarning>false</failOnWarning> | |
<source>1.8</source> | |
<target>1.8</target> | |
<encoding>UTF-8</encoding> | |
<showWarnings>true</showWarnings> | |
</configuration> | |
</execution> | |
<execution> | |
<id>default-testCompile</id> | |
<phase>test-compile</phase> | |
<goals> | |
<goal>testCompile</goal> | |
</goals> | |
<configuration> | |
<compilerId>hubspot-javac</compilerId> | |
<fork>true</fork> | |
<maxmem>1024m</maxmem> | |
<compilerArgs combine.children="append"> | |
<arg>-parameters</arg> | |
<arg>-XDcompilePolicy=simple</arg> | |
<arg>${error-prone.arg.line}</arg> | |
</compilerArgs> | |
<release>8</release> | |
<failOnWarning>false</failOnWarning> | |
<source>1.8</source> | |
<target>1.8</target> | |
<encoding>UTF-8</encoding> | |
<showWarnings>true</showWarnings> | |
</configuration> | |
</execution> | |
</executions> | |
<dependencies> | |
<dependency> | |
<groupId>com.hubspot</groupId> | |
<artifactId>hubspot-javac-compiler</artifactId> | |
<version>1.0-SNAPSHOT</version> | |
<scope>compile</scope> | |
</dependency> | |
</dependencies> | |
<configuration> | |
<compilerId>hubspot-javac</compilerId> | |
<fork>true</fork> | |
<maxmem>1024m</maxmem> | |
<compilerArgs combine.children="append"> | |
<arg>-parameters</arg> | |
<arg>-XDcompilePolicy=simple</arg> | |
<arg>${error-prone.arg.line}</arg> | |
</compilerArgs> | |
<release>8</release> | |
<failOnWarning>false</failOnWarning> | |
<source>1.8</source> | |
<target>1.8</target> | |
<encoding>UTF-8</encoding> | |
<showWarnings>true</showWarnings> | |
</configuration> | |
</plugin> | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment