I am developing a spring boot application in that am using application.yml configuration for Three different environment PROD/DEV/STAGE
am using maven to build as executable jar i need help in when am building
- for DEV environment the jar name should be abc-dev.jar
- for PROD environment the jar name should be abc-PROD.jar
am using mvn package -Dspring.profiles.active=dev
for building the application
how can i pick the application name dynamically and update in pom.xml file