You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 3 Next »

By default maven puts all of the jar files corresponding to the dependencies it downloads into ~/.maven directory. You can change this default behavior by creating a ~/build.properties file and including a definition of maven.home.local (see http://maven.apache.org/reference/properties.html)

In addition the lcsim tests download data files needed for testing. These are stored in ~/.cache by default. The root of the cache directory can be controlled by setting the property org.lcsim.cacheDir.

So an example of a suitable ~/build.properties directory would be

~/build.properties
maven.home.local=/scratch/.maven
org.lcsim.cacheDir=/scratch/.lcsim

Fix Me

Actually setting org.lcsim.cacheDir in this way does not work, setting it via MAVEN_OPTS works, but maybe there is a better way.

  • No labels