-
Bug
-
Resolution: Won't Fix
-
Major
-
Linux desktop.pusf.org 3.4.9-2.fc16.x86_64 #1 SMP Thu Aug 23 17:51:29 UTC 2012 x86_64 x86_64 x86_64 GNU/Linux
java version "1.6.0_24"
OpenJDK Runtime Environment (IcedTea6 1.11.3) (fedora-67.1.11.3.fc16-x86_64)
OpenJDK 64-Bit Server VM (build 20.0-b12, mixed mode)
javac 1.6.0_24
Apache Maven 3.0.3 (rNON-CANONICAL_2011-10-11_11-56_mockbuild; 2011-10-11 19:56:36+0800)
Maven home: /usr/share/maven
Java version: 1.6.0_24, vendor: Sun Microsystems Inc.
Java home: /usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0.x86_64/jre
Default locale: en_US, platform encoding: UTF-8
OS name: "linux", version: "3.4.9-2.fc16.x86_64", arch: "amd64", family: "unix"
Linux desktop.pusf.org 3.4.9-2.fc16.x86_64 #1 SMP Thu Aug 23 17:51:29 UTC 2012 x86_64 x86_64 x86_64 GNU/Linux java version "1.6.0_24" OpenJDK Runtime Environment (IcedTea6 1.11.3) (fedora-67.1.11.3.fc16-x86_64) OpenJDK 64-Bit Server VM (build 20.0-b12, mixed mode) javac 1.6.0_24 Apache Maven 3.0.3 (rNON-CANONICAL_2011-10-11_11-56_mockbuild; 2011-10-11 19:56:36+0800) Maven home: /usr/share/maven Java version: 1.6.0_24, vendor: Sun Microsystems Inc. Java home: /usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0.x86_64/jre Default locale: en_US, platform encoding: UTF-8 OS name: "linux", version: "3.4.9-2.fc16.x86_64", arch: "amd64", family: "unix"
Build jenkins by the command: mvn -Denforcer.skip=true -Plight-test clean install
- We need skip maven-enforcer-plugin, although we have openjdk 1.6.0_24 and maven 3.0.3.
- There are problems about generic classes or methods type inference. I got the following errors:
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:2.5:compile (default-compile) on project jenkins-core: Compilation failure
[ERROR] /home/tsllst/study/src/jenkinsci-jenkins-f1aa7ba/core/src/main/java/hudson/DescriptorExtensionList.java:[86,35] incompatible types; no instance(s) of type variable(s) D exist so that hudson.DescriptorExtensionList<T,D> conforms to hudson.DescriptorExtensionList<T,D>
[ERROR] found : <D>hudson.DescriptorExtensionList<T,D>
[ERROR] required: hudson.DescriptorExtensionList<T,D>
[ERROR] -> [Help 1]
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:2.3.2:compile (default-compile)
on project jenkins-core: Compilation failure: Compilation failure:
[ERROR]
/home/xning/study/src/jenkinsci-jenkins-53f2177/core/src/main/java/hudson/model/AbstractBuild.java:[465,49]
cannot find symbol
[ERROR] symbol : method getCustomWorkspace()
[ERROR] location: class hudson.model.Job
[ERROR]
/home/xning/study/src/jenkinsci-jenkins-53f2177/core/src/main/java/hudson/model/AbstractBuild.java:[499,28]
cannot find symbol
[ERROR] symbol : method getScmCheckoutStrategy()
[ERROR] location: class hudson.model.Job
- Cannot compile groovy files
[ERROR] Failed to execute goal org.codehaus.gmaven:gmaven-plugin:1.3:compile (default) on project jenkins-core:
startup failed:
[ERROR]
/home/xning/study/src/jenkinsci-jenkins-53f2177/core/src/main/groovy/jenkins/util/groovy/AbstractGroovyViewModul\
e.groovy: 7: unable to resolve class lib.JenkinsTagLib
[ERROR] @ line 7, column 1.
[ERROR] import lib.JenkinsTagLib
- Cannot process annotation
[ERROR] Failed to execute goal com.infradna.tool:bridge-method-injector:1.4:process (default) on project
jenkins-core: Failed to process @WithBridgeMethods:
/home/xning/study/src/jenkinsci-jenkins-f48d05d/core/target/classes/hudson/model/User.class (No such file or
directory) -> [Help 1]
- is duplicated by
-
JENKINS-15164 Using openjdk 6 to build jenkins from code failed
-
- Closed
-
Any workaround? I'm seeing the same thing.
Apache Maven 3.0.4 (rNON-CANONICAL_2012-01-24_13-02_root; 2012-01-24 05:02:02-0800)
Maven home: /opt/maven
Java version: 1.6.0_24, vendor: Sun Microsystems Inc.
Java home: /usr/lib/jvm/java-6-openjdk/jre
Default locale: en_US, platform encoding: ANSI_X3.4-1968
OS name: "linux", version: "3.3.6-1-arch", arch: "i386", family: "unix"