Skip to content

Instantly share code, notes, and snippets.

@didyhu
Created May 23, 2016 10:03
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save didyhu/a2c8f6359a015c018f50943304a34ffc to your computer and use it in GitHub Desktop.
Save didyhu/a2c8f6359a015c018f50943304a34ffc to your computer and use it in GitHub Desktop.
Passing env arguments using maven with spring boot
java -jar xxx.jar --server.port=80
mvn spring-boot:run -Drun.jvmArguments="-Dserver.port=80"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment