Add .tox/ to .gitignore
[odlparent.git] / karaf / karaf-maven-plugin / pom.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
3
4     <!--
5
6         Licensed to the Apache Software Foundation (ASF) under one or more
7         contributor license agreements.  See the NOTICE file distributed with
8         this work for additional information regarding copyright ownership.
9         The ASF licenses this file to You under the Apache License, Version 2.0
10         (the "License"); you may not use this file except in compliance with
11         the License.  You may obtain a copy of the License at
12
13            http://www.apache.org/licenses/LICENSE-2.0
14
15         Unless required by applicable law or agreed to in writing, software
16         distributed under the License is distributed on an "AS IS" BASIS,
17         WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
18         See the License for the specific language governing permissions and
19         limitations under the License.
20     -->
21
22     <modelVersion>4.0.0</modelVersion>
23
24     <parent>
25         <groupId>org.apache.karaf.tooling</groupId>
26         <artifactId>tooling</artifactId>
27         <version>4.0.8</version>
28         <relativePath/>
29     </parent>
30
31     <groupId>org.opendaylight.odlparent</groupId>
32     <artifactId>karaf-maven-plugin</artifactId>
33     <version>4.0.9-SNAPSHOT</version>
34     <packaging>maven-plugin</packaging>
35     <name>Apache Karaf :: Tooling :: Maven Karaf Plugin</name>
36
37     <dependencies>
38         <dependency>
39             <groupId>org.apache.maven</groupId>
40             <artifactId>maven-plugin-api</artifactId>
41             <version>3.0.3</version>
42         </dependency>
43         <dependency>
44             <groupId>org.sonatype.aether</groupId>
45             <artifactId>aether-api</artifactId>
46             <version>1.11</version>
47         </dependency>
48         <dependency>
49             <groupId>org.sonatype.aether</groupId>
50             <artifactId>aether-util</artifactId>
51             <version>1.11</version>
52         </dependency>
53         <dependency>
54             <groupId>org.eclipse.aether</groupId>
55             <artifactId>aether-api</artifactId>
56             <version>0.9.0.M2</version>
57         </dependency>
58         <dependency>
59             <groupId>org.eclipse.aether</groupId>
60             <artifactId>aether-util</artifactId>
61             <version>0.9.0.M2</version>
62         </dependency>
63         <dependency>
64             <groupId>org.apache.maven</groupId>
65             <artifactId>maven-artifact</artifactId>
66             <version>3.0.3</version>
67         </dependency>
68         <dependency>
69             <groupId>org.apache.maven</groupId>
70             <artifactId>maven-core</artifactId>
71             <version>3.0.3</version>
72         </dependency>
73         <dependency>
74             <groupId>org.apache.maven</groupId>
75             <artifactId>maven-compat</artifactId>
76             <version>3.0.3</version>
77         </dependency>
78         <dependency>
79             <groupId>org.apache.maven.plugin-tools</groupId>
80             <artifactId>maven-plugin-annotations</artifactId>
81             <version>3.3</version>
82         </dependency>
83         <dependency>
84             <groupId>org.apache.maven.wagon</groupId>
85             <artifactId>wagon-http</artifactId>
86             <version>2.10</version>
87             <scope>runtime</scope>
88         </dependency>
89         <dependency>
90             <groupId>org.apache.karaf</groupId>
91             <artifactId>org.apache.karaf.util</artifactId>
92             <version>4.0.8</version>
93             <exclusions>
94                 <exclusion>
95                     <groupId>org.apache.karaf.jaas</groupId>
96                     <artifactId>org.apache.karaf.jaas.boot</artifactId>
97                 </exclusion>
98             </exclusions>
99         </dependency>
100         <dependency>
101             <groupId>org.apache.karaf.tooling</groupId>
102             <artifactId>org.apache.karaf.tools.utils</artifactId>
103             <version>4.0.8</version>
104         </dependency>
105         <dependency>
106             <groupId>org.apache.maven</groupId>
107             <artifactId>maven-archiver</artifactId>
108             <version>2.5</version>
109         </dependency>
110         <dependency>
111             <groupId>org.apache.maven.shared</groupId>
112             <artifactId>maven-filtering</artifactId>
113             <version>1.0-beta-4</version>
114         </dependency>
115         <dependency>
116             <groupId>org.codehaus.plexus</groupId>
117             <artifactId>plexus-utils</artifactId>
118             <version>3.0</version>
119         </dependency>
120         <dependency>
121             <groupId>org.apache.felix</groupId>
122             <artifactId>org.apache.felix.fileinstall</artifactId>
123         </dependency>
124         <dependency>
125             <groupId>org.apache.karaf.features</groupId>
126             <artifactId>org.apache.karaf.features.core</artifactId>
127             <version>4.0.8</version>
128             <exclusions>
129                 <exclusion>
130                     <artifactId>org.apache.karaf.shell.console</artifactId>
131                     <groupId>org.apache.karaf.shell</groupId>
132                 </exclusion>
133             </exclusions>
134         </dependency>
135         <dependency>
136             <groupId>org.apache.karaf.profile</groupId>
137             <artifactId>org.apache.karaf.profile.core</artifactId>
138             <version>4.0.8</version>
139         </dependency>
140         <dependency>
141             <groupId>org.apache.felix</groupId>
142             <artifactId>org.apache.felix.resolver</artifactId>
143         </dependency>
144         <dependency>
145             <groupId>org.ops4j.pax.url</groupId>
146             <artifactId>pax-url-wrap</artifactId>
147             <classifier>uber</classifier>
148         </dependency>
149         <dependency>
150             <groupId>org.ops4j.pax.url</groupId>
151             <artifactId>pax-url-aether</artifactId>
152         </dependency>
153         <dependency>
154             <groupId>org.apache.karaf.deployer</groupId>
155             <artifactId>org.apache.karaf.deployer.kar</artifactId>
156             <version>4.0.8</version>
157             <exclusions>
158                 <exclusion>
159                     <groupId>org.apache.karaf.kar</groupId>
160                     <artifactId>org.apache.karaf.kar.core</artifactId>
161                 </exclusion>
162             </exclusions>
163         </dependency>
164         <dependency>
165             <groupId>org.apache.karaf.kar</groupId>
166             <artifactId>org.apache.karaf.kar.core</artifactId>
167             <version>4.0.8</version>
168         </dependency>
169         <dependency>
170             <groupId>org.apache.karaf.shell</groupId>
171             <artifactId>org.apache.karaf.shell.core</artifactId>
172             <version>4.0.8</version>
173             <exclusions>
174                 <exclusion>
175                     <groupId>org.apache.karaf.jaas</groupId>
176                     <artifactId>org.apache.karaf.jaas.boot</artifactId>
177                 </exclusion>
178             </exclusions>
179         </dependency>
180         <dependency>
181             <groupId>org.apache.karaf</groupId>
182             <artifactId>org.apache.karaf.main</artifactId>
183             <version>4.0.8</version>
184         </dependency>
185         <dependency>
186             <groupId>commons-lang</groupId>
187             <artifactId>commons-lang</artifactId>
188             <version>2.6</version>
189         </dependency>
190         <dependency>
191             <groupId>org.apache.commons</groupId>
192             <artifactId>commons-compress</artifactId>
193         </dependency>
194         <dependency>
195             <groupId>org.osgi</groupId>
196             <artifactId>org.osgi.core</artifactId>
197             <scope>compile</scope>
198         </dependency>
199         <dependency>
200             <groupId>org.apache.xbean</groupId>
201             <artifactId>xbean-finder-shaded</artifactId>
202         </dependency>
203     </dependencies>
204
205     <properties>
206         <!-- This doesn't react too well with our build setup -->
207         <invoker.skip>true</invoker.skip>
208     </properties>
209
210     <build>
211         <plugins>
212             <plugin>
213                 <groupId>org.apache.maven.plugins</groupId>
214                 <artifactId>maven-invoker-plugin</artifactId>
215                 <version>2.0.0</version>
216                 <configuration>
217                     <debug>true</debug>
218                     <projectsDirectory>src/it</projectsDirectory>
219                     <cloneProjectsTo>${project.build.directory}/it</cloneProjectsTo>
220                     <pomIncludes>
221                         <pomInclude>*/pom.xml</pomInclude>
222                     </pomIncludes>
223                     <postBuildHookScript>verify</postBuildHookScript>
224                     <!--<localRepositoryPath>${project.build.directory}/system</localRepositoryPath>-->
225                     <!--<settingsFile>src/it/settings.xml</settingsFile>-->
226                     <mavenOpts>-Djava.io.tmpdir=${project.build.directory}</mavenOpts>
227                     <skipInstallation>${invoker.skip}</skipInstallation>
228                     <skipInvocation>${invoker.skip}</skipInvocation>
229                     <goals>
230                         <goal>package</goal>
231                     </goals>
232                 </configuration>
233                 <executions>
234                     <execution>
235                         <id>integration-test</id>
236                         <goals>
237                             <goal>install</goal>
238                             <goal>run</goal>
239                         </goals>
240                     </execution>
241                     <execution>
242                         <id>test-offline</id>
243                         <goals>
244                             <goal>run</goal>
245                         </goals>
246                         <configuration>
247                             <invokerPropertiesFile>src/test/offline.properties</invokerPropertiesFile>
248                             <pomExcludes>
249                                 <pomExclude>test-check-dependencies-failure/pom.xml</pomExclude>
250                             </pomExcludes>
251                         </configuration>
252                     </execution>
253                 </executions>
254                 <dependencies>
255                     <dependency>
256                         <groupId>xmlunit</groupId>
257                         <artifactId>xmlunit</artifactId>
258                         <version>1.3</version>
259                     </dependency>
260                 </dependencies>
261             </plugin>
262             <plugin>
263                 <artifactId>maven-plugin-plugin</artifactId>
264                 <executions>
265                     <execution>
266                         <id>default-descriptor</id>
267                         <goals>
268                             <goal>descriptor</goal>
269                         </goals>
270                         <phase>process-classes</phase>
271                     </execution>
272                 </executions>
273             </plugin>
274             <plugin>
275                 <artifactId>maven-site-plugin</artifactId>
276                 <configuration>
277                     <skip>true</skip>
278                 </configuration>
279             </plugin>
280         </plugins>
281     </build>
282
283
284     <reporting>
285         <!--<outputDirectory>target/site</outputDirectory>-->
286         <plugins>
287             <plugin>
288                 <artifactId>maven-plugin-plugin</artifactId>
289             </plugin>
290         </plugins>
291     </reporting>
292
293 </project>