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
31 class DefaultPluginPrefixResult implements PluginPrefixResult {
32
33 private String groupId;
34
35 private String artifactId;
36
37 private ArtifactRepository repository;
38
39 DefaultPluginPrefixResult() {
40
41 }
42
43 DefaultPluginPrefixResult(Plugin plugin) {
44 groupId = plugin.getGroupId();
45 artifactId = plugin.getArtifactId();
46 }
47
48 DefaultPluginPrefixResult(String groupId, String artifactId, ArtifactRepository repository) {
49 this.groupId = groupId;
50 this.artifactId = artifactId;
51 this.repository = repository;
52 }
53
54 public String getGroupId() {
55 return groupId;
56 }
57
58 public void setGroupId(String groupId) {
59 this.groupId = groupId;
60 }
61
62 public String getArtifactId() {
63 return artifactId;
64 }
65
66 public void setArtifactId(String artifactId) {
67 this.artifactId = artifactId;
68 }
69
70 public ArtifactRepository getRepository() {
71 return repository;
72 }
73
74 public void setRepository(ArtifactRepository repository) {
75 this.repository = repository;
76 }
77 }