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

Update plugin BOMs and dependencies #5

Closed
rorybakerfmr opened this issue May 13, 2023 · 2 comments
Closed

Update plugin BOMs and dependencies #5

rorybakerfmr opened this issue May 13, 2023 · 2 comments
Assignees
Labels
good first issue Good for newcomers

Comments

@rorybakerfmr
Copy link
Member

This issue reserved for Fidelity Open Source Workshop

https://www.jenkins.io/doc/developer/plugin-development/dependency-management/

In order to keep this plugin up to date, we need to update it's declared dependencies. You can review the documentation at the link above for a general overview of this process.

  1. Update the Jenkins core BOM:
mvn versions:update-parent
  1. Update the plugin BOM (see Jenkins bom/releases) to the latest version in the <dependencyManagement> section of pom.xml (at this time, the latest is 2081.v85885a_d2e5c5):
    <dependencyManagement>
        <dependencies>
            <dependency>
                <groupId>io.jenkins.tools.bom</groupId>
                <artifactId>bom-2.375.x</artifactId>
                <version>LATEST VERSION GOES HERE</version>
                <type>pom</type>
                <scope>import</scope>
            </dependency>
        </dependencies>
    </dependencyManagement>
  1. We have a fixed dependency on org.jenkins-ci.plugins:aws-java-sdk that should be updated. Check the Jenkins AWS SDK Plugin releases page to find the latest version (1.12.447-382.vda_68e2007233 at this time). Update this in the <dependencies> section if a new version has been released.
        <dependency>
            <groupId>org.jenkins-ci.plugins</groupId>
            <artifactId>aws-java-sdk</artifactId>
            <version>LATEST VERSION GOES HERE</version>
            <optional>true</optional>
        </dependency>
  1. Test your changes and address any issues (esp. Maven Enforcer or SpotBugs issues that may arise from updates)
mvn clean verify
@rorybakerfmr rorybakerfmr added the good first issue Good for newcomers label May 13, 2023
@rorybakerfmr rorybakerfmr self-assigned this May 13, 2023
@utkuertunc
Copy link
Contributor

@rorybakerfmr Hey Rory, please check my PR about this issue. #11

@rorybakerfmr
Copy link
Member Author

Looks good to me! Thank you

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

2 participants