File tree Expand file tree Collapse file tree 14 files changed +166
-197
lines changed
main/java/org/apache/maven/internal/impl Expand file tree Collapse file tree 14 files changed +166
-197
lines changed Original file line number Diff line number Diff line change 65
65
<id >modello</id >
66
66
<goals >
67
67
<goal >velocity</goal >
68
+ <goal >xdoc</goal >
68
69
<goal >xsd</goal >
69
70
</goals >
71
+ <phase >generate-sources</phase >
70
72
</execution >
71
73
</executions >
72
74
</plugin >
Original file line number Diff line number Diff line change @@ -42,40 +42,28 @@ under the License.
42
42
<plugin >
43
43
<groupId >org.codehaus.modello</groupId >
44
44
<artifactId >modello-maven-plugin</artifactId >
45
+ <configuration >
46
+ <velocityBasedir >${project.basedir} /../../src/mdo</velocityBasedir >
47
+ <version >1.2.0</version >
48
+ <models >
49
+ <model >src/main/mdo/metadata.mdo</model >
50
+ </models >
51
+ <templates >
52
+ <template >model.vm</template >
53
+ </templates >
54
+ <params >
55
+ <param >packageModelV4=org.apache.maven.api.metadata</param >
56
+ </params >
57
+ </configuration >
45
58
<executions >
46
59
<execution >
47
- <id >plugin </id >
60
+ <id >modello </id >
48
61
<goals >
49
62
<goal >velocity</goal >
50
- </goals >
51
- <phase >generate-sources</phase >
52
- <configuration >
53
- <velocityBasedir >${project.basedir} /../../src/mdo</velocityBasedir >
54
- <version >1.2.0</version >
55
- <models >
56
- <model >src/main/mdo/metadata.mdo</model >
57
- </models >
58
- <templates >
59
- <template >model.vm</template >
60
- </templates >
61
- <params >
62
- <param >packageModelV4=org.apache.maven.api.metadata</param >
63
- </params >
64
- </configuration >
65
- </execution >
66
- <execution >
67
- <id >plugin-doc</id >
68
- <goals >
69
63
<goal >xdoc</goal >
70
64
<goal >xsd</goal >
71
65
</goals >
72
- <phase >generate-resources</phase >
73
- <configuration >
74
- <version >1.2.0</version >
75
- <models >
76
- <model >src/main/mdo/metadata.mdo</model >
77
- </models >
78
- </configuration >
66
+ <phase >generate-sources</phase >
79
67
</execution >
80
68
</executions >
81
69
</plugin >
Original file line number Diff line number Diff line change @@ -47,26 +47,29 @@ under the License.
47
47
<plugin >
48
48
<groupId >org.codehaus.modello</groupId >
49
49
<artifactId >modello-maven-plugin</artifactId >
50
+ <configuration >
51
+ <version >4.1.0</version >
52
+ <velocityBasedir >${project.basedir} /../../src/mdo</velocityBasedir >
53
+ <models >
54
+ <model >src/main/mdo/maven.mdo</model >
55
+ </models >
56
+ <templates >
57
+ <template >model.vm</template >
58
+ </templates >
59
+ <params >
60
+ <param >packageModelV4=org.apache.maven.api.model</param >
61
+ <param >isMavenModel=true</param >
62
+ </params >
63
+ </configuration >
50
64
<executions >
51
65
<execution >
52
- <id >velocity </id >
66
+ <id >modello </id >
53
67
<goals >
54
68
<goal >velocity</goal >
69
+ <goal >xdoc</goal >
70
+ <goal >xsd</goal >
55
71
</goals >
56
- <configuration >
57
- <version >4.1.0</version >
58
- <velocityBasedir >${project.basedir} /../../src/mdo</velocityBasedir >
59
- <models >
60
- <model >src/main/mdo/maven.mdo</model >
61
- </models >
62
- <templates >
63
- <template >model.vm</template >
64
- </templates >
65
- <params >
66
- <param >packageModelV4=org.apache.maven.api.model</param >
67
- <param >isMavenModel=true</param >
68
- </params >
69
- </configuration >
72
+ <phase >generate-sources</phase >
70
73
</execution >
71
74
</executions >
72
75
</plugin >
Original file line number Diff line number Diff line change @@ -53,9 +53,11 @@ under the License.
53
53
<artifactId >modello-maven-plugin</artifactId >
54
54
<executions >
55
55
<execution >
56
- <id >plugin</id >
56
+ <id >modello- plugin</id >
57
57
<goals >
58
58
<goal >velocity</goal >
59
+ <goal >xdoc</goal >
60
+ <goal >xsd</goal >
59
61
</goals >
60
62
<phase >generate-sources</phase >
61
63
<configuration >
@@ -73,24 +75,12 @@ under the License.
73
75
</configuration >
74
76
</execution >
75
77
<execution >
76
- <id >plugin-doc </id >
78
+ <id >modello-lifecycle </id >
77
79
<goals >
80
+ <goal >velocity</goal >
78
81
<goal >xdoc</goal >
79
82
<goal >xsd</goal >
80
83
</goals >
81
- <phase >generate-resources</phase >
82
- <configuration >
83
- <version >2.0.0</version >
84
- <models >
85
- <model >src/main/mdo/plugin.mdo</model >
86
- </models >
87
- </configuration >
88
- </execution >
89
- <execution >
90
- <id >lifecycle</id >
91
- <goals >
92
- <goal >velocity</goal >
93
- </goals >
94
84
<phase >generate-sources</phase >
95
85
<configuration >
96
86
<velocityBasedir >${project.basedir} /../../src/mdo</velocityBasedir >
@@ -106,20 +96,6 @@ under the License.
106
96
</params >
107
97
</configuration >
108
98
</execution >
109
- <execution >
110
- <id >lifecycle-doc</id >
111
- <goals >
112
- <goal >xdoc</goal >
113
- <goal >xsd</goal >
114
- </goals >
115
- <phase >generate-sources</phase >
116
- <configuration >
117
- <version >1.0.0</version >
118
- <models >
119
- <model >src/main/mdo/lifecycle.mdo</model >
120
- </models >
121
- </configuration >
122
- </execution >
123
99
</executions >
124
100
</plugin >
125
101
<plugin >
Original file line number Diff line number Diff line change @@ -53,41 +53,30 @@ under the License.
53
53
<plugin >
54
54
<groupId >org.codehaus.modello</groupId >
55
55
<artifactId >modello-maven-plugin</artifactId >
56
+ <configuration >
57
+ <version >2.0.0</version >
58
+ <velocityBasedir >${project.basedir} /../../src/mdo</velocityBasedir >
59
+ <models >
60
+ <model >src/main/mdo/settings.mdo</model >
61
+ </models >
62
+ <templates >
63
+ <template >model.vm</template >
64
+ </templates >
65
+ <params >
66
+ <param >packageModelV4=org.apache.maven.api.settings</param >
67
+ <param >locationTracking=true</param >
68
+ <param >generateLocationClasses=true</param >
69
+ </params >
70
+ </configuration >
56
71
<executions >
57
72
<execution >
58
- <id >velocity </id >
73
+ <id >modello </id >
59
74
<goals >
60
75
<goal >velocity</goal >
61
- </goals >
62
- <configuration >
63
- <version >2.0.0</version >
64
- <velocityBasedir >${project.basedir} /../../src/mdo</velocityBasedir >
65
- <models >
66
- <model >src/main/mdo/settings.mdo</model >
67
- </models >
68
- <templates >
69
- <template >model.vm</template >
70
- </templates >
71
- <params >
72
- <param >packageModelV4=org.apache.maven.api.settings</param >
73
- <param >locationTracking=true</param >
74
- <param >generateLocationClasses=true</param >
75
- </params >
76
- </configuration >
77
- </execution >
78
- <execution >
79
- <id >modello-site-docs</id >
80
- <goals >
81
76
<goal >xdoc</goal >
82
77
<goal >xsd</goal >
83
78
</goals >
84
79
<phase >generate-resources</phase >
85
- <configuration >
86
- <version >2.0.0</version >
87
- <models >
88
- <model >src/main/mdo/settings.mdo</model >
89
- </models >
90
- </configuration >
91
80
</execution >
92
81
</executions >
93
82
</plugin >
Original file line number Diff line number Diff line change @@ -46,27 +46,30 @@ under the License.
46
46
<plugin >
47
47
<groupId >org.codehaus.modello</groupId >
48
48
<artifactId >modello-maven-plugin</artifactId >
49
+ <configuration >
50
+ <version >1.2.0</version >
51
+ <velocityBasedir >${project.basedir} /../../src/mdo</velocityBasedir >
52
+ <models >
53
+ <model >src/main/mdo/toolchains.mdo</model >
54
+ </models >
55
+ <templates >
56
+ <template >model.vm</template >
57
+ </templates >
58
+ <params >
59
+ <param >packageModelV4=org.apache.maven.api.toolchain</param >
60
+ <param >locationTracking=true</param >
61
+ <param >generateLocationClasses=true</param >
62
+ </params >
63
+ </configuration >
49
64
<executions >
50
65
<execution >
51
- <id >velocity </id >
66
+ <id >modello </id >
52
67
<goals >
53
68
<goal >velocity</goal >
69
+ <goal >xdoc</goal >
70
+ <goal >xsd</goal >
54
71
</goals >
55
- <configuration >
56
- <version >1.2.0</version >
57
- <velocityBasedir >${project.basedir} /../../src/mdo</velocityBasedir >
58
- <models >
59
- <model >src/main/mdo/toolchains.mdo</model >
60
- </models >
61
- <templates >
62
- <template >model.vm</template >
63
- </templates >
64
- <params >
65
- <param >packageModelV4=org.apache.maven.api.toolchain</param >
66
- <param >locationTracking=true</param >
67
- <param >generateLocationClasses=true</param >
68
- </params >
69
- </configuration >
72
+ <phase >generate-resources</phase >
70
73
</execution >
71
74
</executions >
72
75
</plugin >
Original file line number Diff line number Diff line change 49
49
<project .directory>api</project .directory>
50
50
</properties >
51
51
52
- <build >
53
- <pluginManagement >
54
- <plugins >
55
- <plugin >
56
- <groupId >org.codehaus.modello</groupId >
57
- <artifactId >modello-maven-plugin</artifactId >
58
- <executions >
59
- <execution >
60
- <id >modello-site-docs</id >
61
- <goals >
62
- <goal >xdoc</goal >
63
- <goal >xsd</goal >
64
- </goals >
65
- <phase >none</phase >
66
- </execution >
67
- </executions >
68
- </plugin >
69
- </plugins >
70
- </pluginManagement >
71
- </build >
72
-
73
52
<profiles >
74
53
<profile >
75
54
<id >reporting</id >
Original file line number Diff line number Diff line change @@ -95,20 +95,6 @@ under the License.
95
95
</params >
96
96
</configuration >
97
97
<executions >
98
- <execution >
99
- <id >modello-site-docs</id >
100
- <goals >
101
- <goal >xdoc</goal >
102
- </goals >
103
- <phase >pre-site</phase >
104
- </execution >
105
- <execution >
106
- <id >modello-schema</id >
107
- <goals >
108
- <goal >xsd</goal >
109
- </goals >
110
- <phase >generate-resources</phase >
111
- </execution >
112
98
<execution >
113
99
<id >model-v3</id >
114
100
<goals >
Original file line number Diff line number Diff line change @@ -215,31 +215,6 @@ under the License.
215
215
<groupId >org.eclipse.sisu</groupId >
216
216
<artifactId >sisu-maven-plugin</artifactId >
217
217
</plugin >
218
- <plugin >
219
- <groupId >org.codehaus.modello</groupId >
220
- <artifactId >modello-maven-plugin</artifactId >
221
- <configuration >
222
- <version >1.1.0</version >
223
- <!-- This is a required attribute and is intentionally left empty -->
224
- <models />
225
- </configuration >
226
- <executions >
227
- <execution >
228
- <!-- This step is required to generate xdoc, and does not generate java code -->
229
- <id >modello-site-doc</id >
230
- <goals >
231
- <goal >xdoc</goal >
232
- </goals >
233
- <phase >pre-site</phase >
234
- <configuration >
235
- <version >1.0.0</version >
236
- <models >
237
- <model >src/main/mdo/extension.mdo</model >
238
- </models >
239
- </configuration >
240
- </execution >
241
- </executions >
242
- </plugin >
243
218
<plugin >
244
219
<groupId >org.codehaus.mojo</groupId >
245
220
<artifactId >buildnumber-maven-plugin</artifactId >
You can’t perform that action at this time.
0 commit comments