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

Deployed timestamped snapshot version does not change #672

Closed
jglick opened this issue Aug 4, 2022 · 2 comments
Closed

Deployed timestamped snapshot version does not change #672

jglick opened this issue Aug 4, 2022 · 2 comments

Comments

@jglick
Copy link
Contributor

jglick commented Aug 4, 2022

mvn deploy
# edit some file
mvn deploy

(3.8.6) on a *-SNAPSHOT project using nexus-staging-maven-plugin will deploy snapshots with two different versions (…-1 and …-2), as expected. But

mvnd deploy
# edit some file
mvnd deploy

(0.7.1) seems to redeploy the same timestamped version (…-1). Maybe whatever inside Maven holds a consistent version number across reactor modules (recently added) is improperly being cached?

@gnodet
Copy link
Contributor

gnodet commented Aug 30, 2022

Fwiw, the nexus-staging-maven-plugin uses very old maven api, I would advise to switch to the standard deploy plugin instead.
Also a way to reproduce the problem would be required to identify where the problem comes from.

@jglick
Copy link
Contributor Author

jglick commented Aug 30, 2022

the nexus-staging-maven-plugin uses very old maven api

OK, then unclear where fault may lie. Timestamped snapshots are always a mess anyway. CC @stephenc @jtnord

switch to the standard deploy plugin

Not an option if you need to automate interactions with Nexus I am afraid—opening a staging repository, grouping changes, closing it, promoting it to release.

a way to reproduce the problem

Anyway it seems I cannot reproduce on demand.

@jglick jglick closed this as not planned Won't fix, can't repro, duplicate, stale Aug 30, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants