GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Automate publishing of DefectDojo Java Client release to maven central · Issue #35 · secureCodeBox/defectdojo-client-java

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

New issue
Copy link
New issue
Copy link
Closed
#73
Closed
Automate publishing of DefectDojo Java Client release to maven central#35
#73
Copy link
Assignees
WeltraumschafZero3141

Description

@Weltraumschaf
Weltraumschaf
opened on May 23, 2023
Issue body actions
  • https://docs.gradle.org/current/userguide/github-actions.html
  • https://github.com/gradle/gradle-build-action

Activity

Next
  1. Weltraumschaf
    added this to secureCodeBoxon May 23, 2023
  2. Weltraumschaf
    converted this from a draft issue on May 23, 2023
  3. Weltraumschaf
    self-assigned this
    on May 23, 2023
  4. J12934 commented on May 23, 2023

    @J12934
    J12934
    on May 23, 2023
    Member
    More actions

    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

  5. Weltraumschaf commented on May 23, 2023

    @Weltraumschaf
    Weltraumschaf
    on May 23, 2023
    MemberAuthor
    More actions

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

  6. J12934 commented on May 23, 2023

    @J12934
    J12934
    on May 23, 2023
    Member
    More actions

    @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

  7. Weltraumschaf commented on May 23, 2023

    @Weltraumschaf
    Weltraumschaf
    on May 23, 2023
    MemberAuthor
    More actions

    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.

  8. Weltraumschaf commented on May 23, 2023

    @Weltraumschaf
    Weltraumschaf
    on May 23, 2023
    MemberAuthor
    More actions

    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?

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

    @Weltraumschaf
    Weltraumschaf
    on May 23, 2023
    MemberAuthor
    More actions

    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.

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

    @Weltraumschaf
    Weltraumschaf
    on Jun 5, 2023
    MemberAuthor
    More actions

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

  13. Weltraumschaf commented on Jun 7, 2023

    @Weltraumschaf
    Weltraumschaf
    on Jun 7, 2023
    MemberAuthor
    More actions

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

  14. Weltraumschaf commented on Jun 28, 2023

    @Weltraumschaf
    Weltraumschaf
    on Jun 28, 2023
    MemberAuthor
    More actions

    Gradle documentaton from sonatype

  15. Weltraumschaf
    added a commit that references this issue on Jun 28, 2023

    secureCodeBox#35 Add basic formatting config

    a304ba9
  16. 45 remaining items

  17. Zero3141
    added 2 commits that reference this issue on Aug 2, 2023

    #35 Migrate from Gradle to Maven

    f7ddbd1

    #35 Add build information

    ac22827
  18. Weltraumschaf
    moved this from Done to In Progress in secureCodeBoxon Aug 3, 2023
  19. Weltraumschaf commented on Aug 3, 2023

    @Weltraumschaf
    Weltraumschaf
    on Aug 3, 2023
    MemberAuthor
    More actions

    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.

  20. Weltraumschaf
    reopened this on Aug 3, 2023
  21. github-project-automation
    moved this from In Progress to Backlog in secureCodeBoxon Aug 3, 2023
  22. Weltraumschaf
    moved this from Backlog to In Progress in secureCodeBoxon Aug 3, 2023
  23. Weltraumschaf
    added 3 commits that reference this issue on Aug 7, 2023

    #35 Please use a globale ignore file for common ignores

    4179bf1

    #35 Migrate from Gradle to Maven

    912bf15

    #35 Add build information

    040254d
  24. Zero3141 commented on Aug 7, 2023

    @Zero3141
    Zero3141
    on Aug 7, 2023
    Contributor
    More actions

    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.

  25. Zero3141 commented on Aug 10, 2023

    @Zero3141
    Zero3141
    on Aug 10, 2023
    Contributor
    More actions

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

  26. Weltraumschaf commented on Aug 10, 2023

    @Weltraumschaf
    Weltraumschaf
    on Aug 10, 2023
    MemberAuthor
    More actions

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

    • defectdojo-client-java/README.md

      Line 21 in 9a5811c

      <version>1.0.0.-beta2</version>
    • defectdojo-client-java/README.md

      Line 28 in 9a5811c

      implementation group: 'io.securecodebox', name: 'defectdojo-client', version: '1.0.0.-beta2'
  27. Weltraumschaf
    closed this as completedon Aug 10, 2023
  28. github-project-automation
    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

Assignees

  • @Weltraumschaf
    Weltraumschaf
  • @Zero3141
    Zero3141

Labels

No labels
No labels

Type

No type

Projects

  • secureCodeBox
    Status
    Done
    Show more project fields

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions

You are visitor 01402520 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.