mirror of https://github.com/apache/archiva.git
[MRM-1792] Integrate Apache Sirona Monitoring
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1540597 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
4b5e0379a5
commit
1f5321ce2a
|
@ -40,6 +40,7 @@ import org.junit.Test;
|
|||
import org.junit.runner.RunWith;
|
||||
|
||||
import java.io.File;
|
||||
import java.io.IOException;
|
||||
import java.util.Arrays;
|
||||
import java.util.List;
|
||||
|
||||
|
@ -55,9 +56,12 @@ public class DownloadMergedIndexTest
|
|||
|
||||
@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
|
||||
|
|
|
@ -33,6 +33,8 @@
|
|||
|
||||
<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>
|
||||
|
|
|
@ -594,6 +594,31 @@
|
|||
</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>
|
||||
|
@ -1001,6 +1026,7 @@
|
|||
<path>${tomcatRunPath}</path>
|
||||
<contextFile>${tomcatContextXml}</contextFile>
|
||||
<useTestClasspath>false</useTestClasspath>
|
||||
|
||||
<systemProperties>
|
||||
<plexus.home>${archivaAppServerBase}</plexus.home>
|
||||
<appserver.base>${archivaAppServerBase}</appserver.base>
|
||||
|
|
|
@ -31,6 +31,17 @@
|
|||
</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>
|
||||
|
|
32
pom.xml
32
pom.xml
|
@ -85,6 +85,8 @@
|
|||
<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>
|
||||
|
@ -910,6 +912,36 @@
|
|||
<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>
|
||||
|
|
Loading…
Reference in New Issue