0
<build>
    <plugins>
        <plugin>
            <artifactId>maven-compiler-plugin</artifactId>
            <version>3.0</version>
            <dependencies>
                <dependency>
                    <groupId>org.codehaus.plexus</groupId>
                    <artifactId>plexus-compiler-eclipse</artifactId>
                    <version>2.6</version>
                </dependency>
            </dependencies>
            <configuration>
                <source>1.6</source>
                <target>1.6</target>
                <debug>true</debug>
                <optimize>true</optimize>
                <fork>true</fork>
                <compilerId>eclipse</compilerId>
            </configuration>
        </plugin>
    </plugins>
</build>

I want to use the Eclipse compiler instead of javac, but Maven says it can't find the dependency. Why?

Tunaki
  • 132,869
  • 46
  • 340
  • 423
Daniel
  • 15
  • 9
  • Can you post the error message? Also, you're using a version of the compiler plugin a bit old, see this http://stackoverflow.com/a/33165304/1743880 – Tunaki Aug 27 '16 at 13:25
  • it works!!. It's the version problem like you say.Thanks a lot. – Daniel Aug 27 '16 at 15:18

0 Answers0