geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From xuhaih...@apache.org
Subject svn commit: r827911 - /geronimo/server/trunk/framework/modules/geronimo-kernel/src/main/java/org/apache/geronimo/kernel/repository/DefaultArtifactResolver.java
Date Wed, 21 Oct 2009 07:46:51 GMT
Author: xuhaihong
Date: Wed Oct 21 07:46:51 2009
New Revision: 827911

URL: http://svn.apache.org/viewvc?rev=827911&view=rev
Log:
The special handling for xbean-naming should not be needed now since we have shipped 3.* xbean-naming
package

Modified:
    geronimo/server/trunk/framework/modules/geronimo-kernel/src/main/java/org/apache/geronimo/kernel/repository/DefaultArtifactResolver.java

Modified: geronimo/server/trunk/framework/modules/geronimo-kernel/src/main/java/org/apache/geronimo/kernel/repository/DefaultArtifactResolver.java
URL: http://svn.apache.org/viewvc/geronimo/server/trunk/framework/modules/geronimo-kernel/src/main/java/org/apache/geronimo/kernel/repository/DefaultArtifactResolver.java?rev=827911&r1=827910&r2=827911&view=diff
==============================================================================
--- geronimo/server/trunk/framework/modules/geronimo-kernel/src/main/java/org/apache/geronimo/kernel/repository/DefaultArtifactResolver.java
(original)
+++ geronimo/server/trunk/framework/modules/geronimo-kernel/src/main/java/org/apache/geronimo/kernel/repository/DefaultArtifactResolver.java
Wed Oct 21 07:46:51 2009
@@ -162,13 +162,8 @@
                 list.addAll(repository.list(working));
             }
 
-            //TODO WTF???
             if (list.isEmpty()) {
-                if ("xbean-naming".equals(working.getArtifactId())) {
-                    return new Artifact("org.apache.xbean", "xbean-naming", "2.8", "jar");
-                } else {
-                    return null;
-                }
+                return null;
             }
             return list.last();
         }



Mime
View raw message