]> source.dussan.org Git - archiva.git/commitdiff
* Adding snapshots.repository.codehaus.org so that plexus-spring can be found.
authorJoakim Erdfelt <joakime@apache.org>
Sun, 16 Mar 2008 03:15:43 +0000 (03:15 +0000)
committerJoakim Erdfelt <joakime@apache.org>
Sun, 16 Mar 2008 03:15:43 +0000 (03:15 +0000)
* Adding spring as default dependency.
* Adding plexus-spring to depMgmt
* Adding spring-context to depMgmt
* Adding spring-web to depMgmt

git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@637515 13f79535-47bb-0310-9956-ffa450edef68

pom.xml

diff --git a/pom.xml b/pom.xml
index 330967420beddb7551028e363e893326d82ff3e2..73e7ff60ea817f0a183d6e89b07c26de36b8603d 100644 (file)
--- a/pom.xml
+++ b/pom.xml
     <module>archiva-docs</module>
   </modules>
   <dependencies>
+    <dependency>
+      <groupId>org.springframework</groupId>
+      <artifactId>spring-context</artifactId>
+      <scope>compile</scope>
+    </dependency>
     <dependency>
       <groupId>junit</groupId>
       <artifactId>junit</artifactId>
         <artifactId>archiva-webdav</artifactId>
         <version>1.1-SNAPSHOT</version>
       </dependency>
+      <dependency>
+        <groupId>org.codehaus.plexus</groupId>
+        <artifactId>plexus-spring</artifactId>
+        <version>1.0-SNAPSHOT</version>
+      </dependency>
+      <dependency>
+        <groupId>org.springframework</groupId>
+        <artifactId>spring-context</artifactId>
+        <version>2.5.1</version>
+      </dependency>
+      <dependency>
+        <groupId>org.springframework</groupId>
+        <artifactId>spring-web</artifactId>
+        <version>2.5.1</version>
+      </dependency>
       <dependency>
         <groupId>commons-collections</groupId>
         <artifactId>commons-collections</artifactId>
         <groupId>org.codehaus.plexus</groupId>
         <artifactId>plexus-slf4j-logging</artifactId>
         <version>1.1-alpha-1</version>
+        <exclusions>
+          <exclusion>
+            <groupId>org.slf4j</groupId>
+            <artifactId>slf4j-simple</artifactId>
+          </exclusion>
+        </exclusions>
       </dependency>
       <dependency>
         <groupId>org.codehaus.plexus</groupId>
     <wagon.version>1.0-rc1-SNAPSHOT</wagon.version>
     <redback.version>1.0-alpha-4</redback.version>
   </properties>
+  <repositories>
+    <repository>
+      <id>snapshots.codehaus.org</id>
+      <url>http://snapshots.repository.codehaus.org</url>
+      <releases>
+        <enabled>false</enabled>
+      </releases>
+      <snapshots>
+        <enabled>true</enabled>
+      </snapshots>
+    </repository>
+  </repositories>
   <distributionManagement>
     <site>
       <id>apache.website</id>