Use Karaf 4 for the Karaf distribution
[openflowplugin.git] / distribution / karaf / 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   <modelVersion>4.0.0</modelVersion>
4   <parent>
5     <groupId>org.opendaylight.odlparent</groupId>
6     <artifactId>karaf4-parent</artifactId>
7     <version>1.8.0-SNAPSHOT</version>
8     <relativePath></relativePath>
9   </parent>
10   <groupId>org.opendaylight.openflowplugin</groupId>
11   <artifactId>openflowplugin-karaf</artifactId>
12   <version>0.4.0-SNAPSHOT</version>
13   <packaging>pom</packaging>
14   <prerequisites>
15     <maven>3.0</maven>
16   </prerequisites>
17
18   <properties>
19     <openflowplugin.version>0.4.0-SNAPSHOT</openflowplugin.version>
20   </properties>
21
22   <dependencyManagement>
23     <dependencies>
24       <dependency>
25         <groupId>org.opendaylight.openflowplugin</groupId>
26         <artifactId>openflowplugin-artifacts</artifactId>
27         <version>${openflowplugin.version}</version>
28         <scope>import</scope>
29         <type>pom</type>
30       </dependency>
31     </dependencies>
32   </dependencyManagement>
33
34   <dependencies>
35     <dependency>
36       <!-- scope is compile so all features (there is only one) are installed
37             into startup.properties and the feature repo itself is not installed -->
38       <groupId>org.apache.karaf.features</groupId>
39       <artifactId>framework</artifactId>
40       <version>${karaf4.version}</version>
41       <type>kar</type>
42     </dependency>
43     <!-- openflowplugin feature -->
44     <dependency>
45       <artifactId>features4-openflowplugin-he</artifactId>
46       <groupId>org.opendaylight.openflowplugin</groupId>
47       <version>${project.version}</version>
48       <classifier>features</classifier>
49       <type>xml</type>
50       <scope>runtime</scope>
51     </dependency>
52     <dependency>
53       <artifactId>features4-openflowplugin</artifactId>
54       <groupId>org.opendaylight.openflowplugin</groupId>
55       <version>${project.version}</version>
56       <classifier>features</classifier>
57       <type>xml</type>
58       <scope>runtime</scope>
59     </dependency>
60     <!-- openflowplugin extension feature -->
61     <dependency>
62       <groupId>org.opendaylight.openflowplugin</groupId>
63       <artifactId>features4-openflowplugin-extension-he</artifactId>
64       <version>${project.version}</version>
65       <classifier>features</classifier>
66       <type>xml</type>
67       <scope>runtime</scope>
68     </dependency>
69     <dependency>
70       <groupId>org.opendaylight.openflowplugin</groupId>
71       <artifactId>features4-openflowplugin-extension</artifactId>
72       <version>${project.version}</version>
73       <classifier>features</classifier>
74       <type>xml</type>
75       <scope>runtime</scope>
76     </dependency>
77   </dependencies>
78
79   <build>
80     <plugins>
81       <!-- DO NOT deploy the karaf artifact -->
82       <plugin>
83         <groupId>org.apache.maven.plugins</groupId>
84         <artifactId>maven-deploy-plugin</artifactId>
85         <configuration>
86           <skip>true</skip>
87         </configuration>
88       </plugin>
89     </plugins>
90   </build>
91
92   <scm>
93     <connection>scm:git:ssh://git.opendaylight.org:29418/controller.git</connection>
94     <developerConnection>scm:git:ssh://git.opendaylight.org:29418/controller.git</developerConnection>
95     <tag>HEAD</tag>
96     <url>https://wiki.opendaylight.org/view/OpenDaylight_Controller:Main</url>
97   </scm>
98 </project>