我使用Eclipse(Indigo)和Maven的M2E插件。现在,由于某些原因,自动编译不断,他感到满足之前,这需要大量的资源,是一个重大的痛苦与重建大约50倍没有变化项目...即使没有任何变化,Maven Eclipse自动编译器仍在继续编译
我一次又一次地得到下面的输出:
14.12.11 12:32:17 MEZ: Maven Builder: AUTO_BUILD requireFullBuild
14.12.11 12:32:17 MEZ: [WARN] Using platform encoding (Cp1252 actually) to copy filtered resources, i.e. build is platform dependent!
14.12.11 12:32:17 MEZ: [INFO] Copying 2 resources
14.12.11 12:32:17 MEZ: [INFO] Nothing to compile - all classes are up to date
14.12.11 12:32:17 MEZ: [WARN] Using platform encoding (Cp1252 actually) to copy filtered resources, i.e. build is platform dependent!
14.12.11 12:32:17 MEZ: [INFO] Copying 5 resources
我试图禁用自动生成器并将Maven设置为脱机,但似乎没有任何帮助。为什么他甚至需要“全面构建”?
此行为也是由代码中的任何内容更改触发的,但次要(如将最终变量设置为不同的int值)。
我该如何追溯到源?其他项目似乎没有表现出这种行为..我不明白M2E如何得到的印象即使它确实需要全面重建...
谢谢!根据注释
编辑:
我们已经在我们的pom以下插件设置:
org.apache.maven.plugins
maven-checkstyle-plugin
2.7
checkstyle.xml
org.apache.maven.plugins
maven-compiler-plugin
2.3.2
1.6
1.6
org.apache.maven.plugins
maven-javadoc-plugin
attach-javadocs
jar
org.apache.maven.plugins
maven-source-plugin
attach-sources
jar
org.apache.cxf
cxf-java2ws-plugin
${cxf.version}
org.apache.cxf
cxf-rt-frontend-jaxws
${cxf.version}
org.apache.cxf
cxf-rt-frontend-simple
${cxf.version}
process-classes
process-classes
path.to.PersonService
true
true
java2ws
org.apache.maven.wagon
wagon-webdav-jackrabbit
1.0
2011-12-14
Pete