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

[Bug]: stage-maven-release.sh process leaves artifacts in the upload directory #712

Closed
peternied opened this issue Oct 7, 2021 · 2 comments
Labels
bug Something isn't working

Comments

@peternied
Copy link
Member

After running stage-maven-release.sh a file is created that will automatically be uploaded if the script runs a second time, the upload process should be idempotent to prevent pollution of the environment or for a retry of the process.

Filename:

{SONATYPE_PROFILE_ID}.properties

File Contents:

#Generated by org.sonatype.plugins:nexus-staging-maven-plugin:1.6.5
#Thu Oct 07 02:31:22 UTC 2021
stagingRepository.id=orgopensearch-1012
stagingRepository.url=https\://aws.oss.sonatype.org\:443/content/repositories/orgopensearch-1012
stagingRepository.profileId={SONATYPE_PROFILE_ID}
stagingRepository.managed=false

See AbstractStagingDeployStrategy.java from org.sonatype.plugins:nexus-staging-maven-plugin where this is documented. It does not look like it can be disabled or the file location altered.

@peternied peternied added the bug Something isn't working label Oct 7, 2021
@peternied
Copy link
Member Author

Issue filed in NEXUS Jira - https://issues.sonatype.org/browse/NEXUS-29230

@bbarani
Copy link
Member

bbarani commented Aug 22, 2022

Closing this issue as we are noticing this issue anymore now.

@bbarani bbarani closed this as completed Aug 22, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants