使用eclipse编译器进行Maven编译失败,包和类型之间存在错误的区分大小写的名称冲突
B类 C类使用eclipse编译器进行Maven编译失败,包和类型之间存在错误的区分大小写的名称冲突,maven,case-sensitive,eclipse-jdt,maven-compiler-plugin,Maven,Case Sensitive,Eclipse Jdt,Maven Compiler Plugin,B类 C类 package a; public class B {} 编译器设置 package a.b; public class C { } 包a.b与类型a冲突 幸运的是,我已经找到了解决方案,但有人能告诉我发生了什么,哪个编译器是“真正的”eclipse编译器吗:plexus编译器eclipse还是tycho编译器jdt <plugin> <artifactId>maven-compiler-plugin<
package a;
public class B {}
编译器设置
package a.b;
public class C { }
包a.b与类型a冲突
幸运的是,我已经找到了解决方案,但有人能告诉我发生了什么,哪个编译器是“真正的”eclipse编译器吗:plexus编译器eclipse还是tycho编译器jdt
<plugin>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.3</version>
<configuration>
<compilerId>eclipse</compilerId>
</configuration>
<dependencies>
<dependency>
<groupId>org.codehaus.plexus</groupId>
<artifactId>plexus-compiler-eclipse</artifactId>
<version>2.6</version>
</dependency>
</dependencies>
</plugin>