09ecba441e61d4a997b01af0171815c558548537
[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.4:install
45               </install>
46               <deploy>
47                 org.apache.maven.plugins:maven-deploy-plugin:2.7: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:2.6:resources
71               </process-resources>
72               <compile>
73                 org.apache.maven.plugins:maven-compiler-plugin:2.5.1:compile
74               </compile>
75               <process-test-resources>
76                 org.apache.maven.plugins:maven-resources-plugin:2.6:testResources
77               </process-test-resources>
78               <test-compile>
79                 org.apache.maven.plugins:maven-compiler-plugin:2.5.1:testCompile
80               </test-compile>
81               <test>
82                 org.apache.maven.plugins:maven-surefire-plugin:2.12.4:test
83               </test>
84               <package>
85                 org.apache.maven.plugins:maven-jar-plugin:2.4:jar
86               </package>
87               <install>
88                 org.apache.maven.plugins:maven-install-plugin:2.4:install
89               </install>
90               <deploy>
91                 org.apache.maven.plugins:maven-deploy-plugin:2.7: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:2.6:resources
115               </process-resources>
116               <compile>
117                 org.apache.maven.plugins:maven-compiler-plugin:2.5.1:compile
118               </compile>
119               <process-test-resources>
120                 org.apache.maven.plugins:maven-resources-plugin:2.6:testResources
121               </process-test-resources>
122               <test-compile>
123                 org.apache.maven.plugins:maven-compiler-plugin:2.5.1:testCompile
124               </test-compile>
125               <test>
126                 org.apache.maven.plugins:maven-surefire-plugin:2.12.4:test
127               </test>
128               <package>
129                 org.apache.maven.plugins:maven-ejb-plugin:2.3:ejb
130               </package>
131               <install>
132                 org.apache.maven.plugins:maven-install-plugin:2.4:install
133               </install>
134               <deploy>
135                 org.apache.maven.plugins:maven-deploy-plugin:2.7:deploy
136               </deploy>
137             </phases>
138             <!-- END SNIPPET: ejb-lifecycle -->
139           </lifecycle>
140         </lifecycles>
141       </configuration>
142     </component>    
143     <component>
144       <role>org.apache.maven.lifecycle.mapping.LifecycleMapping</role>
145       <role-hint>ejb3</role-hint>
146       <implementation>org.apache.maven.lifecycle.mapping.DefaultLifecycleMapping</implementation>
147       <configuration>
148         <lifecycles>
149           <lifecycle>
150             <id>default</id>
151             <!-- START SNIPPET: ejb3-lifecycle -->
152             <phases>
153               <process-resources>
154                 org.apache.maven.plugins:maven-resources-plugin:2.6:resources
155               </process-resources>
156               <compile>
157                 org.apache.maven.plugins:maven-compiler-plugin:2.5.1:compile
158               </compile>
159               <process-test-resources>
160                 org.apache.maven.plugins:maven-resources-plugin:2.6:testResources
161               </process-test-resources>
162               <test-compile>
163                 org.apache.maven.plugins:maven-compiler-plugin:2.5.1:testCompile
164               </test-compile>
165               <test>
166                 org.apache.maven.plugins:maven-surefire-plugin:2.12.4:test
167               </test>
168               <package>
169                 org.apache.maven.plugins:maven-ejb3-plugin:ejb3
170               </package>
171               <install>
172                 org.apache.maven.plugins:maven-install-plugin:2.4:install
173               </install>
174               <deploy>
175                 org.apache.maven.plugins:maven-deploy-plugin:2.7:deploy
176               </deploy>
177             </phases>
178             <!-- END SNIPPET: ejb3-lifecycle -->
179           </lifecycle>
180         </lifecycles>
181       </configuration>
182     </component>     
183
184     <!--
185      | MAVEN PLUGIN
186      |-->
187     <component>
188       <role>org.apache.maven.lifecycle.mapping.LifecycleMapping</role>
189       <role-hint>maven-plugin</role-hint>
190       <implementation>org.apache.maven.lifecycle.mapping.DefaultLifecycleMapping</implementation>
191       <configuration>
192         <lifecycles>
193           <lifecycle>
194             <id>default</id>
195             <!-- START SNIPPET: maven-plugin-lifecycle -->
196             <phases>
197               <generate-resources>
198                 org.apache.maven.plugins:maven-plugin-plugin:3.2:descriptor
199               </generate-resources>
200               <process-resources>
201                 org.apache.maven.plugins:maven-resources-plugin:2.6:resources
202               </process-resources>
203               <compile>
204                 org.apache.maven.plugins:maven-compiler-plugin:2.5.1:compile
205               </compile>
206               <process-test-resources>
207                 org.apache.maven.plugins:maven-resources-plugin:2.6:testResources
208               </process-test-resources>
209               <test-compile>
210                 org.apache.maven.plugins:maven-compiler-plugin:2.5.1:testCompile
211               </test-compile>
212               <test>
213                 org.apache.maven.plugins:maven-surefire-plugin:2.12.4:test
214               </test>
215               <package>
216                 org.apache.maven.plugins:maven-jar-plugin:2.4:jar,
217                 org.apache.maven.plugins:maven-plugin-plugin:3.2:addPluginArtifactMetadata
218               </package>
219               <install>
220                 org.apache.maven.plugins:maven-install-plugin:2.4:install
221               </install>
222               <deploy>
223                 org.apache.maven.plugins:maven-deploy-plugin:2.7:deploy
224               </deploy>
225             </phases>
226             <!-- END SNIPPET: maven-plugin-lifecycle -->
227           </lifecycle>
228         </lifecycles>
229       </configuration>
230     </component>    
231
232     <!--
233      | WAR 
234      |-->
235     <component>
236       <role>org.apache.maven.lifecycle.mapping.LifecycleMapping</role>
237       <role-hint>war</role-hint>
238       <implementation>org.apache.maven.lifecycle.mapping.DefaultLifecycleMapping</implementation>
239       <configuration>
240         <lifecycles>
241           <lifecycle>
242             <id>default</id>
243             <!-- START SNIPPET: war-lifecycle -->
244             <phases>
245               <process-resources>
246                 org.apache.maven.plugins:maven-resources-plugin:2.6:resources
247               </process-resources>
248               <compile>
249                 org.apache.maven.plugins:maven-compiler-plugin:2.5.1:compile
250               </compile>
251               <process-test-resources>
252                 org.apache.maven.plugins:maven-resources-plugin:2.6:testResources
253               </process-test-resources>
254               <test-compile>
255                 org.apache.maven.plugins:maven-compiler-plugin:2.5.1:testCompile
256               </test-compile>
257               <test>
258                 org.apache.maven.plugins:maven-surefire-plugin:2.12.4:test
259               </test>
260               <package>
261                 org.apache.maven.plugins:maven-war-plugin:2.2:war
262               </package>
263               <install>
264                 org.apache.maven.plugins:maven-install-plugin:2.4:install
265               </install>
266               <deploy>
267                 org.apache.maven.plugins:maven-deploy-plugin:2.7:deploy
268               </deploy>
269             </phases>
270             <!-- END SNIPPET: war-lifecycle -->
271           </lifecycle>
272         </lifecycles>
273       </configuration>
274     </component>    
275
276     <!--
277      | EAR 
278      |-->
279     <component>
280       <role>org.apache.maven.lifecycle.mapping.LifecycleMapping</role>
281       <role-hint>ear</role-hint>
282       <implementation>org.apache.maven.lifecycle.mapping.DefaultLifecycleMapping</implementation>
283       <configuration>
284         <lifecycles>
285           <lifecycle>
286             <id>default</id>
287             <!-- START SNIPPET: ear-lifecycle -->
288             <phases>
289               <generate-resources>
290                 org.apache.maven.plugins:maven-ear-plugin:2.8:generate-application-xml
291               </generate-resources>
292               <process-resources>
293                 org.apache.maven.plugins:maven-resources-plugin:2.4.3:resources
294               </process-resources>
295               <package>
296                 org.apache.maven.plugins:maven-ear-plugin:2.8:ear
297               </package>
298               <install>
299                 org.apache.maven.plugins:maven-install-plugin:2.4:install
300               </install>
301               <deploy>
302                 org.apache.maven.plugins:maven-deploy-plugin:2.7:deploy
303               </deploy>
304             </phases>
305             <!-- END SNIPPET: ear-lifecycle -->
306           </lifecycle>
307         </lifecycles>
308       </configuration>
309     </component>
310
311     <!--
312      | RAR
313      |-->
314     <component>
315       <role>org.apache.maven.lifecycle.mapping.LifecycleMapping</role>
316       <role-hint>rar</role-hint>
317       <implementation>org.apache.maven.lifecycle.mapping.DefaultLifecycleMapping</implementation>
318       <configuration>
319         <lifecycles>
320           <lifecycle>
321             <id>default</id>
322             <!-- START SNIPPET: rar-lifecycle -->
323             <phases>
324               <process-resources>
325                 org.apache.maven.plugins:maven-resources-plugin:2.6:resources
326               </process-resources>
327               <compile>
328                 org.apache.maven.plugins:maven-compiler-plugin:2.5.1:compile
329               </compile>
330               <process-test-resources>
331                 org.apache.maven.plugins:maven-resources-plugin:2.6:testResources
332               </process-test-resources>
333               <test-compile>
334                 org.apache.maven.plugins:maven-compiler-plugin:2.5.1:testCompile
335               </test-compile>
336               <test>
337                 org.apache.maven.plugins:maven-surefire-plugin:2.12.4:test
338               </test>
339               <package>
340                 org.apache.maven.plugins:maven-rar-plugin:2.2:rar
341               </package>
342               <install>
343                 org.apache.maven.plugins:maven-install-plugin:2.4:install
344               </install>
345               <deploy>
346                 org.apache.maven.plugins:maven-deploy-plugin:2.7:deploy
347               </deploy>
348             </phases>
349             <!-- END SNIPPET: rar-lifecycle -->
350           </lifecycle>
351         </lifecycles>
352       </configuration>
353     </component>    
354
355     <!--
356      | PAR
357      |-->
358     <component>
359       <role>org.apache.maven.lifecycle.mapping.LifecycleMapping</role>
360       <role-hint>par</role-hint>
361       <implementation>org.apache.maven.lifecycle.mapping.DefaultLifecycleMapping</implementation>
362       <configuration>
363         <lifecycles>
364           <lifecycle>
365             <id>default</id>
366             <!-- START SNIPPET: par-lifecycle -->
367             <phases>
368               <process-resources>
369                 org.apache.maven.plugins:maven-resources-plugin:2.6:resources
370               </process-resources>
371               <compile>
372                 org.apache.maven.plugins:maven-compiler-plugin:2.5.1:compile
373               </compile>
374               <process-test-resources>
375                 org.apache.maven.plugins:maven-resources-plugin:2.6:testResources
376               </process-test-resources>
377               <test-compile>
378                 org.apache.maven.plugins:maven-compiler-plugin:2.5.1:testCompile
379               </test-compile>
380               <test>
381                 org.apache.maven.plugins:maven-surefire-plugin:2.12.4:test
382               </test>
383               <package>
384                 org.apache.maven.plugins:maven-par-plugin:par
385               </package>
386               <install>
387                 org.apache.maven.plugins:maven-install-plugin:2.4:install
388               </install>
389               <deploy>
390                 org.apache.maven.plugins:maven-deploy-plugin:2.7:deploy
391               </deploy>
392             </phases>
393             <!-- END SNIPPET: par-lifecycle -->
394           </lifecycle>
395         </lifecycles>
396       </configuration>
397     </component>    
398   </components>
399 </component-set>