Bump odlparent 2.0.4 to 2.0.5
[neutron.git] / karaf / pom.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!--
3 Copyright (c) 2017 Intel Corporation and others. All rights reserved.
4 This program and the accompanying materials are made available under the
5 terms of the Eclipse Public License v1.0 which accompanies this distribution,
6 and is available at http://www.eclipse.org/legal/epl-v10.html INTERNAL
7 -->
8 <project xmlns="http://maven.apache.org/POM/4.0.0"
9          xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
10          xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
11     <parent>
12         <groupId>org.opendaylight.odlparent</groupId>
13         <artifactId>karaf4-parent</artifactId>
14         <version>2.0.5</version>
15         <relativePath/>
16     </parent>
17     <modelVersion>4.0.0</modelVersion>
18     <groupId>org.opendaylight.neutron</groupId>
19     <artifactId>neutron-karaf</artifactId>
20     <version>0.10.0-SNAPSHOT</version>
21     <name>${project.artifactId}</name>
22
23     <dependencyManagement>
24         <dependencies>
25             <dependency>
26                 <groupId>${project.groupId}</groupId>
27                 <artifactId>neutron-artifacts</artifactId>
28                 <version>${project.version}</version>
29                 <type>pom</type>
30                 <scope>import</scope>
31             </dependency>
32         </dependencies>
33     </dependencyManagement>
34
35     <dependencies>
36         <dependency>
37             <groupId>org.apache.karaf.features</groupId>
38             <artifactId>framework</artifactId>
39             <type>kar</type>
40         </dependency>
41
42         <dependency>
43             <groupId>${project.groupId}</groupId>
44             <artifactId>features-neutron-test</artifactId>
45             <classifier>features</classifier>
46             <type>xml</type>
47             <scope>runtime</scope>
48         </dependency>
49     </dependencies>
50
51     <build>
52         <plugins>
53             <!-- DO NOT deploy the karaf artifact -->
54             <plugin>
55                 <groupId>org.apache.maven.plugins</groupId>
56                 <artifactId>maven-deploy-plugin</artifactId>
57                 <configuration>
58                     <skip>true</skip>
59                 </configuration>
60             </plugin>
61             <!-- Autoload some of our features on karaf boot -->
62             <plugin>
63                 <groupId>org.apache.karaf.tooling</groupId>
64                 <artifactId>karaf-maven-plugin</artifactId>
65                 <configuration>
66                     <bootFeatures combine.children="append">
67                         <feature>odl-neutron-logger-test</feature>
68                     </bootFeatures>
69                 </configuration>
70             </plugin>
71         </plugins>
72     </build>
73 </project>