Skip to content

Latest commit

 

History

History
13 lines (10 loc) · 434 Bytes

README.adoc

File metadata and controls

13 lines (10 loc) · 434 Bytes

Spring Boot Sample

Specify the development and local profile on startup.

IDE

Add the -Dspring.profiles.active=development,local JVM property.

Maven

When using spring-boot:run specify the -Dspring-boot.run.profiles=development,local JVM property.

mvn spring-boot:run -Dspring-boot.run.profiles=development,local

Mind the difference between -Dspring.profiles.active=…​ and -Dspring-boot.run.profiles=…​