You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@archiva.apache.org by jo...@apache.org on 2008/03/16 04:15:48 UTC

svn commit: r637515 - /maven/archiva/trunk/pom.xml

Author: joakime
Date: Sat Mar 15 20:15:43 2008
New Revision: 637515

URL: http://svn.apache.org/viewvc?rev=637515&view=rev
Log:
* Adding snapshots.repository.codehaus.org so that plexus-spring can be found.
* Adding spring as default dependency.
* Adding plexus-spring to depMgmt
* Adding spring-context to depMgmt
* Adding spring-web to depMgmt


Modified:
    maven/archiva/trunk/pom.xml

Modified: maven/archiva/trunk/pom.xml
URL: http://svn.apache.org/viewvc/maven/archiva/trunk/pom.xml?rev=637515&r1=637514&r2=637515&view=diff
==============================================================================
--- maven/archiva/trunk/pom.xml (original)
+++ maven/archiva/trunk/pom.xml Sat Mar 15 20:15:43 2008
@@ -146,6 +146,11 @@
   </modules>
   <dependencies>
     <dependency>
+      <groupId>org.springframework</groupId>
+      <artifactId>spring-context</artifactId>
+      <scope>compile</scope>
+    </dependency>
+    <dependency>
       <groupId>junit</groupId>
       <artifactId>junit</artifactId>
       <version>3.8.1</version>
@@ -315,6 +320,21 @@
         <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>
         <version>3.2</version>
@@ -528,6 +548,12 @@
         <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>
@@ -888,6 +914,18 @@
     <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>



Re: svn commit: r637515 - /maven/archiva/trunk/pom.xml

Posted by Brett Porter <br...@apache.org>.
On 17/03/2008, at 2:10 PM, Joakim Erdfelt wrote:

> Oh?
> Didn't know that spring-test even existed.

It's a new framework for making spring integration tests (though I  
hope a lot of our tests will start running out of the container to be  
a bit more unit-y).

>
>
> Once we start migrating away our plexus scaffolding to spring,  
> wouldn't we need spring too?

No, I think we should just be using the wiring information (and  
possibly annotations). The only time we should use Spring libs is when  
we use one of their components, like the scheduler or the cache.

- Brett

--
Brett Porter
brett@apache.org
http://blogs.exist.com/bporter/


Re: svn commit: r637515 - /maven/archiva/trunk/pom.xml

Posted by Joakim Erdfelt <jo...@erdfelt.com>.
Oh?
Didn't know that spring-test even existed.

Once we start migrating away our plexus scaffolding to spring, wouldn't 
we need spring too?

-Joakim

Brett Porter wrote:
>
> On 16/03/2008, at 2:15 PM, joakime@apache.org wrote:
>
>> * Adding spring as default dependency.
>
> Why is this needed? I would expect we only need a spring dependency in 
> testing (which should be spring-test), and in the webapp - we're not 
> using any interfaces?
>
> - Brett
>
> -- 
> Brett Porter
> brett@apache.org
> http://blogs.exist.com/bporter/
>


Re: svn commit: r637515 - /maven/archiva/trunk/pom.xml

Posted by Brett Porter <br...@apache.org>.
On 16/03/2008, at 2:15 PM, joakime@apache.org wrote:

> * Adding spring as default dependency.

Why is this needed? I would expect we only need a spring dependency in  
testing (which should be spring-test), and in the webapp - we're not  
using any interfaces?

- Brett

--
Brett Porter
brett@apache.org
http://blogs.exist.com/bporter/