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

Artifactory Plugin guava dependency problem


    • Type: Bug
    • Status: Open (View Workflow)
    • Priority: Major
    • Resolution: Unresolved
    • Component/s: artifactory-plugin
    • Environment:
    • Similar Issues:


      org.jfrog.build.extractor.BuildInfoExtractorUtils.mergePropertiesWithSystemAndPropertyFile uses the method com.google.common.io.Closeables.closeQuietly(Ljava/io/Closeable that has been removed since guava 16.x and has been re-added in guava 17.x but with different parameters types: InputStream and Reader instead of Closeable.
      This breaks the maven build because java.lang.NoSuchMethodError is thrown.

      libguava-java:amd64 package has been upgraded on July from 15.0-2 to 17.0-1 in debian testing repository, so all new maven installation are affected.
      Restoring the library to previous version fix the problem.

      Please notice into attached log that system libraries (/usr/share/maven) are imported into classpath when launching java.


          Issue Links


            svavassori Sergio Vavassori created issue -
            danielbeck Daniel Beck made changes -
            Field Original Value New Value
            Link This issue is duplicated by JENKINS-24689 [ JENKINS-24689 ]
            integer Kanstantsin Shautsou made changes -
            Link This issue depends on JENKINS-28796 [ JENKINS-28796 ]
            danielbeck Daniel Beck made changes -
            Assignee yossis [ yossis ] Eyal Ben Moshe [ eyalbe ]
            rtyler R. Tyler Croy made changes -
            Workflow JNJira [ 156584 ] JNJira + In-Review [ 179337 ]


              • Assignee:
                eyalbe Eyal Ben Moshe
                svavassori Sergio Vavassori
              • Votes:
                5 Vote for this issue
                4 Start watching this issue


                • Created: