--- /usr/local/share/apache-maven-2.2.1.src/maven-artifact-manager/src/main/java/org/apache/maven/artifact/resolver/DefaultArtifactResolver.java	2009-09-11 06:32:08.134522484 +0300
+++ maven-artifact-manager/src/main/java/org/apache/maven/artifact/resolver/DefaultArtifactResolver.java	2009-08-06 22:11:34.000000000 +0300
@@ -206,15 +206,15 @@
                 try
                 {
                     // TODO: force should be passed to the wagon manager
-                    //if ( artifact.getRepository() != null )
-                    //{
-                    //    // the transformations discovered the artifact - so use it exclusively
-                    //    wagonManager.getArtifact( artifact, artifact.getRepository() );
-                    //}
-                    //else
-                    //{
+                    if ( artifact.getRepository() != null )
+                    {
+                        // the transformations discovered the artifact - so use it exclusively
+                        wagonManager.getArtifact( artifact, artifact.getRepository() );
+                    }
+                    else
+                    {
                         wagonManager.getArtifact( artifact, repositories );
-                    //}
+                    }
 
                     if ( !artifact.isResolved() && !destination.exists() )
                     {
