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

Artifactory Plugin guava dependency problem

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • artifactory-plugin

      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.

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

              Created:
              Updated: