<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?