1 package org.apache.maven.plugin.war.stub;
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22 import java.util.LinkedList;
23 import java.util.List;
24 import java.util.Properties;
25
26 import org.apache.maven.model.Model;
27 import org.apache.maven.model.Parent;
28
29
30
31
32 public class ModelStub
33 extends Model
34 {
35 public ModelStub()
36 {
37
38 }
39
40 public String getVersion()
41 {
42 return "0.0-TEST";
43 }
44
45 public String getModelVersion()
46 {
47 return "0.0-TEST";
48 }
49
50 public String getName()
51 {
52 return "Test Model";
53 }
54
55 public String getGroupId()
56 {
57 return "org.apache.maven.test";
58 }
59
60 public String getPackaging()
61 {
62 return "jar";
63 }
64
65 public Parent getParent()
66 {
67 return new Parent();
68 }
69
70 public String getArtifactId()
71 {
72 return "maven-test-plugin";
73 }
74
75 public Properties getProperties()
76 {
77 return new Properties();
78 }
79
80 public List getPackages()
81 {
82 return new LinkedList();
83 }
84
85 public List getProfiles()
86 {
87 return new LinkedList();
88 }
89
90 public List getModules()
91 {
92 return new LinkedList();
93 }
94 }