Skip to content

Latest commit

 

History

2 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 

Repository files navigation

spring-environment-variables

example project of spring + maven to read environment variables

requirements

  • maven
  • java 8

usage

mvn package
# on Windows
SET myproperty=ANYVALUE
# on Linux
export myproperty=ANYVALUE 
java -jar target/spring-environment-variables-1.0-SNAPSHOT-jar-with-dependencies.jar

You should see the value of the variable "myproperty" being displayed in the console

About

example project of spring + maven to read environment variables

Topics

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages