Maven groovy -eclipse compiler with error

is it possible to use the groovy -eclipse compiler with an error ( https://code.google.com/p/error-prone/ )?

groovy -eclipse-plugin requires this configuration in pom:

<build>
    <plugins>
            <plugin>
                <artifactId>maven-compiler-plugin</artifactId>
                <version>3.1</version>
                <configuration>
                    <compilerId>groovy-eclipse-compiler</compilerId>
                </configuration>
                <dependencies>

                </dependencies>
            </plugin>

error prone:

<build>
    <plugins>
      <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-compiler-plugin</artifactId>
        <version>3.1</version>
        <configuration>
          <compilerId>javac-with-errorprone</compilerId>
          <forceJavacCompilerUse>true</forceJavacCompilerUse>
        </configuration>

therefore both of them install <compilerId>. Is there a way to use 2 compilers together? I know that Lombok can be used in such a scenario as an agent, but I do not think that the error has one.

Thanks in advance, Michal

+3
source share

All Articles