import org.junit.runner.RunWith;
import java.io.File;
+import java.io.IOException;
import java.util.Arrays;
import java.util.List;
@BeforeClass
public static void setAppServerBase()
+ throws IOException
{
previousAppServerBase = System.getProperty( "appserver.base" );
- System.setProperty( "appserver.base", "target/" + DownloadMergedIndexTest.class.getName() );
+ System.setProperty( "appserver.base",
+ new File( System.getProperty( "java.io.tmpdir" ) ).getCanonicalPath() + "/target/"
+ + DownloadMergedIndexTest.class.getName() );
}
@AfterClass
<logger name="org.apache.commons.configuration" level="error"/>
+ <logger name="org.apache.archiva.scheduler.indexing" level="debug"/>
+
<root level="info">
<appender-ref ref="console"/>
</root>
</exclusions>
</dependency>
+
+ <!-- sirona -->
+ <dependency>
+ <groupId>org.apache.sirona</groupId>
+ <artifactId>sirona-core</artifactId>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.sirona</groupId>
+ <artifactId>sirona-jdbc</artifactId>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.sirona</groupId>
+ <artifactId>sirona-web</artifactId>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.sirona</groupId>
+ <artifactId>sirona-spring</artifactId>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.sirona</groupId>
+ <artifactId>sirona-reporting</artifactId>
+ <classifier>classes</classifier>
+ </dependency>
+
+
<dependency>
<groupId>cglib</groupId>
<artifactId>cglib</artifactId>
<path>${tomcatRunPath}</path>
<contextFile>${tomcatContextXml}</contextFile>
<useTestClasspath>false</useTestClasspath>
+
<systemProperties>
<plexus.home>${archivaAppServerBase}</plexus.home>
<appserver.base>${archivaAppServerBase}</appserver.base>
</param-value>
</context-param>
+ <!-- to activate sirona -->
+ <context-param>
+ <param-name>org.apache.sirona.reporting.activated</param-name>
+ <param-value>true</param-value>
+ </context-param>
+
+ <context-param>
+ <param-name>org.apache.sirona.reporting.mapping</param-name>
+ <param-value>/sirona-monitoring</param-value>
+ </context-param>
+
<filter>
<filter-name>encodingFilter</filter-name>
<filter-class>org.springframework.web.filter.CharacterEncodingFilter</filter-class>
<lucene.version>3.6.2</lucene.version>
<jackrabbit.version>2.6.3</jackrabbit.version>
+ <sirona.version>0.1-incubating-SNAPSHOT</sirona.version>
+
<cxfVersion>2.6.10</cxfVersion>
<derbyVersion>10.10.1.1</derbyVersion>
<httpclient.version>4.3.1</httpclient.version>
<artifactId>ant</artifactId>
<version>1.8.3</version>
</dependency>
+
+
+ <!-- sirona -->
+ <dependency>
+ <groupId>org.apache.sirona</groupId>
+ <artifactId>sirona-core</artifactId>
+ <version>${sirona.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.sirona</groupId>
+ <artifactId>sirona-jdbc</artifactId>
+ <version>${sirona.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.sirona</groupId>
+ <artifactId>sirona-spring</artifactId>
+ <version>${sirona.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.sirona</groupId>
+ <artifactId>sirona-web</artifactId>
+ <version>${sirona.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.sirona</groupId>
+ <artifactId>sirona-reporting</artifactId>
+ <version>${sirona.version}</version>
+ <classifier>classes</classifier>
+ </dependency>
+
<dependency>
<groupId>org.codehaus.plexus</groupId>
<artifactId>plexus-utils</artifactId>