From c0a339fd4723a44754cba2194f9c80ede19bc299 Mon Sep 17 00:00:00 2001 From: Baptiste Mathus Date: Tue, 5 Jan 2021 09:25:15 +0100 Subject: [PATCH] Exclude symbol-annotations as it's coming from the core Without this, *when* bumping credentials to 2.3.14 e.g. this breaks: ``` [INFO] --- maven-enforcer-plugin:3.0.0-M3:enforce (display-info) @ variant --- [INFO] Adding ignore: module-info [WARNING] Rule 4: 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:symbol-annotation:1.1 paths to dependency are: +-org.jenkins-ci.plugins:variant:1.4-SNAPSHOT +-org.jenkins-ci.main:jenkins-core:2.249.1 +-org.jenkins-ci:symbol-annotation:1.1 and +-org.jenkins-ci.plugins:variant:1.4-SNAPSHOT +-org.jenkins-ci.plugins:credentials:2.3.14 +-org.jenkins-ci.plugins:structs:1.20 +-org.jenkins-ci:symbol-annotation:1.20 ``` --- pom.xml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/pom.xml b/pom.xml index 27d2ad1..532fb7b 100644 --- a/pom.xml +++ b/pom.xml @@ -55,6 +55,12 @@ 2.1.10 hpi test + + + org.jenkins-ci + symbol-annotation + +