Add .tox/ to .gitignore
[odlparent.git] / karaf / karaf-maven-plugin / src / main / resources / META-INF / plexus / components.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!--
3     Licensed to the Apache Software Foundation (ASF) under one
4     or more contributor license agreements.  See the NOTICE file
5     distributed with this work for additional information
6     regarding copyright ownership.  The ASF licenses this file
7     to you under the Apache License, Version 2.0 (the
8     "License"); you may not use this file except in compliance
9     with the License.  You may obtain a copy of the License at
10
11      http://www.apache.org/licenses/LICENSE-2.0
12
13     Unless required by applicable law or agreed to in writing,
14     software distributed under the License is distributed on an
15     "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16     KIND, either express or implied.  See the License for the
17     specific language governing permissions and limitations
18     under the License.
19 -->
20
21 <component-set>
22     <components>
23         <component>
24             <role>org.apache.maven.lifecycle.mapping.LifecycleMapping</role>
25             <role-hint>feature</role-hint>
26             <implementation>org.apache.maven.lifecycle.mapping.DefaultLifecycleMapping</implementation>
27             <configuration>
28                 <lifecycles>
29                     <lifecycle>
30                         <id>default</id>
31                         <phases>
32                             <compile>
33                                 org.opendaylight.odlparent:karaf-maven-plugin:features-generate-descriptor
34                             </compile>
35                             <install>
36                                 org.apache.maven.plugins:maven-install-plugin:install
37                             </install>
38                             <deploy>
39                                 org.apache.maven.plugins:maven-deploy-plugin:deploy
40                             </deploy>
41                         </phases>
42                     </lifecycle>
43                 </lifecycles>
44             </configuration>
45         </component>
46         <component>
47              <role>org.apache.maven.artifact.handler.ArtifactHandler</role>
48              <role-hint>feature</role-hint>
49              <implementation>org.apache.maven.artifact.handler.DefaultArtifactHandler</implementation>
50              <configuration>
51                  <type>xml</type>
52                  <extension>xml</extension>
53                  <packaging>feature</packaging>
54                  <addedToClasspath>false</addedToClasspath>
55                  <language>java</language>
56              </configuration>
57          </component>
58
59         <component>
60             <role>org.apache.maven.lifecycle.mapping.LifecycleMapping</role>
61             <role-hint>kar</role-hint>
62             <implementation>org.apache.maven.lifecycle.mapping.DefaultLifecycleMapping</implementation>
63             <configuration>
64                 <lifecycles>
65                     <lifecycle>
66                         <id>default</id>
67                         <phases>
68                             <process-resources>
69                                 org.apache.maven.plugins:maven-resources-plugin:resources
70                             </process-resources>
71                             <compile>
72                                 org.opendaylight.odlparent:karaf-maven-plugin:features-generate-descriptor
73                             </compile>
74                             <package>
75                                 org.opendaylight.odlparent:karaf-maven-plugin:kar
76                             </package>
77                             <install>
78                                 org.apache.maven.plugins:maven-install-plugin:install
79                             </install>
80                             <deploy>
81                                 org.apache.maven.plugins:maven-deploy-plugin:deploy
82                             </deploy>
83                         </phases>
84                     </lifecycle>
85                 </lifecycles>
86             </configuration>
87         </component>
88         <component>
89              <role>org.apache.maven.artifact.handler.ArtifactHandler</role>
90              <role-hint>kar</role-hint>
91              <implementation>org.apache.maven.artifact.handler.DefaultArtifactHandler</implementation>
92              <configuration>
93                  <type>kar</type>
94                  <extension>kar</extension>
95                  <packaging>kar</packaging>
96                  <addedToClasspath>false</addedToClasspath>
97                  <language>java</language>
98              </configuration>
99          </component>
100         <component>
101             <role>org.codehaus.plexus.archiver.UnArchiver</role>
102             <role-hint>kar</role-hint>
103             <implementation>org.codehaus.plexus.archiver.zip.ZipUnArchiver</implementation>
104             <instantiation-strategy>per-lookup</instantiation-strategy>
105         </component>
106
107         <component>
108             <role>org.apache.maven.lifecycle.mapping.LifecycleMapping</role>
109             <role-hint>karaf-assembly</role-hint>
110             <implementation>org.apache.maven.lifecycle.mapping.DefaultLifecycleMapping</implementation>
111             <configuration>
112                 <lifecycles>
113                     <lifecycle>
114                         <id>default</id>
115                         <phases>
116                             <process-resources>
117                                 org.apache.maven.plugins:maven-resources-plugin:resources,
118                                 org.opendaylight.odlparent:karaf-maven-plugin:assembly
119                             </process-resources>
120                             <compile>
121                             </compile>
122                             <package>
123                                 org.opendaylight.odlparent:karaf-maven-plugin:archive
124                             </package>
125                             <install>
126                                 org.apache.maven.plugins:maven-install-plugin:install
127                             </install>
128                             <deploy>
129                                 org.apache.maven.plugins:maven-deploy-plugin:deploy
130                             </deploy>
131                         </phases>
132                     </lifecycle>
133                 </lifecycles>
134             </configuration>
135         </component>
136
137     </components>
138 </component-set>
139