Skip to content

Automate publishing of DefectDojo Java Client release to maven central #35

Closed

Activity

  1. converted this from a draft issue on May 23, 2023
  2. J12934 commented on May 23, 2023

    @J12934
    Member

    Mhh? It's automated: https://github.com/secureCodeBox/defectdojo-client-java/blob/main/.github/workflows/publish.yml
    Getting automatically published when a github release is created. @Weltraumschaf

  3. Weltraumschaf commented on May 23, 2023

    @Weltraumschaf
    MemberAuthor

    Build is automated, but there is no such release in Maven Central.

  4. J12934 commented on May 23, 2023

    @J12934
    Member

    @Weltraumschaf should publish to maven central when the release doesn't contain snapshot
    https://github.com/secureCodeBox/defectdojo-client-java/blob/main/build.gradle#L81

  5. Weltraumschaf commented on May 23, 2023

    @Weltraumschaf
    MemberAuthor

    Long time ago (~4 years) @rseedorff requested access to Maven Central. They said we should release some SNAPSHOT versions before they grant us access to the public repo. Now we should hook up this process.

  6. Weltraumschaf commented on May 23, 2023

    @Weltraumschaf
    MemberAuthor

    Found the Sonatype OSSRH issue:

    Looks like everything is prepared to perform a release. @rseedorff do you have the GPG key to sign the jars? Do you have your Jira Account working and can login here?

  7. moved this from Todo to In Progress in secureCodeBoxon May 23, 2023
  8. Weltraumschaf commented on May 23, 2023

    @Weltraumschaf
    MemberAuthor

    We also need to meet some requirements:

    • Supply Javadoc and Sources
    • Provide Files Checksums
    • Sign Files with GPG/PGP
    • Sufficient Metadata

    Documentation how to do this with Gradle.

  9. changed the title [-]Automate Relase of DefectDojo Java Client[/-] [+]Automate publishing of DefectDojo Java Client release to maven central[/+] on May 24, 2023
  10. Weltraumschaf commented on Jun 5, 2023

    @Weltraumschaf
    MemberAuthor

    I've raised an comment in the OSSRH issue and asked how to add more maintainers.

  11. Weltraumschaf commented on Jun 7, 2023

    @Weltraumschaf
    MemberAuthor

    @J12934 and me now have publish rights to our Sonatype staging repo. Now we can test a first release.

  12. Weltraumschaf commented on Jun 28, 2023

    @Weltraumschaf
    MemberAuthor
  13. added a commit that references this issue on Jun 28, 2023
  14. 45 remaining items

  15. added 2 commits that reference this issue on Aug 2, 2023
  16. moved this from Done to In Progress in secureCodeBoxon Aug 3, 2023
  17. Weltraumschaf commented on Aug 3, 2023

    @Weltraumschaf
    MemberAuthor

    We decided to change from Gradle to Maven bc full automatic release is not feasible int the we want it. We tried now for merely a week to get it work. With Maven it seems way more easier.

  18. moved this from In Progress to Backlog in secureCodeBoxon Aug 3, 2023
  19. moved this from Backlog to In Progress in secureCodeBoxon Aug 3, 2023
  20. added 3 commits that reference this issue on Aug 7, 2023
  21. Zero3141 commented on Aug 7, 2023

    @Zero3141
    Contributor

    Problem: We enforce two status checks (DCO & Java Tests) to pass before merging. We already allowed the SCB Bot (who performs the push commit in which the version is bumped in the pom.xml) to push on the main branch. However, this setting mentions that Required status checks will still prevent these people, teams, and apps from merging if the checks fail..

    It seems like that this issue is a general issue, see this discussion.

  22. Zero3141 commented on Aug 10, 2023

    @Zero3141
    Contributor

    We have weakened the branch protection rules to decouple the release process from Issue 157.

  23. Weltraumschaf commented on Aug 10, 2023

    @Weltraumschaf
    MemberAuthor

    @Zero3141 Can we add to the action that it updates the version in the README.md?

  24. moved this from In Progress to Done in secureCodeBoxon Aug 10, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions