1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19 package org.apache.maven.plugin.prefix.internal;
20
21 import org.apache.maven.model.Plugin;
22 import org.apache.maven.plugin.prefix.PluginPrefixResult;
23 import org.eclipse.aether.repository.ArtifactRepository;
24
25
26
27
28
29
30 class DefaultPluginPrefixResult implements PluginPrefixResult {
31
32 private String groupId;
33
34 private String artifactId;
35
36 private ArtifactRepository repository;
37
38 DefaultPluginPrefixResult() {
39
40 }
41
42 DefaultPluginPrefixResult(Plugin plugin) {
43 groupId = plugin.getGroupId();
44 artifactId = plugin.getArtifactId();
45 }
46
47 DefaultPluginPrefixResult(String groupId, String artifactId, ArtifactRepository repository) {
48 this.groupId = groupId;
49 this.artifactId = artifactId;
50 this.repository = repository;
51 }
52
53 public String getGroupId() {
54 return groupId;
55 }
56
57 public void setGroupId(String groupId) {
58 this.groupId = groupId;
59 }
60
61 public String getArtifactId() {
62 return artifactId;
63 }
64
65 public void setArtifactId(String artifactId) {
66 this.artifactId = artifactId;
67 }
68
69 public ArtifactRepository getRepository() {
70 return repository;
71 }
72
73 public void setRepository(ArtifactRepository repository) {
74 this.repository = repository;
75 }
76 }