Skip to content

Switch to nexus plugin for releases #235

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

Merged
merged 1 commit into from
Feb 19, 2024

Conversation

JonasKunz
Copy link
Contributor

The maven-deploy-plugin requires a manual promotion of the artifacts via the OSS Sonatype UI.
To avoid this manual step, this PR switches to the nexus plugin for deploying.

This PR is based on the usage of the nexus plugin in apm-agent-java, so hopefully it should work out of the box.

@github-actions github-actions bot added agent-java community Issues and PRs created by the community triage Issues and PRs that need to be triaged labels Feb 19, 2024
<module>jboss-logmanager-ecs-formatter</module>
<module>log4j2-legacy-tests</module>
<module>log4j-legacy-tests</module>
<module>logback-legacy-tests</module>
<module>jul-ecs-formatter</module>
<!-- IMPORTANT:
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In case the order is not correct, what is the usual symptom and what are the implications ? does it means a failed pipeline or having to re-start the whole release execution ?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The result will be that the release is not published on maven-central: It won't be promoted from staging.

This will be detected by #236 , so it is easy to simply abort the release, fix the module order and restart the release workflow.

@JonasKunz JonasKunz merged commit 8ee34b9 into elastic:main Feb 19, 2024
@JonasKunz JonasKunz deleted the nexus-release-plugin branch February 19, 2024 13:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
agent-java community Issues and PRs created by the community triage Issues and PRs that need to be triaged
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants