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

Duplicate "sources" and "javadocs" artefacts produced during a release build #590

Closed
brenuart opened this issue Aug 1, 2021 · 0 comments · Fixed by #596
Closed

Duplicate "sources" and "javadocs" artefacts produced during a release build #590

brenuart opened this issue Aug 1, 2021 · 0 comments · Fixed by #596
Milestone

Comments

@brenuart
Copy link
Collaborator

brenuart commented Aug 1, 2021

Two "sources" artefacts are produced during a release build.
A first one is created by the activation of the release-profile and a second by the maven-shade-plugin. Only the latter is created during a standard build.

Although the second overrides the first, both are attached to the build which causes a second attempt to upload/deploy the same artifact to the remote Maven repository. This is useless and may cause issues if the remote repository prevents release artifact from being overridden or if they were generated in the reverse order.

The build procedure should be reviewed to keep only the artifact produced by the shade plugin.

The same is true for the "javadoc" artifact.

@brenuart brenuart changed the title Duplicate "sources" artifact produced during a release build Duplicate "sources" and "javadocs" artefacts produced during a release build Aug 4, 2021
@philsttr philsttr added this to the 7.0 milestone Aug 28, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants