Hello, 1. @Alex Earl for some reason your response is not shown in Google Groups which is why I couldn't respond to it earlier. I saw it in my mail inbox just right now, so I can respond: $ mvn -v Apache Maven 3.0.4 (r1232337; 2012-01-17 09:44:56+0100) Maven home: /usr/local/apache-maven/apache-maven-3.0.4 Java version: 1.6.0_24, vendor: Sun Microsystems Inc. Java home: /usr/lib/jvm/java-6-openjdk-amd64/jre Default locale: en_US, platform encoding: UTF-8 OS name: "linux", version: "3.2.0-30-generic", arch: "amd64", family: "unix"
2. @Vincent: That's not easy to do, because apt refuses to upgrade to a newer version. Anyway it's just a _sub version, it shouldn't have an influence. And if it's really a problem, could you say which tag / branch has a stable release which should run under 1.6.0_24? This way around any problem should be avoided, too, right? Am Montag, 17. September 2012 14:22:25 UTC+2 schrieb Vincent Latombe: > > Hello, > > try to bump your jdk version to something more recent (1.6.0_24 is pretty > old) like 1.6.0_35 > > Vincent > > > 2012/9/17 Erik Bernoth <ber...@dresearch-fe.de <javascript:>> > >> Someone help please, this is an ongoing problem. >> >> Am Freitag, 14. September 2012 13:49:43 UTC+2 schrieb Erik Bernoth: >> >>> I got the following errors and can't find documentation about them. What >>> am I doing wrong? >>> >>> The error occurs is in Jenkins Core (compiled in the github jenkins root >>> folder on master, with mvn -X clean install, more details after log paste): >>> >>> >>> [INFO] ------------------------------**------------------------------**- >>> [ERROR] COMPILATION ERROR : >>> [INFO] ------------------------------**------------------------------**- >>> [ERROR] /home/erikb85/coding/jenkins/**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> >>> found : <D>hudson.**DescriptorExtensionList<T,D> >>> required: hudson.**DescriptorExtensionList<T,D> >>> [INFO] 1 error >>> [INFO] ------------------------------**------------------------------**- >>> [INFO] ------------------------------**------------------------------** >>> ------------ >>> [INFO] Reactor Summary: >>> [INFO] >>> [INFO] Jenkins main module ..............................**. SUCCESS >>> [2.736s] >>> [INFO] Jenkins CLI ..............................**......... SUCCESS >>> [5.360s] >>> [INFO] Jenkins core ..............................**........ FAILURE >>> [27.288s] >>> [INFO] Maven Integration plugin .......................... SKIPPED >>> [INFO] Jenkins war ..............................**......... SKIPPED >>> [INFO] Test harness for Jenkins and plugins .............. SKIPPED >>> [INFO] Jenkins UI sample plugin .......................... SKIPPED >>> [INFO] ------------------------------**------------------------------** >>> ------------ >>> [INFO] BUILD FAILURE >>> [INFO] ------------------------------**------------------------------** >>> ------------ >>> [INFO] Total time: 37.714s >>> [INFO] Finished at: Fri Sep 14 13:43:29 CEST 2012 >>> [INFO] Final Memory: 45M/408M >>> [INFO] ------------------------------**------------------------------** >>> ------------ >>> [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/erikb85/coding/jenkins/**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] >>> org.apache.maven.lifecycle.**LifecycleExecutionException: Failed to >>> execute goal org.apache.maven.plugins:**maven-compiler-plugin:2.5:**compile >>> (default-compile) on project jenkins-core: Compilation failure >>> /home/erikb85/coding/jenkins/**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> >>> found : <D>hudson.**DescriptorExtensionList<T,D> >>> required: hudson.**DescriptorExtensionList<T,D> >>> >>> at org.apache.maven.lifecycle.**internal.MojoExecutor.execute(** >>> MojoExecutor.java:213) >>> at org.apache.maven.lifecycle.**internal.MojoExecutor.execute(** >>> MojoExecutor.java:153) >>> at org.apache.maven.lifecycle.**internal.MojoExecutor.execute(** >>> MojoExecutor.java:145) >>> at org.apache.maven.lifecycle.**internal.**LifecycleModuleBuilder.** >>> buildProject(**LifecycleModuleBuilder.java:**84) >>> at org.apache.maven.lifecycle.**internal.**LifecycleModuleBuilder.** >>> buildProject(**LifecycleModuleBuilder.java:**59) >>> at org.apache.maven.lifecycle.**internal.LifecycleStarter.** >>> singleThreadedBuild(**LifecycleStarter.java:183) >>> at org.apache.maven.lifecycle.**internal.LifecycleStarter.** >>> execute(LifecycleStarter.java:**161) >>> at org.apache.maven.DefaultMaven.**doExecute(DefaultMaven.java:** >>> 320) >>> at org.apache.maven.DefaultMaven.**execute(DefaultMaven.java:156) >>> at org.apache.maven.cli.MavenCli.**execute(MavenCli.java:537) >>> at org.apache.maven.cli.MavenCli.**doMain(MavenCli.java:196) >>> at org.apache.maven.cli.MavenCli.**main(MavenCli.java:141) >>> at sun.reflect.**NativeMethodAccessorImpl.**invoke0(Native Method) >>> at sun.reflect.**NativeMethodAccessorImpl.**invoke(** >>> NativeMethodAccessorImpl.java:**57) >>> at sun.reflect.**DelegatingMethodAccessorImpl.**invoke(** >>> DelegatingMethodAccessorImpl.**java:43) >>> at java.lang.reflect.Method.**invoke(Method.java:616) >>> at org.codehaus.plexus.**classworlds.launcher.Launcher.** >>> launchEnhanced(Launcher.java:**290) >>> at org.codehaus.plexus.**classworlds.launcher.Launcher.** >>> launch(Launcher.java:230) >>> at org.codehaus.plexus.**classworlds.launcher.Launcher.** >>> mainWithExitCode(Launcher.**java:409) >>> at org.codehaus.plexus.**classworlds.launcher.Launcher.** >>> main(Launcher.java:352) >>> Caused by: org.apache.maven.plugin.**CompilationFailureException: >>> Compilation failure >>> /home/erikb85/coding/jenkins/**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> >>> found : <D>hudson.**DescriptorExtensionList<T,D> >>> required: hudson.**DescriptorExtensionList<T,D> >>> >>> at org.apache.maven.plugin.**AbstractCompilerMojo.execute(** >>> AbstractCompilerMojo.java:729) >>> at org.apache.maven.plugin.**CompilerMojo.execute(** >>> CompilerMojo.java:128) >>> at org.apache.maven.plugin.**DefaultBuildPluginManager.** >>> executeMojo(**DefaultBuildPluginManager.**java:101) >>> at org.apache.maven.lifecycle.**internal.MojoExecutor.execute(** >>> MojoExecutor.java:209) >>> ... 19 more >>> >>> >>> It's not the first time I get this error. I tried the same thing weeks >>> or months ago, also with the one or the other tag / branch (can't remember >>> clearly anymore). So I think it's more of a system configuration issue then >>> a bug. Just if it's important: I run a Ubuntu 12.04 with fairly up to date >>> software. >>> >>> $ java -version >>> java version "1.6.0_24" >>> OpenJDK Runtime Environment (IcedTea6 1.11.4) >>> (6b24-1.11.4-1ubuntu0.12.04.1) >>> OpenJDK 64-Bit Server VM (build 20.0-b12, mixed mode) >>> >>> $ echo $JAVA_HOME # this one was manually set >>> /usr/lib/jvm/java-6-openjdk-**amd64/jre/ >>> >>> Kind Regards >>> Erik >>> >> >