Java agent to load properties from a file. Open Source Java project under Apache License v2.0
Current Stable Version is 1.0.0
# java -javaagent:properties-agent.jar=[!]url[,[!]url] ...
java -javaagent:properties-agent.jar=https://server/config/system-properties.properties,!file:///etc/system-properties.properties ...
Exclamation mark will force overwrite system property with value from file, by default only non-existent keys are loaded.
<dependency>
<groupId>org.javastack</groupId>
<artifactId>properties-agent</artifactId>
<version>1.0.0</version>
</dependency>
Inspired in CatalinaProperties, this code is Java-minimalistic version.