BWCE-8783 Support [MACIF SAM] : Customer facing issue with changing the snapsho… #752
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.
****What's this Pull request about?
Create module, application, shared module. Generate parent pom. in module project add shared module as dependency.
Execute maven install or package and create ear.
Now change the version of the project in all POMs from 1.0.0-SNAPSHOT to 2.0.0-SNAPSHOT.
Now trigger maven install or package. The generated jar for the module will have dependency version of shared module as 1.0.0 even though
it is changed now to 2.0.0.
Due to this when the ear is deployed on to docker, the application failed to start.
****Which Issue(s) this Pull Request will fix?
The dependency version is updated to match the version of the shared module. The manifest is generated with modifications required.
****Does this pull request maintain backward compatibility?
All the artifacts created, manifests were generated and build is successful.
****How this pull request has been tested?