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

can not download parent pom

XMLWordPrintable

    • 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.

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

              Created:
              Updated:
              Resolved: