Let's assume that we have a maven project with following structure:
projectAlfa (e.g. Snapshot)
- componentA
- componentB
- componentC
In the middle of the deployment phase (e.g. when uploading ComponentC) of artefacts to Nexus, the Jenkins job fails due to network problems.
Questions:
Ok, I start to understand.
If you build the project, and A and B get deployed, but C not, then the latest SNAPSHOT of A and B will belong to a different commit hash than the one of C.
The maven deploy plugin has an experimental "deployAtEnd" parameter to avoid that.