Update Maven deploy plugin to fix deployAtEnd issue #42
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Problem
deployAtEnd
is desirable for our build system because it keeps the produced libraries consistent for a commit, reducing the risk of out of sync components caused by partial builds. However, due to the use of this configuration in the pom.xml files, the original Maven deploy plugin version does not actually deploy the built artifacts:Solution
Upgrade the version of maven-deploy-plugin in use from
2.8.1
to3.1.1
. This behavior was fixed in Maven Deploy Plugin 3.1.0 (MDEPLOY-226).Testing
This build used the updated version of the deploy plugin: https://private.hubteam.com/blazar/branches/10108237/builds/6/modules/hadoop
It correctly deployed during the invocation of the last module. I also verified the artifact could be downloaded from Nexus.
Working changes