1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19 package org.apache.maven.plugin.resources.remote.stub;
20
21 import java.util.Properties;
22
23 import org.apache.maven.model.Model;
24 import org.apache.maven.model.Parent;
25
26
27
28
29 public class ModelStub extends Model {
30 private static final long serialVersionUID = 1L;
31
32 public ModelStub() {}
33
34 @Override
35 public String getVersion() {
36 return "0.0-TEST";
37 }
38
39 @Override
40 public String getModelVersion() {
41 return "0.0-TEST";
42 }
43
44 @Override
45 public String getName() {
46 return "Test Model";
47 }
48
49 @Override
50 public String getGroupId() {
51 return "org.apache.maven.test";
52 }
53
54 @Override
55 public String getPackaging() {
56 return "jar";
57 }
58
59 @Override
60 public Parent getParent() {
61
62 return null;
63 }
64
65 @Override
66 public String getArtifactId() {
67 return "maven-test-plugin";
68 }
69
70 @Override
71 public Properties getProperties() {
72 return new Properties();
73 }
74 }