I have a multi-module project in maven where other projects should use banks in accordance with the environment.
We have 4 types of protection 1.Dev 2.UAT 3.QA 4.PROD
There is a project that wants to use projectname-dev.jar for all three environments (i.e. dev, uat, QA) and projectname-prod.jar for PROD.
I did a google search for something like if-else logic that I can use in maven profiles.
I can create a new property for this particular project and change it to '-prod' when it goes into production, but this is an additional overhead that I donβt want to add.
Are there any plugins that I can use for this that will help me do the above work without adding any manual overhead.
thanks
source share