Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-15935

Can't build using maven 3.1.0

    XMLWordPrintable

    Details

    • Similar Issues:

      Description

      When building I get the exception below

      java.lang.reflect.InvocationTargetException
      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:601)
      at org.codehaus.plexus.classworlds.launcher.Launcher.launchStandard(Launcher.java:329)
      at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:239)
      at org.jvnet.hudson.maven3.agent.Maven3Main.launch(Maven3Main.java:158)
      at hudson.maven.Maven3Builder.call(Maven3Builder.java:98)
      at hudson.maven.Maven3Builder.call(Maven3Builder.java:64)
      at hudson.remoting.UserRequest.perform(UserRequest.java:118)
      at hudson.remoting.UserRequest.perform(UserRequest.java:48)
      at hudson.remoting.Request$2.run(Request.java:326)
      at hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:72)
      at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
      at java.util.concurrent.FutureTask.run(FutureTask.java:166)
      at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
      at java.lang.Thread.run(Thread.java:722)
      Caused by: java.lang.NoClassDefFoundError: org/apache/maven/cli/MavenLoggerManager
      at org.jvnet.hudson.maven3.launcher.Maven3Launcher.main(Maven3Launcher.java:73)
      ... 18 more
      Caused by: java.lang.ClassNotFoundException: org.apache.maven.cli.MavenLoggerManager
      at org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy.loadClass(SelfFirstStrategy.java:50)
      at org.codehaus.plexus.classworlds.realm.ClassRealm.loadClass(ClassRealm.java:244)
      at org.codehaus.plexus.classworlds.realm.ClassRealm.loadClass(ClassRealm.java:230)
      ... 19 more

      Full jenkins output.

      Parsing POMs
      [master-pom] $ /opt/projects/borgen/tools/jdk17/bin/java -server -Xmx768m -Xms768m -XX:MaxPermSize=256m -XX:+UseParallelGC -cp /opt/buildcache/borgen/jenkins_work/plugins/maven-plugin/WEB-INF/lib/maven3-agent-1.2.jar:/opt/projects/borgen/tools/apache-maven-3.1.0/boot/plexus-classworlds-2.4.jar org.jvnet.hudson.maven3.agent.Maven3Main /opt/projects/borgen/tools/apache-maven-3.1.0/ /var/cache/jenkins/war/WEB-INF/lib/remoting-2.18.jar /opt/buildcache/borgen/jenkins_work/plugins/maven-plugin/WEB-INF/lib/maven3-interceptor-1.2.jar 57146
      <===[JENKINS REMOTING CAPACITY]===>channel started
      log4j:WARN No appenders could be found for logger (org.apache.commons.beanutils.converters.BooleanConverter).
      log4j:WARN Please initialize the log4j system properly.
      Executing Maven: -B -f /opt/buildcache/borgen/jenkins_work/jobs/master-pom/workspace/master-pom/pom.xml clean deploy site site:deploy -Prelease-site

      java.lang.reflect.InvocationTargetException
      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:601)
      at org.codehaus.plexus.classworlds.launcher.Launcher.launchStandard(Launcher.java:329)
      at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:239)
      at org.jvnet.hudson.maven3.agent.Maven3Main.launch(Maven3Main.java:158)
      at hudson.maven.Maven3Builder.call(Maven3Builder.java:98)
      at hudson.maven.Maven3Builder.call(Maven3Builder.java:64)
      at hudson.remoting.UserRequest.perform(UserRequest.java:118)
      at hudson.remoting.UserRequest.perform(UserRequest.java:48)
      at hudson.remoting.Request$2.run(Request.java:326)
      at hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:72)
      at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
      at java.util.concurrent.FutureTask.run(FutureTask.java:166)
      at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
      at java.lang.Thread.run(Thread.java:722)
      Caused by: java.lang.NoClassDefFoundError: org/apache/maven/cli/MavenLoggerManager
      at org.jvnet.hudson.maven3.launcher.Maven3Launcher.main(Maven3Launcher.java:73)
      ... 18 more
      Caused by: java.lang.ClassNotFoundException: org.apache.maven.cli.MavenLoggerManager
      at org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy.loadClass(SelfFirstStrategy.java:50)
      at org.codehaus.plexus.classworlds.realm.ClassRealm.loadClass(ClassRealm.java:244)
      at org.codehaus.plexus.classworlds.realm.ClassRealm.loadClass(ClassRealm.java:230)
      ... 19 more
      channel stopped
      ERROR: Failed to parse POMs
      hudson.util.IOException2: java.lang.reflect.InvocationTargetException
      at hudson.maven.Maven3Builder.call(Maven3Builder.java:152)
      at hudson.maven.Maven3Builder.call(Maven3Builder.java:64)
      at hudson.remoting.UserRequest.perform(UserRequest.java:118)
      at hudson.remoting.UserRequest.perform(UserRequest.java:48)
      at hudson.remoting.Request$2.run(Request.java:326)
      at hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:72)
      at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
      at java.util.concurrent.FutureTask.run(FutureTask.java:166)
      at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
      at java.lang.Thread.run(Thread.java:722)
      Caused by: java.lang.Exception: java.lang.reflect.InvocationTargetException
      at org.jvnet.hudson.maven3.agent.Maven3Main.launch(Maven3Main.java:161)
      at hudson.maven.Maven3Builder.call(Maven3Builder.java:98)
      ... 10 more
      Caused by: java.lang.reflect.InvocationTargetException
      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:601)
      at org.codehaus.plexus.classworlds.launcher.Launcher.launchStandard(Launcher.java:329)
      at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:239)
      at org.jvnet.hudson.maven3.agent.Maven3Main.launch(Maven3Main.java:158)
      ... 11 more
      Caused by: java.lang.NoClassDefFoundError: org/apache/maven/cli/MavenLoggerManager
      at org.jvnet.hudson.maven3.launcher.Maven3Launcher.main(Maven3Launcher.java:73)
      ... 18 more
      Caused by: java.lang.ClassNotFoundException: org.apache.maven.cli.MavenLoggerManager
      at org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy.loadClass(SelfFirstStrategy.java:50)
      at org.codehaus.plexus.classworlds.realm.ClassRealm.loadClass(ClassRealm.java:244)
      at org.codehaus.plexus.classworlds.realm.ClassRealm.loadClass(ClassRealm.java:230)
      ... 19 more

        Attachments

          Issue Links

            Activity

            Hide
            scm_issue_link SCM/JIRA link daemon added a comment -

            Code changed in jenkins
            User: Oliver Gondža
            Path:
            .gitignore
            changelog.html
            core/src/main/java/hudson/tasks/Maven.java
            core/src/main/java/jenkins/mvn/GlobalMavenConfig.java
            core/src/main/resources/jenkins/mvn/GlobalMavenConfig/config.groovy
            maven-plugin/pom.xml
            maven-plugin/src/main/java/hudson/maven/AbstractMavenProcessFactory.java
            maven-plugin/src/main/java/hudson/maven/AggregatingClassLoader.java
            maven-plugin/src/main/java/hudson/maven/EmbedderLoggerImpl.java
            maven-plugin/src/main/java/hudson/maven/Maven31ProcessFactory.java
            maven-plugin/src/main/java/hudson/maven/Maven3Builder.java
            maven-plugin/src/main/java/hudson/maven/Maven3ProcessFactory.java
            maven-plugin/src/main/java/hudson/maven/MavenBuild.java
            maven-plugin/src/main/java/hudson/maven/MavenComputerListener.java
            maven-plugin/src/main/java/hudson/maven/MavenEmbedderRequest.java
            maven-plugin/src/main/java/hudson/maven/MavenModuleSet.java
            maven-plugin/src/main/java/hudson/maven/MavenModuleSetBuild.java
            maven-plugin/src/main/java/hudson/maven/MavenProcessFactory.java
            maven-plugin/src/main/java/hudson/maven/MavenUtil.java
            maven-plugin/src/main/java/hudson/maven/PlexusModuleContributor.java
            maven-plugin/src/main/java/hudson/maven/PlexusModuleContributorFactory.java
            maven-plugin/src/main/java/hudson/maven/RedeployPublisher.java
            maven-plugin/src/main/java/hudson/maven/util/ExecutionEventLogger.java
            maven-plugin/src/test/java/hudson/maven/MavenUtilTest.java
            pom.xml
            test/.gitignore
            test/pom.xml
            test/src/main/java/org/jvnet/hudson/test/HudsonTestCase.java
            test/src/main/java/org/jvnet/hudson/test/JenkinsRule.java
            test/src/main/resources/apache-maven-3.1.0-bin.zip
            test/src/test/java/hudson/maven/AbstractMaven3xBuildTest.java
            test/src/test/java/hudson/maven/Maven30xBuildTest.java
            test/src/test/java/hudson/maven/Maven31xBuildTest.java
            test/src/test/java/hudson/maven/Maven3BuildTest.java
            test/src/test/java/hudson/maven/PlexusModuleContributorTest.java
            test/src/test/java/hudson/tasks/MavenTest.java
            test/src/test/resources/hudson/maven/custom-plexus-component.pom
            test/src/test/resources/hudson/maven/maven3-project.zip
            http://jenkins-ci.org/commit/jenkins/0dca811ba123808efaf1c270fad1862dac0c46d9
            Log:
            [FIXED JENKINS-15935] Merge branch 'stable_mvn' of https://github.com/vjuranek/jenkins into stable

            Show
            scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Oliver Gondža Path: .gitignore changelog.html core/src/main/java/hudson/tasks/Maven.java core/src/main/java/jenkins/mvn/GlobalMavenConfig.java core/src/main/resources/jenkins/mvn/GlobalMavenConfig/config.groovy maven-plugin/pom.xml maven-plugin/src/main/java/hudson/maven/AbstractMavenProcessFactory.java maven-plugin/src/main/java/hudson/maven/AggregatingClassLoader.java maven-plugin/src/main/java/hudson/maven/EmbedderLoggerImpl.java maven-plugin/src/main/java/hudson/maven/Maven31ProcessFactory.java maven-plugin/src/main/java/hudson/maven/Maven3Builder.java maven-plugin/src/main/java/hudson/maven/Maven3ProcessFactory.java maven-plugin/src/main/java/hudson/maven/MavenBuild.java maven-plugin/src/main/java/hudson/maven/MavenComputerListener.java maven-plugin/src/main/java/hudson/maven/MavenEmbedderRequest.java maven-plugin/src/main/java/hudson/maven/MavenModuleSet.java maven-plugin/src/main/java/hudson/maven/MavenModuleSetBuild.java maven-plugin/src/main/java/hudson/maven/MavenProcessFactory.java maven-plugin/src/main/java/hudson/maven/MavenUtil.java maven-plugin/src/main/java/hudson/maven/PlexusModuleContributor.java maven-plugin/src/main/java/hudson/maven/PlexusModuleContributorFactory.java maven-plugin/src/main/java/hudson/maven/RedeployPublisher.java maven-plugin/src/main/java/hudson/maven/util/ExecutionEventLogger.java maven-plugin/src/test/java/hudson/maven/MavenUtilTest.java pom.xml test/.gitignore test/pom.xml test/src/main/java/org/jvnet/hudson/test/HudsonTestCase.java test/src/main/java/org/jvnet/hudson/test/JenkinsRule.java test/src/main/resources/apache-maven-3.1.0-bin.zip test/src/test/java/hudson/maven/AbstractMaven3xBuildTest.java test/src/test/java/hudson/maven/Maven30xBuildTest.java test/src/test/java/hudson/maven/Maven31xBuildTest.java test/src/test/java/hudson/maven/Maven3BuildTest.java test/src/test/java/hudson/maven/PlexusModuleContributorTest.java test/src/test/java/hudson/tasks/MavenTest.java test/src/test/resources/hudson/maven/custom-plexus-component.pom test/src/test/resources/hudson/maven/maven3-project.zip http://jenkins-ci.org/commit/jenkins/0dca811ba123808efaf1c270fad1862dac0c46d9 Log: [FIXED JENKINS-15935] Merge branch 'stable_mvn' of https://github.com/vjuranek/jenkins into stable
            Hide
            kutzi kutzi added a comment -

            May have caused JENKINS-19352.
            Not sure about it, but it fits perfectly in the time frame and this issue has done a lot of changes to the maven plugin

            Show
            kutzi kutzi added a comment - May have caused JENKINS-19352 . Not sure about it, but it fits perfectly in the time frame and this issue has done a lot of changes to the maven plugin
            Hide
            danielbeck Daniel Beck added a comment -

            Also JENKINS-19396 – users report that they had to downgrade to 1.525.

            Show
            danielbeck Daniel Beck added a comment - Also JENKINS-19396 – users report that they had to downgrade to 1.525.
            Hide
            scm_issue_link SCM/JIRA link daemon added a comment -

            Code changed in jenkins
            User: Olivier Lamy
            Path:
            pom.xml
            src/main/java/hudson/maven/AbstractMavenProcessFactory.java
            src/main/java/hudson/maven/EmbedderLoggerImpl.java
            src/main/java/hudson/maven/Maven31ProcessFactory.java
            src/main/java/hudson/maven/Maven3Builder.java
            src/main/java/hudson/maven/Maven3ProcessFactory.java
            src/main/java/hudson/maven/MavenBuild.java
            src/main/java/hudson/maven/MavenComputerListener.java
            src/main/java/hudson/maven/MavenEmbedderRequest.java
            src/main/java/hudson/maven/MavenModuleSetBuild.java
            src/main/java/hudson/maven/MavenUtil.java
            src/main/java/hudson/maven/RedeployPublisher.java
            src/main/java/hudson/maven/util/ExecutionEventLogger.java
            src/test/java/hudson/maven/MavenUtilTest.java
            http://jenkins-ci.org/commit/maven-plugin/a461ce3b8051562c3bb1dc561c5728315beb4cbe
            Log:
            JENKINS-15935 Can't build using maven 3.1.0 latest release candidate

            Merge branch 'maven-3.1.0' for maven 3.1.0 support in Maven Integration Plugin

            Originally-Committed-As: 941e83fae1f12cb442d2b4b3c434e0c2e7e9611e

            Show
            scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Olivier Lamy Path: pom.xml src/main/java/hudson/maven/AbstractMavenProcessFactory.java src/main/java/hudson/maven/EmbedderLoggerImpl.java src/main/java/hudson/maven/Maven31ProcessFactory.java src/main/java/hudson/maven/Maven3Builder.java src/main/java/hudson/maven/Maven3ProcessFactory.java src/main/java/hudson/maven/MavenBuild.java src/main/java/hudson/maven/MavenComputerListener.java src/main/java/hudson/maven/MavenEmbedderRequest.java src/main/java/hudson/maven/MavenModuleSetBuild.java src/main/java/hudson/maven/MavenUtil.java src/main/java/hudson/maven/RedeployPublisher.java src/main/java/hudson/maven/util/ExecutionEventLogger.java src/test/java/hudson/maven/MavenUtilTest.java http://jenkins-ci.org/commit/maven-plugin/a461ce3b8051562c3bb1dc561c5728315beb4cbe Log: JENKINS-15935 Can't build using maven 3.1.0 latest release candidate Merge branch 'maven-3.1.0' for maven 3.1.0 support in Maven Integration Plugin Originally-Committed-As: 941e83fae1f12cb442d2b4b3c434e0c2e7e9611e
            Hide
            scm_issue_link SCM/JIRA link daemon added a comment -

            Code changed in jenkins
            User: Olivier Lamy
            Path:
            test/src/main/java/org/jvnet/hudson/test/HudsonTestCase.java
            test/src/main/java/org/jvnet/hudson/test/JenkinsRule.java
            test/src/main/resources/apache-maven-3.1.0-bin.zip
            http://jenkins-ci.org/commit/jenkins-test-harness/00a4ee56374cb439448eee5fc2f3fc12ed6aa613
            Log:
            JENKINS-15935 Can't build using maven 3.1.0 latest release candidate

            Merge branch 'maven-3.1.0' for maven 3.1.0 support in Maven Integration Plugin

            Originally-Committed-As: 941e83fae1f12cb442d2b4b3c434e0c2e7e9611e

            Show
            scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Olivier Lamy Path: test/src/main/java/org/jvnet/hudson/test/HudsonTestCase.java test/src/main/java/org/jvnet/hudson/test/JenkinsRule.java test/src/main/resources/apache-maven-3.1.0-bin.zip http://jenkins-ci.org/commit/jenkins-test-harness/00a4ee56374cb439448eee5fc2f3fc12ed6aa613 Log: JENKINS-15935 Can't build using maven 3.1.0 latest release candidate Merge branch 'maven-3.1.0' for maven 3.1.0 support in Maven Integration Plugin Originally-Committed-As: 941e83fae1f12cb442d2b4b3c434e0c2e7e9611e

              People

              • Assignee:
                olamy Olivier Lamy
                Reporter:
                pether Pether Sorling
              • Votes:
                2 Vote for this issue
                Watchers:
                17 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: