1 package org.apache.maven.plugin.version;
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22 import org.apache.maven.artifact.repository.ArtifactRepository;
23 import org.apache.maven.plugin.InvalidPluginException;
24 import org.apache.maven.project.MavenProject;
25 import org.apache.maven.settings.Settings;
26
27 public interface PluginVersionManager
28 {
29 String ROLE = PluginVersionManager.class.getName();
30
31 String resolvePluginVersion( String groupId, String artifactId, MavenProject project, Settings settings,
32 ArtifactRepository localRepository )
33 throws PluginVersionResolutionException, InvalidPluginException, PluginVersionNotFoundException;
34
35 String resolveReportPluginVersion( String groupId, String artifactId, MavenProject project, Settings settings,
36 ArtifactRepository localRepository )
37 throws PluginVersionResolutionException, InvalidPluginException, PluginVersionNotFoundException;
38
39 }