From e95c1cd27dce8c161e08b16fd865a95f8316cf63 Mon Sep 17 00:00:00 2001 From: Martin Stockhammer Date: Wed, 17 Jun 2020 23:11:52 +0200 Subject: [PATCH] Cleanup dependencies of maven-repository --- .../archetype-resources/pom.xml | 12 +++ .../archiva-core-consumers/pom.xml | 10 +++ .../archiva-indexer-consumers/pom.xml | 10 +++ .../archiva-repository-admin-default/pom.xml | 10 +++ .../resources/META-INF/spring-context.xml | 33 +++++++ .../archiva-maven-indexer/pom.xml | 10 +++ .../archiva-maven-repository/pom.xml | 85 ++++++------------- .../archiva-web/archiva-security/pom.xml | 10 +++ 8 files changed, 123 insertions(+), 57 deletions(-) create mode 100644 archiva-modules/archiva-maven/archiva-maven-common/src/main/resources/META-INF/spring-context.xml diff --git a/archiva-modules/archiva-base/archiva-consumers/archiva-consumer-archetype/src/main/resourcesstatic/archetype-resources/pom.xml b/archiva-modules/archiva-base/archiva-consumers/archiva-consumer-archetype/src/main/resourcesstatic/archetype-resources/pom.xml index 3224bb4a5..dec0cfd53 100644 --- a/archiva-modules/archiva-base/archiva-consumers/archiva-consumer-archetype/src/main/resourcesstatic/archetype-resources/pom.xml +++ b/archiva-modules/archiva-base/archiva-consumers/archiva-consumer-archetype/src/main/resourcesstatic/archetype-resources/pom.xml @@ -71,6 +71,18 @@ + + org.apache.archiva + archiva-proxy + ${archiva.version} + test + + + org.apache.archiva.maven + archiva-maven-proxy + ${archiva.version} + test + org.apache.archiva.components archiva-components-spring-quartz diff --git a/archiva-modules/archiva-base/archiva-consumers/archiva-core-consumers/pom.xml b/archiva-modules/archiva-base/archiva-consumers/archiva-core-consumers/pom.xml index c362ca7f9..fdf9efd50 100644 --- a/archiva-modules/archiva-base/archiva-consumers/archiva-core-consumers/pom.xml +++ b/archiva-modules/archiva-base/archiva-consumers/archiva-core-consumers/pom.xml @@ -115,6 +115,16 @@ + + org.apache.archiva + archiva-proxy + test + + + org.apache.archiva.maven + archiva-maven-proxy + test + org.apache.archiva archiva-scheduler-repository diff --git a/archiva-modules/archiva-base/archiva-consumers/archiva-indexer-consumers/pom.xml b/archiva-modules/archiva-base/archiva-consumers/archiva-indexer-consumers/pom.xml index 203995559..5d707f07d 100644 --- a/archiva-modules/archiva-base/archiva-consumers/archiva-indexer-consumers/pom.xml +++ b/archiva-modules/archiva-base/archiva-consumers/archiva-indexer-consumers/pom.xml @@ -93,6 +93,16 @@ + + org.apache.archiva + archiva-proxy + test + + + org.apache.archiva.maven + archiva-maven-proxy + test + org.apache.archiva archiva-scheduler-repository diff --git a/archiva-modules/archiva-base/archiva-repository-admin/archiva-repository-admin-default/pom.xml b/archiva-modules/archiva-base/archiva-repository-admin/archiva-repository-admin-default/pom.xml index 405335f71..02ed04e1b 100644 --- a/archiva-modules/archiva-base/archiva-repository-admin/archiva-repository-admin-default/pom.xml +++ b/archiva-modules/archiva-base/archiva-repository-admin/archiva-repository-admin-default/pom.xml @@ -166,6 +166,16 @@ + + org.apache.archiva + archiva-proxy + test + + + org.apache.archiva.maven + archiva-maven-proxy + test + org.apache.maven.wagon wagon-http diff --git a/archiva-modules/archiva-maven/archiva-maven-common/src/main/resources/META-INF/spring-context.xml b/archiva-modules/archiva-maven/archiva-maven-common/src/main/resources/META-INF/spring-context.xml new file mode 100644 index 000000000..2549359c0 --- /dev/null +++ b/archiva-modules/archiva-maven/archiva-maven-common/src/main/resources/META-INF/spring-context.xml @@ -0,0 +1,33 @@ + + + + + + + + + \ No newline at end of file diff --git a/archiva-modules/archiva-maven/archiva-maven-indexer/pom.xml b/archiva-modules/archiva-maven/archiva-maven-indexer/pom.xml index 82eac7f67..0ff32437c 100644 --- a/archiva-modules/archiva-maven/archiva-maven-indexer/pom.xml +++ b/archiva-modules/archiva-maven/archiva-maven-indexer/pom.xml @@ -138,6 +138,16 @@ + + org.apache.archiva + archiva-proxy + test + + + org.apache.archiva.maven + archiva-maven-proxy + test + org.apache.maven.wagon wagon-http diff --git a/archiva-modules/archiva-maven/archiva-maven-repository/pom.xml b/archiva-modules/archiva-maven/archiva-maven-repository/pom.xml index 594727d41..383cb9519 100644 --- a/archiva-modules/archiva-maven/archiva-maven-repository/pom.xml +++ b/archiva-modules/archiva-maven/archiva-maven-repository/pom.xml @@ -104,16 +104,13 @@ org.apache.archiva.components archiva-components-spring-taskqueue - - org.apache.archiva.maven - archiva-maven-proxy - org.apache.archiva archiva-repository-admin-api + javax.annotation javax.annotation-api @@ -126,6 +123,12 @@ org.apache.maven maven-core + + + com.google.inject + guice + + org.apache.maven @@ -139,10 +142,6 @@ org.apache.maven maven-artifact - - org.apache.maven - maven-repository-metadata - org.apache.maven maven-model @@ -163,10 +162,7 @@ org.apache.maven.resolver maven-resolver-spi - - org.apache.maven.resolver - maven-resolver-transport-file - + org.apache.maven.resolver maven-resolver-connector-basic @@ -175,6 +171,10 @@ org.apache.maven.wagon wagon-http-shared + + org.codehaus.plexus + plexus-utils + org.springframework @@ -191,24 +191,11 @@ - - org.eclipse.sisu - org.eclipse.sisu.plexus - - - com.google.inject - guice - no_aop - org.apache.archiva archiva-plexus-bridge - - commons-logging - commons-logging - test - + org.apache.archiva @@ -230,6 +217,10 @@ commons-io commons-io + + org.apache.commons + commons-collections4 + @@ -245,6 +236,16 @@ + + org.apache.archiva.maven + archiva-maven-proxy + test + + + org.apache.archiva + archiva-proxy + test + org.apache.archiva.components archiva-components-spring-quartz @@ -271,11 +272,7 @@ easymock test - - commons-beanutils - commons-beanutils - test - + org.springframework spring-test @@ -286,11 +283,6 @@ test-repository test - - org.apache.archiva - archiva-mock - test - org.apache.archiva archiva-test-utils @@ -307,29 +299,8 @@ assertj-core test - - org.apache.logging.log4j - log4j-1.2-api - test - - - org.ow2.asm - asm - test - - - org.apache.archiva - metadata-store-jcr - test - - - - org.apache.archiva.components.cache - archiva-components-spring-cache-ehcache - test - diff --git a/archiva-modules/archiva-web/archiva-security/pom.xml b/archiva-modules/archiva-web/archiva-security/pom.xml index b212b0f22..7f6dd61d6 100644 --- a/archiva-modules/archiva-web/archiva-security/pom.xml +++ b/archiva-modules/archiva-web/archiva-security/pom.xml @@ -111,6 +111,16 @@ + + org.apache.archiva + archiva-proxy + test + + + org.apache.archiva.maven + archiva-maven-proxy + test + org.apache.archiva.maven archiva-maven-repository