diff --git a/archiva-modules/plugins/maven2-repository/pom.xml b/archiva-modules/plugins/maven2-repository/pom.xml
index 5a8ef5f06..8d5a04c2a 100644
--- a/archiva-modules/plugins/maven2-repository/pom.xml
+++ b/archiva-modules/plugins/maven2-repository/pom.xml
@@ -98,18 +98,17 @@
- org.apache.maven
- maven-resolver-provider
+ org.apache.maven.resolver
+ maven-resolver
+ pom
-
- org.eclipse.aether
- aether-api
+ org.apache.maven.resolver
+ maven-resolver-transport-file
-
- org.eclipse.aether
- aether-connector-file
+ org.apache.maven.resolver
+ maven-resolver-connector-basic
diff --git a/archiva-modules/plugins/maven2-repository/src/main/java/org/apache/archiva/dependency/tree/maven2/ArchivaRepositoryConnectorFactory.java b/archiva-modules/plugins/maven2-repository/src/main/java/org/apache/archiva/dependency/tree/maven2/ArchivaRepositoryConnectorFactory.java
index 612ed5d07..4ce243f98 100644
--- a/archiva-modules/plugins/maven2-repository/src/main/java/org/apache/archiva/dependency/tree/maven2/ArchivaRepositoryConnectorFactory.java
+++ b/archiva-modules/plugins/maven2-repository/src/main/java/org/apache/archiva/dependency/tree/maven2/ArchivaRepositoryConnectorFactory.java
@@ -18,11 +18,11 @@ package org.apache.archiva.dependency.tree.maven2;
* under the License.
*/
+import org.eclipse.aether.connector.basic.BasicRepositoryConnectorFactory;
import org.eclipse.aether.spi.connector.RepositoryConnectorFactory;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.eclipse.aether.RepositorySystemSession;
-import org.eclipse.aether.connector.file.FileRepositoryConnectorFactory;
import org.eclipse.aether.repository.RemoteRepository;
import org.eclipse.aether.spi.connector.ArtifactDownload;
import org.eclipse.aether.spi.connector.ArtifactUpload;
@@ -41,7 +41,7 @@ public class ArchivaRepositoryConnectorFactory
implements RepositoryConnectorFactory
{
- private FileRepositoryConnectorFactory delegate = new FileRepositoryConnectorFactory();
+ private BasicRepositoryConnectorFactory delegate = new BasicRepositoryConnectorFactory();
public ArchivaRepositoryConnectorFactory()
{
diff --git a/pom.xml b/pom.xml
index e6991e506..b3b8fe4a8 100644
--- a/pom.xml
+++ b/pom.xml
@@ -57,6 +57,7 @@
3.5.4
2.2.1
3.0
+ 1.1.1
1.13.1
0.9.0.M2
@@ -396,6 +397,10 @@
org.sonatype.sisu
sisu-guice
+
+ org.apache.maven.resolver
+ *
+
@@ -903,6 +908,33 @@
org.apache.maven
maven-resolver-provider
${maven3x.version}
+ pom
+
+
+
+
+ org.apache.maven.resolver
+ maven-resolver
+ ${maven.resolver.version}
+ pom
+
+
+
+ org.apache.maven.resolver
+ maven-resolver-transport-file
+ ${maven.resolver.version}
+
+
+
+ org.apache.maven.resolver
+ maven-resolver-connector-basic
+ ${maven.resolver.version}
+
+
+
+ org.apache.maven.resolver
+ maven-resolver-transport-http
+ ${maven.resolver.version}