From 71196f3125dd747898966b9908afef047604a1a9 Mon Sep 17 00:00:00 2001 From: Martin Stockhammer Date: Thu, 25 Jun 2020 22:41:56 +0200 Subject: [PATCH] Dependency cleanup of rss --- .../archiva-web/archiva-rss/pom.xml | 82 +++++++++++------ .../src/test/resources/log4j2-test.xml | 90 +++++++++++++++++++ .../archiva-webapp/src/test/log4j2-test.xml | 6 +- status-dep.txt | 3 + 4 files changed, 153 insertions(+), 28 deletions(-) create mode 100644 archiva-modules/archiva-web/archiva-rss/src/test/resources/log4j2-test.xml diff --git a/archiva-modules/archiva-web/archiva-rss/pom.xml b/archiva-modules/archiva-web/archiva-rss/pom.xml index 4c84df156..048f26926 100644 --- a/archiva-modules/archiva-web/archiva-rss/pom.xml +++ b/archiva-modules/archiva-web/archiva-rss/pom.xml @@ -18,7 +18,8 @@ ~ under the License. --> - + archiva-web org.apache.archiva @@ -42,12 +43,17 @@ metadata-repository-api - commons-io - commons-io + org.apache.archiva + metadata-model + + + + org.springframework + spring-context - org.slf4j - slf4j-api + javax.inject + javax.inject com.rometools @@ -90,36 +96,62 @@ easymock test - - org.xmlunit - xmlunit-core - test - - - org.slf4j - slf4j-simple - test - org.apache.archiva archiva-test-utils ${project.version} test - - - org.apache.logging.log4j - log4j-jcl - test org.springframework spring-test test - - org.apache.archiva.components.cache - archiva-components-spring-cache-ehcache - test - + + + + + + + org.apache.rat + apache-rat-plugin + + + src/test/repositories/test-repo/** + src/test/repositories/snapshot-repo/** + + + + + + + + org.apache.maven.plugins + maven-surefire-plugin + + false + + -Xms512m -Xmx1024m -server -XX:MaxPermSize=256m + + ${project.build.directory}/appserver-base + ${project.build.directory}/appserver-base + ${project.build.directory}/appserver-base + ${basedir}/target/archiva.xml + ${project.build.testOutputDirectory} + ${redbackTestJdbcUrl} + ${redbackTestJdbcDriver} + ${basedir} + ${project.version} + true + true + test + ${openjpa.Log} + + + + + diff --git a/archiva-modules/archiva-web/archiva-rss/src/test/resources/log4j2-test.xml b/archiva-modules/archiva-web/archiva-rss/src/test/resources/log4j2-test.xml new file mode 100644 index 000000000..e539b748a --- /dev/null +++ b/archiva-modules/archiva-web/archiva-rss/src/test/resources/log4j2-test.xml @@ -0,0 +1,90 @@ + + + + + + + + ${sys:appserver.base:-target}/logs + + + + + + + + + + %d [%t] %-5p %c %x - %m%n + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/archiva-modules/archiva-web/archiva-webapp/src/test/log4j2-test.xml b/archiva-modules/archiva-web/archiva-webapp/src/test/log4j2-test.xml index 6aec4401d..e36a83fc7 100644 --- a/archiva-modules/archiva-web/archiva-webapp/src/test/log4j2-test.xml +++ b/archiva-modules/archiva-web/archiva-webapp/src/test/log4j2-test.xml @@ -22,11 +22,11 @@ - ${sys:appserver.base}/logs + ${sys:appserver.base:-target}/logs - + @@ -92,7 +92,7 @@ --> - + diff --git a/status-dep.txt b/status-dep.txt index 9c0428a45..0603ef83d 100644 --- a/status-dep.txt +++ b/status-dep.txt @@ -61,6 +61,9 @@ archiva-modules archiva-web archiva-rest archiva-rest-api + archiva-rest-services + archiva-web-common + archiva-rss -- 2.39.5