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

Error parsing POM (Maven 2.2.1) after Update Hudson 1.392

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Critical Critical
    • maven-plugin
    • None
    • Maven 2.2.1, Hudson 1.392, SLES 11

      Just upgraded to hudson 1.392 and now fails, nothing changed on maven settings...
      Help appreciated

      [...]
      Started by user anonymous
      Building remotely on tclxs75
      [...]
      Found mavenVersion 2.2.1 from file jar:file:/var/hudson/tools/Maven_2.2.1/lib/maven-2.2.1-uber.jar!/META-INF/maven/org.apache.maven/maven-core/pom.properties
      Parsing POMs
      failed to transfer Error transferring file: central
      ERROR: Failed to parse POMs
      hudson.util.IOException2: remote file operation failed: /var/hudson/workspace/SMART at hudson.remoting.Channel@ba63a2:tclxs75
      	at hudson.FilePath.act(FilePath.java:752)
      	at hudson.FilePath.act(FilePath.java:738)
      	at hudson.maven.MavenModuleSetBuild$RunnerImpl.parsePoms(MavenModuleSetBuild.java:690)
      	at hudson.maven.MavenModuleSetBuild$RunnerImpl.doRun(MavenModuleSetBuild.java:526)
      	at hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:417)
      	at hudson.model.Run.run(Run.java:1362)
      	at hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:400)
      	at hudson.model.ResourceController.execute(ResourceController.java:88)
      	at hudson.model.Executor.run(Executor.java:145)
      Caused by: hudson.remoting.ProxyException: hudson.maven.MavenModuleSetBuild$MavenExecutionException: org.apache.maven.project.ProjectBuildingException: Some problems were encountered while processing the POMs:
      [FATAL] Non-resolvable parent POM: Could not transfer artifact org.eumetsat:eumetsat:pom:1 from/to central (http://central): Error transferring file: central and 'parent.relativePath' points at wrong local POM @ line 25, column 11
      
      	at hudson.maven.MavenModuleSetBuild$PomParser.invoke(MavenModuleSetBuild.java:1129)
      	at hudson.maven.MavenModuleSetBuild$PomParser.invoke(MavenModuleSetBuild.java:983)
      	at hudson.FilePath$FileCallableWrapper.call(FilePath.java:1925)
      	at hudson.remoting.UserRequest.perform(UserRequest.java:114)
      	at hudson.remoting.UserRequest.perform(UserRequest.java:48)
      	at hudson.remoting.Request$2.run(Request.java:270)
      	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
      	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:636)
      Caused by: hudson.remoting.ProxyException: org.apache.maven.project.ProjectBuildingException: Some problems were encountered while processing the POMs:
      [FATAL] Non-resolvable parent POM: Could not transfer artifact org.eumetsat:eumetsat:pom:1 from/to central (http://central): Error transferring file: central and 'parent.relativePath' points at wrong local POM @ line 25, column 11
      
      	at org.apache.maven.project.DefaultProjectBuilder.build(DefaultProjectBuilder.java:325)
      	at hudson.maven.MavenEmbedder.readProjects(MavenEmbedder.java:382)
      	at hudson.maven.MavenModuleSetBuild$PomParser.invoke(MavenModuleSetBuild.java:1096)
      	... 11 more
      Finished: FAILURE
      
      [...]
      

          [JENKINS-8430] Error parsing POM (Maven 2.2.1) after Update Hudson 1.392

          stezis created issue -

          stezis added a comment -

          <corrected text>

          stezis added a comment - <corrected text>
          stezis made changes -
          Attachment New: tclxs75-maven--settings.xml [ 20122 ]
          Affects Version/s New: current [ 10162 ]
          Description Original: It occurs with Hudson ver. 1.393-SNAPSHOT (private-01/01/2011 21:34-olamy) and also with 1.392
          {code}
          [..]
          Found mavenVersion 2.2.1 from file jar:file:/srv/hudson/maven221/lib/maven-2.2.1-uber.jar!/META-INF/maven/org.apache.maven/maven-core/pom.properties
          Parsing POMs
          ERROR: POMs konnten nicht geparst werden
          hudson.maven.MavenEmbedderException: 1 problem was encountered while building the effective settings
          [ERROR] 'mirrors.mirror.mirrorOf' for nexus-wuerzburg is missing @ /srv/hudson/maven221/conf/settings.xml

          at hudson.maven.MavenEmbedder.<init>(MavenEmbedder.java:130)
          at hudson.maven.MavenEmbedder.<init>(MavenEmbedder.java:111)
          at hudson.maven.MavenEmbedder.<init>(MavenEmbedder.java:138)
          at hudson.maven.MavenUtil.createEmbedder(MavenUtil.java:196)
          at hudson.maven.MavenModuleSetBuild$PomParser.invoke(MavenModuleSetBuild.java:1087)
          at hudson.maven.MavenModuleSetBuild$PomParser.invoke(MavenModuleSetBuild.java:985)
          at hudson.FilePath.act(FilePath.java:756)
          at hudson.FilePath.act(FilePath.java:738)
          at hudson.maven.MavenModuleSetBuild$RunnerImpl.parsePoms(MavenModuleSetBuild.java:691)
          at hudson.maven.MavenModuleSetBuild$RunnerImpl.doRun(MavenModuleSetBuild.java:527)
          at hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:417)
          at hudson.model.Run.run(Run.java:1362)
          at hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:401)
          at hudson.model.ResourceController.execute(ResourceController.java:88)
          at hudson.model.Executor.run(Executor.java:145)
          Caused by: hudson.maven.MavenEmbedderException: 1 problem was encountered while building the effective settings
          [ERROR] 'mirrors.mirror.mirrorOf' for nexus-wuerzburg is missing @ /srv/hudson/maven221/conf/settings.xml

          at hudson.maven.MavenEmbedder.getSettings(MavenEmbedder.java:260)
          at hudson.maven.MavenEmbedder.buildMavenExecutionRequest(MavenEmbedder.java:155)
          at hudson.maven.MavenEmbedder.<init>(MavenEmbedder.java:122)
          ... 14 more
          Caused by: org.apache.maven.settings.building.SettingsBuildingException: 1 problem was encountered while building the effective settings
          [ERROR] 'mirrors.mirror.mirrorOf' for nexus-wuerzburg is missing @ /srv/hudson/maven221/conf/settings.xml

          at org.apache.maven.settings.building.DefaultSettingsBuilder.build(DefaultSettingsBuilder.java:116)
          at hudson.maven.MavenEmbedder.getSettings(MavenEmbedder.java:258)
          ... 16 more
          Finished: FAILURE
          [..]
          {code}
          New: Just upgraded to hudson 1.392 and now fails, nothing changed on maven settings...
          Help appreciated
          {code}
          [...]
          Started by user anonymous
          Building remotely on tclxs75
          [...]
          Found mavenVersion 2.2.1 from file jar:file:/var/hudson/tools/Maven_2.2.1/lib/maven-2.2.1-uber.jar!/META-INF/maven/org.apache.maven/maven-core/pom.properties
          Parsing POMs
          failed to transfer Error transferring file: central
          ERROR: Failed to parse POMs
          hudson.util.IOException2: remote file operation failed: /var/hudson/workspace/SMART at hudson.remoting.Channel@ba63a2:tclxs75
          at hudson.FilePath.act(FilePath.java:752)
          at hudson.FilePath.act(FilePath.java:738)
          at hudson.maven.MavenModuleSetBuild$RunnerImpl.parsePoms(MavenModuleSetBuild.java:690)
          at hudson.maven.MavenModuleSetBuild$RunnerImpl.doRun(MavenModuleSetBuild.java:526)
          at hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:417)
          at hudson.model.Run.run(Run.java:1362)
          at hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:400)
          at hudson.model.ResourceController.execute(ResourceController.java:88)
          at hudson.model.Executor.run(Executor.java:145)
          Caused by: hudson.remoting.ProxyException: hudson.maven.MavenModuleSetBuild$MavenExecutionException: org.apache.maven.project.ProjectBuildingException: Some problems were encountered while processing the POMs:
          [FATAL] Non-resolvable parent POM: Could not transfer artifact org.eumetsat:eumetsat:pom:1 from/to central (http://central): Error transferring file: central and 'parent.relativePath' points at wrong local POM @ line 25, column 11

          at hudson.maven.MavenModuleSetBuild$PomParser.invoke(MavenModuleSetBuild.java:1129)
          at hudson.maven.MavenModuleSetBuild$PomParser.invoke(MavenModuleSetBuild.java:983)
          at hudson.FilePath$FileCallableWrapper.call(FilePath.java:1925)
          at hudson.remoting.UserRequest.perform(UserRequest.java:114)
          at hudson.remoting.UserRequest.perform(UserRequest.java:48)
          at hudson.remoting.Request$2.run(Request.java:270)
          at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
          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:636)
          Caused by: hudson.remoting.ProxyException: org.apache.maven.project.ProjectBuildingException: Some problems were encountered while processing the POMs:
          [FATAL] Non-resolvable parent POM: Could not transfer artifact org.eumetsat:eumetsat:pom:1 from/to central (http://central): Error transferring file: central and 'parent.relativePath' points at wrong local POM @ line 25, column 11

          at org.apache.maven.project.DefaultProjectBuilder.build(DefaultProjectBuilder.java:325)
          at hudson.maven.MavenEmbedder.readProjects(MavenEmbedder.java:382)
          at hudson.maven.MavenModuleSetBuild$PomParser.invoke(MavenModuleSetBuild.java:1096)
          ... 11 more
          Finished: FAILURE

          [...]
          {code}

          stezis added a comment -

          Reverted to 1.391 and works again, so looks like a regression to me (introduced by making MVN3 work in 1.392?)
          As well, if I look at the console output, there seems to be "much" different stuff going on now.
          1.391:

          Started by user anonymous
          Building remotely on tclxs75
          [...]
          Parsing POMs
          [SMART_Reports] $ /var/hudson/tools/JDK_6.21/bin/java -cp /var/hudson/maven-agent.jar:/var/hudson/tools/Maven_2.2.1/boot/classworlds-1.1.jar hudson.maven.agent.Main /var/hudson/tools/Maven_2.2.1 /var/hudson/slave.jar /var/hudson/maven-interceptor.jar 45527 /var/hudson/maven2.1-interceptor.jar <===[HUDSON REMOTING CAPACITY]===>\ufffd\ufffd\ufffdchannel started
          Executing Maven: -B -f /var/hudson/workspace/SMART_Reports/pom.xml checkstyle:checkstyle pmd:pmd findbugs:findbugs 
          [...]
          


          Stephan

          stezis added a comment - Reverted to 1.391 and works again, so looks like a regression to me (introduced by making MVN3 work in 1.392?) As well, if I look at the console output, there seems to be "much" different stuff going on now. 1.391: Started by user anonymous Building remotely on tclxs75 [...] Parsing POMs [SMART_Reports] $ / var /hudson/tools/JDK_6.21/bin/java -cp / var /hudson/maven-agent.jar:/ var /hudson/tools/Maven_2.2.1/boot/classworlds-1.1.jar hudson.maven.agent.Main / var /hudson/tools/Maven_2.2.1 / var /hudson/slave.jar / var /hudson/maven-interceptor.jar 45527 / var /hudson/maven2.1-interceptor.jar <===[HUDSON REMOTING CAPACITY]===>\ufffd\ufffd\ufffdchannel started Executing Maven: -B -f / var /hudson/workspace/SMART_Reports/pom.xml checkstyle:checkstyle pmd:pmd findbugs:findbugs [...] – Stephan

          hagzag added a comment -

          +1 here.
          I noticed this happens when relative-path is used in the project.
          Projects with version based resolution do not have this issue.

          hagzag added a comment - +1 here. I noticed this happens when relative-path is used in the project. Projects with version based resolution do not have this issue.

          Olivier Lamy added a comment -

          Olivier Lamy added a comment - see JENKINS-8390
          Olivier Lamy made changes -
          Link New: This issue duplicates JENKINS-8390 [ JENKINS-8390 ]
          Olivier Lamy made changes -
          Resolution New: Duplicate [ 3 ]
          Status Original: Open [ 1 ] New: Closed [ 6 ]

          stezis added a comment -

          works with the fix provided for JENKINS-8390

          stezis added a comment - works with the fix provided for JENKINS-8390
          Jenkins IRC Bot made changes -
          Component/s New: maven-plugin [ 16033 ]
          Component/s Original: maven2 [ 15487 ]

            olamy Olivier Lamy
            stezis stezis
            Votes:
            1 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: