Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Avoid Enforcer errors in dependent plugins #150

Merged
merged 1 commit into from
Jan 5, 2022

Conversation

basil
Copy link
Member

@basil basil commented Jan 4, 2022

Similar to #147. Avoids these Enforcer errors in downstream plugins:

Require upper bound dependencies error for javax.annotation:javax.annotation-api:1.2 [provided] paths to dependency are:
+-org.jenkins-ci.plugins:github-oauth:0.37-SNAPSHOT
  +-org.jenkins-ci.main:jenkins-core:2.289.1 [provided]
    +-org.kohsuke.stapler:stapler:1.263 [provided] (managed) <-- org.kohsuke.stapler:stapler:1.263 [provided]
      +-javax.annotation:javax.annotation-api:1.2 [provided]
and
+-org.jenkins-ci.plugins:github-oauth:0.37-SNAPSHOT
  +-org.jenkins-ci.plugins:matrix-project:1.19
    +-org.jenkins-ci.plugins:junit:1.53 (managed) <-- org.jenkins-ci.plugins:junit:1.47
      +-io.jenkins.plugins:plugin-util-api:2.9.0 (managed) <-- io.jenkins.plugins:plugin-util-api:2.4.0
        +-edu.hm.hafner:codingstyle:2.14.0 [provided]
          +-javax.annotation:javax.annotation-api:1.3.2 [provided]

@uhafner uhafner merged commit 0f47fa4 into jenkinsci:master Jan 5, 2022
@jglick
Copy link
Member

jglick commented Jan 5, 2022

Could this be released as well?

@uhafner
Copy link
Member

uhafner commented Jan 5, 2022

Yes! I'm currently deploying to my local Jenkins instance and testing. Should be available soon.

@uhafner uhafner added dependencies Update of dependencies java Pull requests that update Maven Java dependencies labels Jan 5, 2022
@basil basil deleted the annotation-api branch January 5, 2022 15:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Update of dependencies java Pull requests that update Maven Java dependencies
Projects
None yet
4 participants