servicemix-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bsny...@apache.org
Subject svn commit: r633878 - /servicemix/smx3/branches/servicemix-3.2/core/servicemix-core/src/main/java/org/apache/servicemix/jbi/container/DeploySupport.java
Date Wed, 05 Mar 2008 15:33:34 GMT
Author: bsnyder
Date: Wed Mar  5 07:33:32 2008
New Revision: 633878

URL: http://svn.apache.org/viewvc?rev=633878&view=rev
Log:
SM-1262 - SMX 3.2 org.apache.servicemix.lwcontainer.LwContainerComponentTest fails if the
maven repository location is non-default.

Modified:
    servicemix/smx3/branches/servicemix-3.2/core/servicemix-core/src/main/java/org/apache/servicemix/jbi/container/DeploySupport.java

Modified: servicemix/smx3/branches/servicemix-3.2/core/servicemix-core/src/main/java/org/apache/servicemix/jbi/container/DeploySupport.java
URL: http://svn.apache.org/viewvc/servicemix/smx3/branches/servicemix-3.2/core/servicemix-core/src/main/java/org/apache/servicemix/jbi/container/DeploySupport.java?rev=633878&r1=633877&r2=633878&view=diff
==============================================================================
--- servicemix/smx3/branches/servicemix-3.2/core/servicemix-core/src/main/java/org/apache/servicemix/jbi/container/DeploySupport.java
(original)
+++ servicemix/smx3/branches/servicemix-3.2/core/servicemix-core/src/main/java/org/apache/servicemix/jbi/container/DeploySupport.java
Wed Mar  5 07:33:32 2008
@@ -121,7 +121,11 @@
 
     public String getRepositoryDir() {
         if (repositoryDir == null) {
-            repositoryDir = getHomeDir() + "/.m2/repository";
+            if (System.getProperty("localRepository") != null) {
+                repositoryDir = System.getProperty("localRepository");
+            } else {
+                repositoryDir = getHomeDir() + "/.m2/repository";
+            }
         }
         return repositoryDir;
     }



Mime
View raw message