Bump odlparent to 4.0.7
[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" 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">
9     <parent>
10         <groupId>org.opendaylight.odlparent</groupId>
11         <artifactId>karaf4-parent</artifactId>
12         <version>4.0.7</version>
13         <relativePath/>
14     </parent>
15     <modelVersion>4.0.0</modelVersion>
16     <groupId>org.opendaylight.neutron</groupId>
17     <artifactId>neutron-karaf</artifactId>
18     <version>0.12.0-SNAPSHOT</version>
19     <name>${project.artifactId}</name>
20
21     <dependencyManagement>
22         <dependencies>
23             <dependency>
24                 <groupId>${project.groupId}</groupId>
25                 <artifactId>neutron-artifacts</artifactId>
26                 <version>${project.version}</version>
27                 <type>pom</type>
28                 <scope>import</scope>
29             </dependency>
30         </dependencies>
31     </dependencyManagement>
32
33     <dependencies>
34         <dependency>
35             <groupId>org.apache.karaf.features</groupId>
36             <artifactId>framework</artifactId>
37             <type>kar</type>
38         </dependency>
39
40         <dependency>
41             <groupId>${project.groupId}</groupId>
42             <artifactId>features-neutron-test</artifactId>
43             <classifier>features</classifier>
44             <type>xml</type>
45             <scope>runtime</scope>
46         </dependency>
47     </dependencies>
48
49     <build>
50         <plugins>
51             <!-- DO NOT deploy the karaf artifact -->
52             <plugin>
53                 <groupId>org.apache.maven.plugins</groupId>
54                 <artifactId>maven-deploy-plugin</artifactId>
55                 <configuration>
56                     <skip>true</skip>
57                 </configuration>
58             </plugin>
59             <!-- Autoload some of our features on karaf boot -->
60             <plugin>
61                 <groupId>org.apache.karaf.tooling</groupId>
62                 <artifactId>karaf-maven-plugin</artifactId>
63                 <configuration>
64                     <bootFeatures combine.children="append">
65                         <feature>odl-neutron-logger-test</feature>
66                     </bootFeatures>
67                 </configuration>
68             </plugin>
69         </plugins>
70     </build>
71 </project>