Community
Participate
Working Groups
Build Identifier: I20110613-1736 In a fresh installation of Eclipse for Java Developers I tried to import the Jenkins maven projects (ssh://github.com/jenkinsci/jenkins.git). After the import, the modules jenkins-core and jenkins-test-harness do not have a classpath container for the Maven Dependencies showing up in the package explorer. Therefor, the Java files will not compile. In .classpath, the maven container is referenced: <classpathentry kind="con" path="org.maven.ide.eclipse.MAVEN2_CLASSPATH_CONTAINER"/> Reproducible: Always
As far as I can tell, jenkins-core project uses non-standard java compiler and is not supported out-of-the-box by m2e. Please contact us on m2e-dev@eclipse.org list if you are interested to develop such support.
Hmm, this did work with all previous versions of m2e. And I don't think that Jenkins/Hudsons requires a different compiler than javac. I think this is a regression in m2e.
Do "mvn help:effective-pom" and check if maven-compiler-plugin is bound to any build phase.
I made some changes to AbstractJavaProjectConfigurator to allow customization of compiler plugin groupId, artifactId and goal names. It should be possible to develop m2e extension to support alternative (i.e. forked) maven-compiler-plugin implementations relatively easily now. http://git.eclipse.org/c/m2e/m2e-core.git/commit/?id=c0e3be615997a389f62a64909b5ad3b252a393ca
as far as I understand Jenkins does not use custom compiler plugin any more, so more work is planned here.
Moved to https://github.com/eclipse-m2e/m2e-core/issues/