Glassfish源码工程转eclipse工程遇到的问题

问题描述:
今天在构建galssfish的源码成功后,当我运行命令:
mvn eclipse:eclipse
试图将其转换成eclipse工程时时遇到以下问题:
[INFO] [eclipse:eclipse {execution: default-cli}]
[INFO] Using Eclipse Workspace: null
[INFO] Adding default classpath container: org.eclipse.jdt.launching.JRE_CONTAINER
[INFO] Resource directory's path matches an existing source directory. Resources will be merged with the source directory src/main/java
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
我的jdk为1.6,maven为2.0.9

解决方案:
将上述命令改为如下命令即可:
mvn org.apache.maven.plugins:maven-eclipse-plugin:2.6:clean org.apache.maven.plugins:maven-eclipse-plugin:2.6:eclipse


参考资料
1. Building Glassfish V3 from SVN
2. plugin fails to create Eclipse projects in 2.7


你可能感兴趣的:(apache,eclipse,maven,SVN,Glassfish)