Build program ---> mvn clean install
Run Project ----> mvn clean package
Set properties.yml file
------------------------------------------------------------------
spring:
profiles:dev
server:
port:8000
---
spring:
profiles:test
server:
port:9000
------------------------------------------------------------------
Set Environment variable(dev or test) environment using following ncommand:
or How to pass Environment variable to JVM
No comments:
Post a Comment