3f099cb167d9cda989e0140eef971e94469f77ff
[maven.git] / maven-core / src / main / resources / META-INF / plexus / components.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   There is currently only one component descriptor that cannot be generated from annotations because of the
24   accompanying configuration. Our options are to embed this information programatically or use a configuration source
25   to pull in the lifecycle information.
26 -->
27 <component-set>
28   <components>
29     <!-- 'default' lifecycle, without any binding since it is dependent on packaging -->
30     <component>
31       <role>org.apache.maven.lifecycle.Lifecycle</role>
32       <implementation>org.apache.maven.lifecycle.Lifecycle</implementation>
33       <role-hint>default</role-hint>
34       <configuration>
35         <id>default</id>
36         <!-- START SNIPPET: lifecycle -->
37         <phases>
38           <phase>validate</phase>
39           <phase>initialize</phase>
40           <phase>generate-sources</phase>
41           <phase>process-sources</phase>
42           <phase>generate-resources</phase>
43           <phase>process-resources</phase>
44           <phase>compile</phase>
45           <phase>process-classes</phase>
46           <phase>generate-test-sources</phase>
47           <phase>process-test-sources</phase>
48           <phase>generate-test-resources</phase>
49           <phase>process-test-resources</phase>
50           <phase>test-compile</phase>
51           <phase>process-test-classes</phase>
52           <phase>test</phase>
53           <phase>prepare-package</phase>
54           <phase>package</phase>
55           <phase>pre-integration-test</phase>
56           <phase>integration-test</phase>
57           <phase>post-integration-test</phase>
58           <phase>verify</phase>
59           <phase>install</phase>
60           <phase>deploy</phase>
61         </phases>
62         <!-- END SNIPPET: lifecycle -->
63       </configuration>
64     </component>
65
66     <!-- 'clean' lifecycle, with default binding -->
67     <component>
68       <role>org.apache.maven.lifecycle.Lifecycle</role>
69       <implementation>org.apache.maven.lifecycle.Lifecycle</implementation>
70       <role-hint>clean</role-hint>
71       <configuration>
72         <id>clean</id>
73         <!-- START SNIPPET: clean -->
74         <phases>
75           <phase>pre-clean</phase>
76           <phase>clean</phase>
77           <phase>post-clean</phase>
78         </phases>
79         <default-phases>
80           <clean>
81             org.apache.maven.plugins:maven-clean-plugin:2.5:clean
82           </clean>
83         </default-phases>
84         <!-- END SNIPPET: clean -->
85       </configuration>
86     </component>
87
88     <!-- 'site' lifecycle, with default bindings -->
89     <component>
90       <role>org.apache.maven.lifecycle.Lifecycle</role>
91       <implementation>org.apache.maven.lifecycle.Lifecycle</implementation>
92       <role-hint>site</role-hint>
93       <configuration>
94         <id>site</id>
95         <!-- START SNIPPET: site -->
96         <phases>
97           <phase>pre-site</phase>
98           <phase>site</phase>
99           <phase>post-site</phase>
100           <phase>site-deploy</phase>
101         </phases>
102         <default-phases>
103           <site>
104             org.apache.maven.plugins:maven-site-plugin:3.3:site
105           </site>
106           <site-deploy>
107             org.apache.maven.plugins:maven-site-plugin:3.3:deploy
108           </site-deploy>
109         </default-phases>
110         <!-- END SNIPPET: site -->
111       </configuration>
112     </component>
113
114     <component>
115       <role>org.sonatype.plexus.components.sec.dispatcher.SecDispatcher</role>
116       <role-hint>maven</role-hint>
117       <implementation>org.sonatype.plexus.components.sec.dispatcher.DefaultSecDispatcher</implementation>
118       <description>Maven Security dispatcher</description>
119       <requirements>
120         <requirement>
121           <role>org.sonatype.plexus.components.cipher.PlexusCipher</role>
122           <field-name>_cipher</field-name>
123         </requirement>
124         <requirement>
125           <role>org.sonatype.plexus.components.sec.dispatcher.PasswordDecryptor</role>
126           <field-name>_decryptors</field-name>
127         </requirement>
128       </requirements>
129       <configuration>
130         <_configuration-file>~/.m2/settings-security.xml</_configuration-file>
131       </configuration>
132     </component>
133   </components>
134 </component-set>