From: Olivier Lamy Date: Mon, 11 Nov 2013 03:58:39 +0000 (+0000) Subject: [MRM-1792] Integrate Apache Sirona Monitoring X-Git-Tag: archiva-2.0.0-RC1~232 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=1f5321ce2a6e091bc3cad8fe005ebf73aa734e78;p=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 --- diff --git a/archiva-modules/archiva-web/archiva-web-common/src/test/java/org/apache/archiva/DownloadMergedIndexTest.java b/archiva-modules/archiva-web/archiva-web-common/src/test/java/org/apache/archiva/DownloadMergedIndexTest.java index 10bbc7181..a63e6e250 100644 --- a/archiva-modules/archiva-web/archiva-web-common/src/test/java/org/apache/archiva/DownloadMergedIndexTest.java +++ b/archiva-modules/archiva-web/archiva-web-common/src/test/java/org/apache/archiva/DownloadMergedIndexTest.java @@ -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 diff --git a/archiva-modules/archiva-web/archiva-web-common/src/test/resources/log4j2-test.xml b/archiva-modules/archiva-web/archiva-web-common/src/test/resources/log4j2-test.xml index 43ffe6376..323c93f00 100644 --- a/archiva-modules/archiva-web/archiva-web-common/src/test/resources/log4j2-test.xml +++ b/archiva-modules/archiva-web/archiva-web-common/src/test/resources/log4j2-test.xml @@ -33,6 +33,8 @@ + + diff --git a/archiva-modules/archiva-web/archiva-webapp/pom.xml b/archiva-modules/archiva-web/archiva-webapp/pom.xml index 355459322..f23a29f61 100644 --- a/archiva-modules/archiva-web/archiva-webapp/pom.xml +++ b/archiva-modules/archiva-web/archiva-webapp/pom.xml @@ -594,6 +594,31 @@ + + + + org.apache.sirona + sirona-core + + + org.apache.sirona + sirona-jdbc + + + org.apache.sirona + sirona-web + + + org.apache.sirona + sirona-spring + + + org.apache.sirona + sirona-reporting + classes + + + cglib cglib @@ -1001,6 +1026,7 @@ ${tomcatRunPath} ${tomcatContextXml} false + ${archivaAppServerBase} ${archivaAppServerBase} diff --git a/archiva-modules/archiva-web/archiva-webapp/src/main/webapp/WEB-INF/web.xml b/archiva-modules/archiva-web/archiva-webapp/src/main/webapp/WEB-INF/web.xml index 8d8515292..240248035 100644 --- a/archiva-modules/archiva-web/archiva-webapp/src/main/webapp/WEB-INF/web.xml +++ b/archiva-modules/archiva-web/archiva-webapp/src/main/webapp/WEB-INF/web.xml @@ -31,6 +31,17 @@ + + + org.apache.sirona.reporting.activated + true + + + + org.apache.sirona.reporting.mapping + /sirona-monitoring + + encodingFilter org.springframework.web.filter.CharacterEncodingFilter diff --git a/pom.xml b/pom.xml index 81772a3a9..3bfbe9dc2 100644 --- a/pom.xml +++ b/pom.xml @@ -85,6 +85,8 @@ 3.6.2 2.6.3 + 0.1-incubating-SNAPSHOT + 2.6.10 10.10.1.1 4.3.1 @@ -910,6 +912,36 @@ ant 1.8.3 + + + + + org.apache.sirona + sirona-core + ${sirona.version} + + + org.apache.sirona + sirona-jdbc + ${sirona.version} + + + org.apache.sirona + sirona-spring + ${sirona.version} + + + org.apache.sirona + sirona-web + ${sirona.version} + + + org.apache.sirona + sirona-reporting + ${sirona.version} + classes + + org.codehaus.plexus plexus-utils