]> source.dussan.org Git - archiva.git/commitdiff
Cleaning up dependencies
authorMartin Stockhammer <martin_s@apache.org>
Sun, 1 Sep 2019 17:43:31 +0000 (19:43 +0200)
committerMartin Stockhammer <martin_s@apache.org>
Sun, 1 Sep 2019 17:43:31 +0000 (19:43 +0200)
archiva-modules/archiva-base/archiva-configuration/pom.xml
archiva-modules/archiva-base/archiva-plexus-bridge/pom.xml
archiva-modules/archiva-base/archiva-policies/pom.xml
archiva-modules/archiva-base/archiva-proxy-api/pom.xml
archiva-modules/archiva-base/archiva-storage-fs/pom.xml
pom.xml

index a593d446ee51771cc30b6ea77ec22664a4e6eff2..9c93b60944d19b4f68ed50039b4644c325ac2a08 100644 (file)
   </properties>
 
   <dependencies>
+    <dependency>
+      <groupId>org.apache.archiva</groupId>
+      <artifactId>archiva-common</artifactId>
+    </dependency>
     <dependency>
       <groupId>org.apache.archiva</groupId>
       <artifactId>archiva-policies</artifactId>
       <groupId>commons-io</groupId>
       <artifactId>commons-io</artifactId>
     </dependency>
+    <dependency>
+      <groupId>commons-lang</groupId>
+      <artifactId>commons-lang</artifactId>
+    </dependency>
     <dependency>
       <groupId>org.apache.commons</groupId>
       <artifactId>commons-collections4</artifactId>
     </dependency>
+    <dependency>
+      <groupId>javax.inject</groupId>
+      <artifactId>javax.inject</artifactId>
+    </dependency>
+    <dependency>
+      <groupId>javax.annotation</groupId>
+      <artifactId>jsr250-api</artifactId>
+    </dependency>
+    <dependency>
+      <groupId>org.slf4j</groupId>
+      <artifactId>slf4j-api</artifactId>
+    </dependency>
 
     <!-- Test scope -->
     <dependency>
       <scope>test</scope>
     </dependency>
 
+    <dependency>
+      <groupId>org.springframework</groupId>
+      <artifactId>spring-test</artifactId>
+      <scope>test</scope>
+    </dependency>
     <dependency>
       <groupId>org.apache.logging.log4j</groupId>
       <artifactId>log4j-jcl</artifactId>
index b6c2fe2961c3b4af09d0c862dccd0d103ab77de6..529dc3be7886e16f096131ccba86fa3439ef448b 100644 (file)
       <groupId>org.eclipse.sisu</groupId>
       <artifactId>org.eclipse.sisu.plexus</artifactId>
     </dependency>
+    <dependency>
+      <groupId>org.codehaus.plexus</groupId>
+      <artifactId>plexus-classworlds</artifactId>
+      <version>2.5.2</version>
+    </dependency>
     <dependency>
       <groupId>com.google.inject</groupId>
       <artifactId>guice</artifactId>
       <classifier>no_aop</classifier>
     </dependency>
     <dependency>
-      <groupId>org.apache.archiva.redback.components</groupId>
-      <artifactId>spring-utils</artifactId>
+      <groupId>javax.annotation</groupId>
+      <artifactId>jsr250-api</artifactId>
     </dependency>
     <dependency>
-      <groupId>javax.inject</groupId>
-      <artifactId>javax.inject</artifactId>
+      <groupId>org.apache.maven</groupId>
+      <artifactId>maven-core</artifactId>
     </dependency>
     <dependency>
-      <groupId>javax.annotation</groupId>
-      <artifactId>jsr250-api</artifactId>
+      <groupId>org.springframework</groupId>
+      <artifactId>spring-context</artifactId>
     </dependency>
+
+    <!-- Test scope -->
     <dependency>
       <groupId>org.apache.maven.indexer</groupId>
       <artifactId>indexer-core</artifactId>
       <classifier>shaded-lucene</classifier>
-    </dependency>
-
-
-    <dependency>
-      <groupId>org.apache.maven</groupId>
-      <artifactId>maven-core</artifactId>
+      <scope>test</scope>
     </dependency>
     <dependency>
       <groupId>org.apache.maven</groupId>
       <artifactId>maven-artifact</artifactId>
+      <scope>test</scope>
     </dependency>
-    <!--
     <dependency>
-      <groupId>org.codehaus.plexus</groupId>
-      <artifactId>plexus-digest</artifactId>
-      <exclusions>
-        <exclusion>
-          <groupId>org.codehaus.plexus</groupId>
-          <artifactId>plexus-component-api</artifactId>
-        </exclusion>
-      </exclusions>
+      <groupId>org.apache.archiva.redback.components</groupId>
+      <artifactId>spring-utils</artifactId>
+      <scope>test</scope>
     </dependency>
-    -->
+
   </dependencies>
 </project>
index 4669e7b13dd7bee93f28ee21550630acbfa9f5e4..1a3380b2783db98ddf08bc0d5dba978bacdde261 100644 (file)
       <groupId>commons-lang</groupId>
       <artifactId>commons-lang</artifactId>
     </dependency>
+    <dependency>
+      <groupId>commons-io</groupId>
+      <artifactId>commons-io</artifactId>
+    </dependency>
+    <dependency>
+      <groupId>javax.inject</groupId>
+      <artifactId>javax.inject</artifactId>
+    </dependency>
+    <dependency>
+      <groupId>org.slf4j</groupId>
+      <artifactId>slf4j-api</artifactId>
+    </dependency>
     <dependency>
       <groupId>org.apache.archiva.redback.components.cache</groupId>
       <artifactId>spring-cache-api</artifactId>
@@ -60,6 +72,8 @@
         </exclusion>
       </exclusions>
     </dependency>
+
+    <!-- Test scope -->
     <dependency>
       <groupId>org.apache.archiva.redback.components.cache</groupId>
       <artifactId>spring-cache-ehcache</artifactId>
       <artifactId>log4j-jcl</artifactId>
       <scope>test</scope>
     </dependency>
+    <dependency>
+      <groupId>org.apache.archiva</groupId>
+      <artifactId>archiva-filelock</artifactId>
+      <scope>test</scope>
+    </dependency>
 
   </dependencies>
 
index 2bc408482c735a5982e36eae6640f1ad5a845ccd..1a1334f3b675e0c4832d34fc165e4257c80ee05c 100644 (file)
   </properties>
 
   <dependencies>
+    <dependency>
+      <groupId>org.apache.archiva</groupId>
+      <artifactId>archiva-storage-api</artifactId>
+    </dependency>
+    <dependency>
+      <groupId>org.apache.archiva</groupId>
+      <artifactId>archiva-repository-api</artifactId>
+    </dependency>
+    <dependency>
+      <groupId>org.apache.archiva</groupId>
+      <artifactId>archiva-policies</artifactId>
+    </dependency>
+    <dependency>
+      <groupId>org.apache.archiva</groupId>
+      <artifactId>archiva-model</artifactId>
+    </dependency>
     <dependency>
       <groupId>org.apache.archiva</groupId>
       <artifactId>archiva-repository-layer</artifactId>
+      <scope>test</scope>
     </dependency>
   </dependencies>
 
index 64718fd77ab87a3311af9d257d79a2c435051ad0..8817bd066debffd6d74d4c9b50553cf605fb1aa0 100644 (file)
       <groupId>commons-io</groupId>
       <artifactId>commons-io</artifactId>
     </dependency>
+    <dependency>
+      <groupId>commons-lang</groupId>
+      <artifactId>commons-lang</artifactId>
+    </dependency>
+    <dependency>
+      <groupId>org.slf4j</groupId>
+      <artifactId>slf4j-api</artifactId>
+    </dependency>
 
 
     <dependency>
diff --git a/pom.xml b/pom.xml
index 27dcfd3086f03a6867079ade74f1b8345942717d..6785065ea1ea4665d9a3fe046bf97918b80b973b 100644 (file)
--- a/pom.xml
+++ b/pom.xml
           </execution>
         </executions>
       </plugin>
+
     </plugins>
     <pluginManagement>
       <plugins>
             </excludes>
           </configuration>
         </plugin>
+        <plugin>
+          <groupId>org.apache.maven.plugins</groupId>
+          <artifactId>maven-dependency-plugin</artifactId>
+          <version>3.1.1</version>
+              <configuration>
+                <ignoredDependencies>
+                  <ignoredDependency>org.easymock</ignoredDependency>
+                  <ignoredDependency>junit:junit</ignoredDependency>
+                </ignoredDependencies>
+
+                <!-- ignore annotations for "used but undeclared" warnings
+                <ignoredUsedUndeclaredDependencies>
+                  <ignoredUsedUndeclaredDependency>org.easymock</ignoredUsedUndeclaredDependency>
+                </ignoredUsedUndeclaredDependencies>
+
+                <ignoredUnusedDeclaredDependencies>
+                  <ignoredUnusedDeclaredDependency>org.easymock</ignoredUnusedDeclaredDependency>
+                </ignoredUnusedDeclaredDependencies>
+                -->
+              </configuration>
+        </plugin>
+
       </plugins>
     </pluginManagement>
   </build>