</instructions> | </instructions> | ||||
</configuration> | </configuration> | ||||
</plugin> | </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> | </plugins> | ||||
<pluginManagement> | <pluginManagement> | ||||
<plugins> | <plugins> |
destroy-method="dispose"> | destroy-method="dispose"> | ||||
<property name="diskExpiryThreadIntervalSeconds" value="600"/> | <property name="diskExpiryThreadIntervalSeconds" value="600"/> | ||||
<property name="diskPersistent" value="true"/> | <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="maxElementsInMemory" value="1000"/> | ||||
<property name="memoryEvictionPolicy" value="LRU"/> | <property name="memoryEvictionPolicy" value="LRU"/> | ||||
<property name="name" value="url-failures-cache"/> | <property name="name" value="url-failures-cache"/> |
destroy-method="dispose"> | destroy-method="dispose"> | ||||
<property name="diskExpiryThreadIntervalSeconds" value="600"/> | <property name="diskExpiryThreadIntervalSeconds" value="600"/> | ||||
<property name="diskPersistent" value="false"/> | <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="maxElementsInMemory" value="1000"/> | ||||
<property name="memoryEvictionPolicy" value="LRU"/> | <property name="memoryEvictionPolicy" value="LRU"/> | ||||
<property name="name" value="url-failures-cache"/> | <property name="name" value="url-failures-cache"/> |
</instructions> | </instructions> | ||||
</configuration> | </configuration> | ||||
</plugin> | </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> | </plugins> | ||||
<pluginManagement> | <pluginManagement> | ||||
<plugins> | <plugins> |
<configuration> | <configuration> | ||||
<systemPropertyVariables> | <systemPropertyVariables> | ||||
<archiva.repositorySessionFactory.id>mock</archiva.repositorySessionFactory.id> | <archiva.repositorySessionFactory.id>mock</archiva.repositorySessionFactory.id> | ||||
<appserver.base>${project.build.directory}/appserver-base</appserver.base> | |||||
</systemPropertyVariables> | </systemPropertyVariables> | ||||
</configuration> | </configuration> | ||||
</plugin> | </plugin> |
destroy-method="dispose"> | destroy-method="dispose"> | ||||
<property name="diskExpiryThreadIntervalSeconds" value="600"/> | <property name="diskExpiryThreadIntervalSeconds" value="600"/> | ||||
<property name="diskPersistent" value="true"/> | <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="maxElementsInMemory" value="1000"/> | ||||
<property name="memoryEvictionPolicy" value="LRU"/> | <property name="memoryEvictionPolicy" value="LRU"/> | ||||
<property name="name" value="url-failures-cache"/> | <property name="name" value="url-failures-cache"/> |
</execution> | </execution> | ||||
</executions> | </executions> | ||||
</plugin> | </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> | </plugins> | ||||
</build> | </build> | ||||
</project> | </project> |