1 package org.apache.maven.artifact.repository.metadata;
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22 import java.util.List;
23
24 import org.apache.maven.artifact.metadata.ArtifactMetadata;
25 import org.apache.maven.artifact.repository.ArtifactRepository;
26 import org.apache.maven.artifact.repository.RepositoryRequest;
27
28
29
30
31 public interface RepositoryMetadataManager
32 {
33
34 void resolve( RepositoryMetadata repositoryMetadata, RepositoryRequest repositoryRequest )
35 throws RepositoryMetadataResolutionException;
36
37 void resolve( RepositoryMetadata repositoryMetadata, List<ArtifactRepository> repositories,
38 ArtifactRepository localRepository )
39 throws RepositoryMetadataResolutionException;
40
41 void resolveAlways( RepositoryMetadata metadata, ArtifactRepository localRepository,
42 ArtifactRepository remoteRepository )
43 throws RepositoryMetadataResolutionException;
44
45
46
47
48
49
50
51
52 void deploy( ArtifactMetadata metadata, ArtifactRepository localRepository,
53 ArtifactRepository deploymentRepository )
54 throws RepositoryMetadataDeploymentException;
55
56
57
58
59
60
61
62 void install( ArtifactMetadata metadata, ArtifactRepository localRepository )
63 throws RepositoryMetadataInstallationException;
64 }