diff options
author | Martin Stockhammer <martin_s@apache.org> | 2018-05-01 20:19:20 +0200 |
---|---|---|
committer | Martin Stockhammer <martin_s@apache.org> | 2018-05-01 20:19:20 +0200 |
commit | 8b16d7b24a805d80fee1e20ea58c9c310f037650 (patch) | |
tree | 7767ec40f8c5c884828115e1cde2d05c45d073b6 /archiva-modules/archiva-base | |
parent | aa9f78d8138f12f29cc7b3775bfcea2e296ee874 (diff) | |
download | archiva-8b16d7b24a805d80fee1e20ea58c9c310f037650.tar.gz archiva-8b16d7b24a805d80fee1e20ea58c9c310f037650.zip |
Changing path for url cache
Diffstat (limited to 'archiva-modules/archiva-base')
4 files changed, 22 insertions, 2 deletions
diff --git a/archiva-modules/archiva-base/archiva-converter/pom.xml b/archiva-modules/archiva-base/archiva-converter/pom.xml index 98a7abe04..91d1cc6ee 100644 --- a/archiva-modules/archiva-base/archiva-converter/pom.xml +++ b/archiva-modules/archiva-base/archiva-converter/pom.xml @@ -138,6 +138,16 @@ </instructions> </configuration> </plugin> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-surefire-plugin</artifactId> + <configuration> + <systemPropertyVariables> + <basedir>${basedir}</basedir> + <appserver.base>${project.build.directory}/appserver-base</appserver.base> + </systemPropertyVariables> + </configuration> + </plugin> </plugins> <pluginManagement> <plugins> diff --git a/archiva-modules/archiva-base/archiva-policies/src/main/resources/META-INF/spring-context.xml b/archiva-modules/archiva-base/archiva-policies/src/main/resources/META-INF/spring-context.xml index 7ed448f65..676edf7e9 100644 --- a/archiva-modules/archiva-base/archiva-policies/src/main/resources/META-INF/spring-context.xml +++ b/archiva-modules/archiva-base/archiva-policies/src/main/resources/META-INF/spring-context.xml @@ -39,7 +39,7 @@ destroy-method="dispose"> <property name="diskExpiryThreadIntervalSeconds" value="600"/> <property name="diskPersistent" value="true"/> - <property name="diskStorePath" value="${java.io.tmpdir}/archiva/urlcache"/> + <property name="diskStorePath" value="${appserver.base}/tmp/urlcache"/> <property name="maxElementsInMemory" value="1000"/> <property name="memoryEvictionPolicy" value="LRU"/> <property name="name" value="url-failures-cache"/> diff --git a/archiva-modules/archiva-base/archiva-proxy/src/test/resources/spring-context.xml b/archiva-modules/archiva-base/archiva-proxy/src/test/resources/spring-context.xml index 65599f758..e8781bc86 100755 --- a/archiva-modules/archiva-base/archiva-proxy/src/test/resources/spring-context.xml +++ b/archiva-modules/archiva-base/archiva-proxy/src/test/resources/spring-context.xml @@ -71,7 +71,7 @@ destroy-method="dispose"> <property name="diskExpiryThreadIntervalSeconds" value="600"/> <property name="diskPersistent" value="false"/> - <property name="diskStorePath" value="${java.io.tmpdir}/archiva/urlcache"/> + <property name="diskStorePath" value="${appserver.base}/tmp/urlcache"/> <property name="maxElementsInMemory" value="1000"/> <property name="memoryEvictionPolicy" value="LRU"/> <property name="name" value="url-failures-cache"/> diff --git a/archiva-modules/archiva-base/archiva-repository-scanner/pom.xml b/archiva-modules/archiva-base/archiva-repository-scanner/pom.xml index 8bb08b9f7..7b76e7b74 100644 --- a/archiva-modules/archiva-base/archiva-repository-scanner/pom.xml +++ b/archiva-modules/archiva-base/archiva-repository-scanner/pom.xml @@ -88,6 +88,16 @@ </instructions> </configuration> </plugin> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-surefire-plugin</artifactId> + <configuration> + <systemPropertyVariables> + <basedir>${basedir}</basedir> + <appserver.base>${project.build.directory}/appserver-base</appserver.base> + </systemPropertyVariables> + </configuration> + </plugin> </plugins> <pluginManagement> <plugins> |