From 8fede748222e244fcb26ed6c66ce5eeb15ef3569 Mon Sep 17 00:00:00 2001 From: Jason van Zyl Date: Tue, 3 Mar 2009 00:33:58 +0000 Subject: [PATCH] o adding backward compat for Surefire git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@749494 13f79535-47bb-0310-9956-ffa450edef68 --- .../maven/artifact/resolver/ArtifactResolver.java | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/maven-compat/src/main/java/org/apache/maven/artifact/resolver/ArtifactResolver.java b/maven-compat/src/main/java/org/apache/maven/artifact/resolver/ArtifactResolver.java index 9ee525f1a5..07c40c0151 100644 --- a/maven-compat/src/main/java/org/apache/maven/artifact/resolver/ArtifactResolver.java +++ b/maven-compat/src/main/java/org/apache/maven/artifact/resolver/ArtifactResolver.java @@ -1,5 +1,13 @@ package org.apache.maven.artifact.resolver; +import java.util.List; +import java.util.Set; + +import org.apache.maven.artifact.Artifact; +import org.apache.maven.artifact.metadata.ArtifactMetadataSource; +import org.apache.maven.artifact.repository.ArtifactRepository; +import org.apache.maven.artifact.resolver.filter.ArtifactFilter; + /* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file @@ -25,4 +33,9 @@ package org.apache.maven.artifact.resolver; public interface ArtifactResolver { ArtifactResolutionResult resolve( ArtifactResolutionRequest request ); + + // Used directory by Surefire ... + ArtifactResolutionResult resolveTransitively( Set artifacts, Artifact originatingArtifact, ArtifactRepository localRepository, List remoteRepositories, + ArtifactMetadataSource source, ArtifactFilter filter ) + throws ArtifactResolutionException, ArtifactNotFoundException; } \ No newline at end of file