1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19 package org.apache.maven.artifact.resolver;
20
21 import java.util.List;
22 import java.util.Map;
23 import java.util.Set;
24
25 import org.apache.maven.artifact.Artifact;
26 import org.apache.maven.artifact.metadata.ArtifactMetadataSource;
27 import org.apache.maven.artifact.repository.ArtifactRepository;
28 import org.apache.maven.artifact.resolver.filter.ArtifactFilter;
29 import org.apache.maven.wagon.events.TransferListener;
30
31
32
33
34 @Deprecated
35 public interface ArtifactResolver {
36
37 ArtifactResolutionResult resolve(ArtifactResolutionRequest request);
38
39
40
41 @Deprecated
42 String ROLE = ArtifactResolver.class.getName();
43
44
45 @Deprecated
46 ArtifactResolutionResult resolveTransitively(
47 Set<Artifact> artifacts,
48 Artifact originatingArtifact,
49 ArtifactRepository localRepository,
50 List<ArtifactRepository> remoteRepositories,
51 ArtifactMetadataSource source,
52 ArtifactFilter filter)
53 throws ArtifactResolutionException, ArtifactNotFoundException;
54
55
56 @Deprecated
57 ArtifactResolutionResult resolveTransitively(
58 Set<Artifact> artifacts,
59 Artifact originatingArtifact,
60 Map<String, Artifact> managedVersions,
61 ArtifactRepository localRepository,
62 List<ArtifactRepository> remoteRepositories,
63 ArtifactMetadataSource source)
64 throws ArtifactResolutionException, ArtifactNotFoundException;
65
66
67 @Deprecated
68 ArtifactResolutionResult resolveTransitively(
69 Set<Artifact> artifacts,
70 Artifact originatingArtifact,
71 Map<String, Artifact> managedVersions,
72 ArtifactRepository localRepository,
73 List<ArtifactRepository> remoteRepositories,
74 ArtifactMetadataSource source,
75 ArtifactFilter filter)
76 throws ArtifactResolutionException, ArtifactNotFoundException;
77
78
79 @Deprecated
80 ArtifactResolutionResult resolveTransitively(
81 Set<Artifact> artifacts,
82 Artifact originatingArtifact,
83 List<ArtifactRepository> remoteRepositories,
84 ArtifactRepository localRepository,
85 ArtifactMetadataSource source)
86 throws ArtifactResolutionException, ArtifactNotFoundException;
87
88 @Deprecated
89 @SuppressWarnings("checkstyle:parameternumber")
90 ArtifactResolutionResult resolveTransitively(
91 Set<Artifact> artifacts,
92 Artifact originatingArtifact,
93 Map<String, Artifact> managedVersions,
94 ArtifactRepository localRepository,
95 List<ArtifactRepository> remoteRepositories,
96 ArtifactMetadataSource source,
97 ArtifactFilter filter,
98 List<ResolutionListener> listeners)
99 throws ArtifactResolutionException, ArtifactNotFoundException;
100
101 @Deprecated
102 ArtifactResolutionResult resolveTransitively(
103 Set<Artifact> artifacts,
104 Artifact originatingArtifact,
105 List<ArtifactRepository> remoteRepositories,
106 ArtifactRepository localRepository,
107 ArtifactMetadataSource source,
108 List<ResolutionListener> listeners)
109 throws ArtifactResolutionException, ArtifactNotFoundException;
110
111
112 @Deprecated
113 void resolve(Artifact artifact, List<ArtifactRepository> remoteRepositories, ArtifactRepository localRepository)
114 throws ArtifactResolutionException, ArtifactNotFoundException;
115
116
117 @Deprecated
118 void resolve(
119 Artifact artifact,
120 List<ArtifactRepository> remoteRepositories,
121 ArtifactRepository localRepository,
122 TransferListener downloadMonitor)
123 throws ArtifactResolutionException, ArtifactNotFoundException;
124
125
126 @Deprecated
127 void resolveAlways(
128 Artifact artifact, List<ArtifactRepository> remoteRepositories, ArtifactRepository localRepository)
129 throws ArtifactResolutionException, ArtifactNotFoundException;
130 }