Skip to content

Multi-module update causing RequireUpperBoundDeps maven enforcer error #1807

Closed as not planned
@rantoniuk

Description

As I see in #222, Maven multi-module dependency updates are supported. However, it seems kind of update might cause RequireUpperBoundDeps maven enforcer error.
See example: jenkinsci/jira-plugin#228
and error from maven build:

[WARNING] Rule 5: 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:script-security:1.16 paths to dependency are:
+-org.jenkins-ci.plugins:jira:3.0.16-SNAPSHOT
  +-org.jenkins-ci.plugins:script-security:1.16
and
+-org.jenkins-ci.plugins:jira:3.0.16-SNAPSHOT
  +-org.jenkins-ci.plugins:matrix-project:1.14
    +-org.jenkins-ci.plugins:script-security:1.54
and
+-org.jenkins-ci.plugins:jira:3.0.16-SNAPSHOT
  +-org.jenkins-ci.plugins.workflow:workflow-job:2.0
    +-org.jenkins-ci.plugins.workflow:workflow-support:1.15
      +-org.jenkins-ci.plugins:script-security:1.16
]

I know this is configured via the enforcer in this case, but is it somehow possible to take this into consideration? Sounds also similar to #1545.

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions