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

Rule 6: org.apache.maven.plugins.enforcer.RequireUpperBoundDeps failed

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Won't Fix
    • Icon: Major Major
    • git-plugin
    • None

      When attempting to use org.jenkins-ci.plugins:git:3.9.1 as a mvn dep, I'm getting the following error from maven-enforcer-plugin:3.0.0-M1:enforce:

       

      [INFO] — maven-enforcer-plugin:3.0.0-M1:enforce (display-info) @ google-kubernetes-engine —
      [INFO] Ignoring requireUpperBoundDeps in com.google.guava:guava
      [WARNING] Rule 6: org.apache.maven.plugins.enforcer.RequireUpperBoundDeps failed with message:
      Failed while enforcing RequireUpperBoundDeps. The error(s) are [
      Require upper bound dependencies error for org.jenkins-ci.plugins:junit:1.2 paths to dependency are:
      +-org.jenkins-ci.plugins:google-kubernetes-engine:1.0-SNAPSHOT
      +-org.jenkins-ci.plugins:git:3.9.1
      +-org.jenkins-ci.plugins:matrix-project:1.7.1
      +-org.jenkins-ci.plugins:junit:1.2
      and
      +-org.jenkins-ci.plugins:google-kubernetes-engine:1.0-SNAPSHOT
      +-org.jenkins-ci.plugins:git:3.9.1
      +-org.jenkins-ci.plugins:mailer:1.18
      +-org.jenkins-ci.plugins:display-url-api:0.2
      +-org.jenkins-ci.plugins:junit:1.3
      ]
      [INFO] ------------------------------------------------------------------------
      [INFO] BUILD FAILURE
      [INFO] ------------------------------------------------------------------------

            Unassigned Unassigned
            craigbarber Craig Barber
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: