Skip to content

BWCE-8783 Support [MACIF SAM] : Customer facing issue with changing the snapsho… #752

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

lshivara-tibco
Copy link
Collaborator

****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?

  1. Create a simple project with a shared module or import the project.
  2. Mavenize first the Shared Module and then the application.
  3. Now change the snapshot version from "1.0.0-SNAPSHOT" to "2.0.0-SNAPSHOT" in all the pom files present in the project.
  4. Create the ear using Maven install.
  5. Deploy the EAR with BWCE 210 base image.
  6. There will be no issues.

@lshivara-tibco lshivara-tibco changed the title Support [MACIF SAM] : Customer facing issue with changing the snapsho… BWCE-8783 Support [MACIF SAM] : Customer facing issue with changing the snapsho… Apr 25, 2025
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

Successfully merging this pull request may close these issues.

1 participant