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

Finalize the maven central publish process for ecocode-rules-specifications #266

Closed
dedece35 opened this issue Dec 29, 2023 · 2 comments
Closed
Assignees
Labels
🚀 enhancement New feature or request 🗒️ documentation Improvements or additions to documentation

Comments

@dedece35
Copy link
Member

Create / update documentation for the process "how to publish a new version of ecocode-rules-specifications to maven central " :

  • launch the manuel workflow "Publish package to Maven Central Repository" (Actions tab) on desired tag
  • because of no automatic publishing process (only now because of internal choice to first validate staging published version before public publish) :
    • go to Nexus "https://s01.oss.sonatype.org/#welcome" and login with personal account or generic one
    • go to "staging repository" tab, next check if new version publish is here
    • a new staging URL is avalaible to check it in one project
    • if ok, click on "deploy" to publish it on public maven central
    • => we can make this process automatic with changing a flag on pom.xml file

Currently, issue created because we cant login on Nexus Platfrom (but ok on JIRA plateform) : https://issues.sonatype.org/browse/OSSRH-97889
Once JIRA resolved and login ok with generic account, do following tasks to use new tokens (instead of @jycr personal tokens) :

  • clic on "profile"
  • go to "user token", next generate new
  • change values in github settings / secrets / actions for keys OSSRH_TOKEN (new password) and OSSRH_USERNAME (new login)
  • check all is OK : create a new release, launch publish workflow, deploy new version of artifact on Nexus UI
@dedece35 dedece35 self-assigned this Dec 29, 2023
@dedece35 dedece35 added 🗒️ documentation Improvements or additions to documentation 🚀 enhancement New feature or request labels Dec 29, 2023
@dedece35
Copy link
Member Author

update :

@dedece35
Copy link
Member Author

dedece35 commented Dec 30, 2023

update 2 :

  • upgrade pom.xml to enable automatic release
  • make a new release 1.4.6
  • launch workflow "publish to maven central" (Action tab) to check automatic publish on Maven central

All is OK.
Big thanks @jycr for help !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🚀 enhancement New feature or request 🗒️ documentation Improvements or additions to documentation
Projects
None yet
Development

No branches or pull requests

1 participant