jenkinsci / cdevents-plugin

The CDEvents Plugin for Jenkins allows interoperability between different CI/CD tools by adopting core CDF project specification
https://plugins.jenkins.io/cdevents/
Apache License 2.0
4 stars 9 forks source link

Update plugin BOMs and dependencies #5

Closed rorybakerfmr closed 10 months ago

rorybakerfmr commented 1 year ago

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
  2. 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>
  3. 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>
  4. Test your changes and address any issues (esp. Maven Enforcer or SpotBugs issues that may arise from updates)

    mvn clean verify
utkuertunc commented 11 months ago

@rorybakerfmr Hey Rory, please check my PR about this issue. https://github.com/jenkinsci/cdevents-plugin/pull/11

rorybakerfmr commented 10 months ago

Looks good to me! Thank you