Created
April 3, 2020 01:22
-
-
Save rekhubs/15129eee57de7b3a7e7d3f7dd2c83741 to your computer and use it in GitHub Desktop.
spring boot mvn plugn - select profile and jvm options and others - 1.x vs 2.x
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1.5.x | |
https://docs.spring.io/spring-boot/docs/1.5.13.RELEASE/maven-plugin/run-mojo.html | |
options using run.xxx | |
run.jvmArguments | |
run.profile | |
The spring profiles to activate. Convenience shortcut of specifying the 'spring.profiles.active' argument. On command line use commas to separate multiple profiles. | |
User property is: run.profiles. | |
mvn clean spring-boot:run -Dspring.profiles.active=local -Drun.jvmArguments="-Xmx512m" | |
mvn clean spring-boot:run -Drun.profiles=local -Drun.jvmArguments="-Xmx512m" | |
2.2.x | |
https://docs.spring.io/spring-boot/docs/2.2.6.RELEASE/maven-plugin/run-mojo.html | |
spring-boot.run.profiles | |
spring-boot.run.jvmArguments | |
The spring profiles to activate. Convenience shortcut of specifying the 'spring.profiles.active' argument. On command line use commas to separate multiple profiles. | |
User property is: spring-boot.run.profiles. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment