 <p><strong>O.K. so I have a solution. I am not sure if it's good enough (since it's a little bit complicated) but whatever...</strong> <br/> <em>(If you have other solutions, they will be welcomed :-) )</em> <br/></p> <p>Steps:</p> <ol> <li>Use CMDB (Configuration management DB) for example puppet.</li> <li>Set the config and/or dependencies at the needed locations using (CMDB).</li> <li>Load this resources dynamically (within your code) and add them to your your classpath. The resource location will be taken via JVM parameter.</li> </ol>