• Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Minor Minor
    • core
    • Ubuntu 14.04.1 LTS
      jenkins 2.31
      java 1.7.0_60
      maven 3.2.3

      <parent>
      <groupId>com.test</groupId>
      <artifactId>cloud-parent</artifactId>
      <version>1.1.0</version>
      </parent>

      When my pom.xml contains above content and local repository has not parent pom, jenkins has following error:
      Parsing POMs
      FATAL: null
      java.lang.StackOverflowError
      at java.lang.Exception.<init>(Exception.java:102)
      at java.lang.ReflectiveOperationException.<init>(ReflectiveOperationException.java:89)
      at java.lang.reflect.InvocationTargetException.<init>(InvocationTargetException.java:72)
      at sun.reflect.GeneratedMethodAccessor211.invoke(Unknown Source)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.lang.reflect.Method.invoke(Method.java:606)
      at com.google.inject.internal.DelegatingInvocationHandler.invoke(DelegatingInvocationHandler.java:50)
      at com.sun.proxy.$Proxy87.lookup(Unknown Source)
      at sun.reflect.GeneratedMethodAccessor211.invoke(Unknown Source)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.lang.reflect.Method.invoke(Method.java:606)
      at com.google.inject.internal.DelegatingInvocationHandler.invoke(DelegatingInvocationHandler.java:50)
      at com.sun.proxy.$Proxy87.lookup(Unknown Source)
      at sun.reflect.GeneratedMethodAccessor211.invoke(Unknown Source)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.lang.reflect.Method.invoke(Method.java:606)
      ......

      but when I execute "mvn package" on the command line, it can download parent pom:
      Downloading: http://cloudrepo.rd.test.net:8081/nexus/content/groups/public/com/test/cloud-parent/1.1.0/cloud-parent-1.1.0.pom
      Downloaded: http://cloudrepo.rd.test.net:8081/nexus/content/groups/public/com/test/cloud-parent/1.1.0/cloud-parent-1.1.0.pom (16 KB at 34.7 KB/sec)

      Jenkins can download the corresponding dependencies and build success when other dependencies are changed, so I don't think there is a problem with the configuration of jenkins.

          [JENKINS-42183] can not download parent pom

          Daniel Beck added a comment -

          aheritier Is this a duplicate of that other issue?

          Daniel Beck added a comment - aheritier Is this a duplicate of that other issue?

          Hello nickshell

          Can you upgrade the maven plugin to the version 2.15.1 and comment JENKINS-41697 with your result please.

          Best regards

          Thx danielbeck

          Arnaud Héritier added a comment - Hello nickshell Can you upgrade the maven plugin to the version 2.15.1 and comment JENKINS-41697 with your result please. Best regards Thx danielbeck

          Nick Shell added a comment -

          thx, upgrade to 2.15.1, it works well.

          Nick Shell added a comment - thx, upgrade to 2.15.1, it works well.

          thx, added in 2.15.1 changelog

          Arnaud Héritier added a comment - thx, added in 2.15.1 changelog

            aheritier Arnaud Héritier
            nickshell Nick Shell
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: