9a303531f5321084401994a0a286c6e42d3aa9d1
[maven.git] / maven-core / src / main / resources / META-INF / plexus / default-bindings.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2
3 <!--
4 Licensed to the Apache Software Foundation (ASF) under one
5 or more contributor license agreements. See the NOTICE file
6 distributed with this work for additional information
7 regarding copyright ownership. The ASF licenses this file
8 to you under the Apache License, Version 2.0 (the
9 "License"); you may not use this file except in compliance
10 with the License. You may obtain a copy of the License at
11
12 http://www.apache.org/licenses/LICENSE-2.0
13
14 Unless required by applicable law or agreed to in writing,
15 software distributed under the License is distributed on an
16 "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
17 KIND, either express or implied. See the License for the
18 specific language governing permissions and limitations
19 under the License.
20 -->
21
22 <!--
23
24 Mappings to default lifecycle, specific for each packaging.
25
26 -->
27
28 <component-set>
29 <components>
30 <!--
31 | POM
32 |-->
33 <component>
34 <role>org.apache.maven.lifecycle.mapping.LifecycleMapping</role>
35 <role-hint>pom</role-hint>
36 <implementation>org.apache.maven.lifecycle.mapping.DefaultLifecycleMapping</implementation>
37 <configuration>
38 <lifecycles>
39 <lifecycle>
40 <id>default</id>
41 <!-- START SNIPPET: pom-lifecycle -->
42 <phases>
43 <install>
44 org.apache.maven.plugins:maven-install-plugin:2.5.2:install
45 </install>
46 <deploy>
47 org.apache.maven.plugins:maven-deploy-plugin:2.8.2:deploy
48 </deploy>
49 </phases>
50 <!-- END SNIPPET: pom-lifecycle -->
51 </lifecycle>
52 </lifecycles>
53 </configuration>
54 </component>
55
56 <!--
57 | JAR
58 |-->
59 <component>
60 <role>org.apache.maven.lifecycle.mapping.LifecycleMapping</role>
61 <role-hint>jar</role-hint>
62 <implementation>org.apache.maven.lifecycle.mapping.DefaultLifecycleMapping</implementation>
63 <configuration>
64 <lifecycles>
65 <lifecycle>
66 <id>default</id>
67 <!-- START SNIPPET: jar-lifecycle -->
68 <phases>
69 <process-resources>
70 org.apache.maven.plugins:maven-resources-plugin:3.0.1:resources
71 </process-resources>
72 <compile>
73 org.apache.maven.plugins:maven-compiler-plugin:3.5.1:compile
74 </compile>
75 <process-test-resources>
76 org.apache.maven.plugins:maven-resources-plugin:3.0.1:testResources
77 </process-test-resources>
78 <test-compile>
79 org.apache.maven.plugins:maven-compiler-plugin:3.5.1:testCompile
80 </test-compile>
81 <test>
82 org.apache.maven.plugins:maven-surefire-plugin:2.19.1:test
83 </test>
84 <package>
85 org.apache.maven.plugins:maven-jar-plugin:3.0.2:jar
86 </package>
87 <install>
88 org.apache.maven.plugins:maven-install-plugin:2.5.2:install
89 </install>
90 <deploy>
91 org.apache.maven.plugins:maven-deploy-plugin:2.8.2:deploy
92 </deploy>
93 </phases>
94 <!-- END SNIPPET: jar-lifecycle -->
95 </lifecycle>
96 </lifecycles>
97 </configuration>
98 </component>
99
100 <!--
101 | EJB
102 |-->
103 <component>
104 <role>org.apache.maven.lifecycle.mapping.LifecycleMapping</role>
105 <role-hint>ejb</role-hint>
106 <implementation>org.apache.maven.lifecycle.mapping.DefaultLifecycleMapping</implementation>
107 <configuration>
108 <lifecycles>
109 <lifecycle>
110 <id>default</id>
111 <!-- START SNIPPET: ejb-lifecycle -->
112 <phases>
113 <process-resources>
114 org.apache.maven.plugins:maven-resources-plugin:3.0.1:resources
115 </process-resources>
116 <compile>
117 org.apache.maven.plugins:maven-compiler-plugin:3.5.1:compile
118 </compile>
119 <process-test-resources>
120 org.apache.maven.plugins:maven-resources-plugin:3.0.1:testResources
121 </process-test-resources>
122 <test-compile>
123 org.apache.maven.plugins:maven-compiler-plugin:3.5.1:testCompile
124 </test-compile>
125 <test>
126 org.apache.maven.plugins:maven-surefire-plugin:2.19.1:test
127 </test>
128 <package>
129 org.apache.maven.plugins:maven-ejb-plugin:2.5.1:ejb
130 </package>
131 <install>
132 org.apache.maven.plugins:maven-install-plugin:2.5.2:install
133 </install>
134 <deploy>
135 org.apache.maven.plugins:maven-deploy-plugin:2.8.2:deploy
136 </deploy>
137 </phases>
138 <!-- END SNIPPET: ejb-lifecycle -->
139 </lifecycle>
140 </lifecycles>
141 </configuration>
142 </component>
143
144 <!--
145 | MAVEN PLUGIN
146 |-->
147 <component>
148 <role>org.apache.maven.lifecycle.mapping.LifecycleMapping</role>
149 <role-hint>maven-plugin</role-hint>
150 <implementation>org.apache.maven.lifecycle.mapping.DefaultLifecycleMapping</implementation>
151 <configuration>
152 <lifecycles>
153 <lifecycle>
154 <id>default</id>
155 <!-- START SNIPPET: maven-plugin-lifecycle -->
156 <phases>
157 <process-resources>
158 org.apache.maven.plugins:maven-resources-plugin:3.0.1:resources
159 </process-resources>
160 <compile>
161 org.apache.maven.plugins:maven-compiler-plugin:3.5.1:compile
162 </compile>
163 <process-classes>
164 org.apache.maven.plugins:maven-plugin-plugin:3.4:descriptor
165 </process-classes>
166 <process-test-resources>
167 org.apache.maven.plugins:maven-resources-plugin:3.0.1:testResources
168 </process-test-resources>
169 <test-compile>
170 org.apache.maven.plugins:maven-compiler-plugin:3.5.1:testCompile
171 </test-compile>
172 <test>
173 org.apache.maven.plugins:maven-surefire-plugin:2.19.1:test
174 </test>
175 <package>
176 org.apache.maven.plugins:maven-jar-plugin:3.0.2:jar,
177 org.apache.maven.plugins:maven-plugin-plugin:3.4:addPluginArtifactMetadata
178 </package>
179 <install>
180 org.apache.maven.plugins:maven-install-plugin:2.5.2:install
181 </install>
182 <deploy>
183 org.apache.maven.plugins:maven-deploy-plugin:2.8.2:deploy
184 </deploy>
185 </phases>
186 <!-- END SNIPPET: maven-plugin-lifecycle -->
187 </lifecycle>
188 </lifecycles>
189 </configuration>
190 </component>
191
192 <!--
193 | WAR
194 |-->
195 <component>
196 <role>org.apache.maven.lifecycle.mapping.LifecycleMapping</role>
197 <role-hint>war</role-hint>
198 <implementation>org.apache.maven.lifecycle.mapping.DefaultLifecycleMapping</implementation>
199 <configuration>
200 <lifecycles>
201 <lifecycle>
202 <id>default</id>
203 <!-- START SNIPPET: war-lifecycle -->
204 <phases>
205 <process-resources>
206 org.apache.maven.plugins:maven-resources-plugin:3.0.1:resources
207 </process-resources>
208 <compile>
209 org.apache.maven.plugins:maven-compiler-plugin:3.5.1:compile
210 </compile>
211 <process-test-resources>
212 org.apache.maven.plugins:maven-resources-plugin:3.0.1:testResources
213 </process-test-resources>
214 <test-compile>
215 org.apache.maven.plugins:maven-compiler-plugin:3.5.1:testCompile
216 </test-compile>
217 <test>
218 org.apache.maven.plugins:maven-surefire-plugin:2.19.1:test
219 </test>
220 <package>
221 org.apache.maven.plugins:maven-war-plugin:2.6:war
222 </package>
223 <install>
224 org.apache.maven.plugins:maven-install-plugin:2.5.2:install
225 </install>
226 <deploy>
227 org.apache.maven.plugins:maven-deploy-plugin:2.8.2:deploy
228 </deploy>
229 </phases>
230 <!-- END SNIPPET: war-lifecycle -->
231 </lifecycle>
232 </lifecycles>
233 </configuration>
234 </component>
235
236 <!--
237 | EAR
238 |-->
239 <component>
240 <role>org.apache.maven.lifecycle.mapping.LifecycleMapping</role>
241 <role-hint>ear</role-hint>
242 <implementation>org.apache.maven.lifecycle.mapping.DefaultLifecycleMapping</implementation>
243 <configuration>
244 <lifecycles>
245 <lifecycle>
246 <id>default</id>
247 <!-- START SNIPPET: ear-lifecycle -->
248 <phases>
249 <generate-resources>
250 org.apache.maven.plugins:maven-ear-plugin:2.9.1:generate-application-xml
251 </generate-resources>
252 <process-resources>
253 org.apache.maven.plugins:maven-resources-plugin:3.0.1:resources
254 </process-resources>
255 <package>
256 org.apache.maven.plugins:maven-ear-plugin:2.9.1:ear
257 </package>
258 <install>
259 org.apache.maven.plugins:maven-install-plugin:2.5.2:install
260 </install>
261 <deploy>
262 org.apache.maven.plugins:maven-deploy-plugin:2.8.2:deploy
263 </deploy>
264 </phases>
265 <!-- END SNIPPET: ear-lifecycle -->
266 </lifecycle>
267 </lifecycles>
268 </configuration>
269 </component>
270
271 <!--
272 | RAR
273 |-->
274 <component>
275 <role>org.apache.maven.lifecycle.mapping.LifecycleMapping</role>
276 <role-hint>rar</role-hint>
277 <implementation>org.apache.maven.lifecycle.mapping.DefaultLifecycleMapping</implementation>
278 <configuration>
279 <lifecycles>
280 <lifecycle>
281 <id>default</id>
282 <!-- START SNIPPET: rar-lifecycle -->
283 <phases>
284 <process-resources>
285 org.apache.maven.plugins:maven-resources-plugin:3.0.1:resources
286 </process-resources>
287 <compile>
288 org.apache.maven.plugins:maven-compiler-plugin:3.5.1:compile
289 </compile>
290 <process-test-resources>
291 org.apache.maven.plugins:maven-resources-plugin:3.0.1:testResources
292 </process-test-resources>
293 <test-compile>
294 org.apache.maven.plugins:maven-compiler-plugin:3.5.1:testCompile
295 </test-compile>
296 <test>
297 org.apache.maven.plugins:maven-surefire-plugin:2.19.1:test
298 </test>
299 <package>
300 org.apache.maven.plugins:maven-rar-plugin:2.4:rar
301 </package>
302 <install>
303 org.apache.maven.plugins:maven-install-plugin:2.5.2:install
304 </install>
305 <deploy>
306 org.apache.maven.plugins:maven-deploy-plugin:2.8.2:deploy
307 </deploy>
308 </phases>
309 <!-- END SNIPPET: rar-lifecycle -->
310 </lifecycle>
311 </lifecycles>
312 </configuration>
313 </component>
314
315 </components>
316 </component-set>

Copyright 2016, The Apache Software Foundation.