Pull karaf from odlparent
[integration/distribution.git] / distribution-karaf / pom.xml
1 <?xml version="1.0"?>
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>karaf-parent</artifactId>
7         <version>1.7.0-SNAPSHOT</version>
8         <relativePath/>
9     </parent>
10     <groupId>org.opendaylight.integration</groupId>
11     <artifactId>distribution-karaf</artifactId>
12     <version>0.5.0-SNAPSHOT</version>
13     <packaging>pom</packaging>
14     <name>${project.groupId}:${project.artifactId}</name>
15     <description>The actual Karaf building sub-project.</description>
16     <url>https://wiki.opendaylight.org/view/Integration/Distribution</url>
17     <licenses>
18         <license>
19             <name>Eclipse Public License v1.0</name>
20             <url>http://www.eclipse.org/legal/epl-v10.html</url>
21         </license>
22     </licenses>
23     <!-- FIXME: Add developers section -->
24     <scm>
25         <connection>scm:git:https://git.opendaylight.org/gerrit/integration/distribution.git</connection>
26         <developerConnection>scm:git:ssh://git.opendaylight.org:29418/integration/distribution.git</developerConnection>
27         <url>https://git.opendaylight.org/gerrit/gitweb?p=integration/distribution.git;a=tree;f=distribution-karaf;hb=HEAD</url>
28         <tag>HEAD</tag>
29     </scm>
30     <properties>
31         <odlparent.version>1.7.0-SNAPSHOT</odlparent.version>
32     </properties>
33     <dependencies>
34         <!-- opendaylight-karaf-parent uses this too -->
35         <dependency>
36             <groupId>org.apache.karaf.features</groupId>
37             <artifactId>framework</artifactId>
38             <type>kar</type>
39         </dependency>
40         <!-- integration feature -->
41         <dependency>
42             <artifactId>features-integration-index</artifactId>
43             <groupId>org.opendaylight.integration</groupId>
44             <version>${project.version}</version>
45             <classifier>features</classifier>
46             <type>xml</type>
47             <scope>runtime</scope>
48             <exclusions>
49                 <exclusion>
50                     <groupId>org.opendaylight.controller</groupId>
51                     <artifactId>opendaylight-karaf-empty</artifactId>
52                 </exclusion>
53             </exclusions>
54         </dependency>
55         <!-- integration test feature -->
56         <dependency>
57             <artifactId>features-integration-test</artifactId>
58             <groupId>org.opendaylight.integration</groupId>
59             <version>${project.version}</version>
60             <classifier>features</classifier>
61             <type>xml</type>
62             <scope>test</scope>
63             <exclusions>
64                 <exclusion>
65                     <groupId>org.opendaylight.controller</groupId>
66                     <artifactId>opendaylight-karaf-empty</artifactId>
67                 </exclusion>
68             </exclusions>
69         </dependency>
70     </dependencies>
71     <build>
72         <plugins>
73             <!-- karaf-parent does not use karaf-plugin (yet) -->
74             <plugin>
75                 <groupId>org.opendaylight.odlparent</groupId>
76                 <artifactId>karaf-plugin</artifactId>
77                 <version>${odlparent.version}</version>
78                 <executions>
79                     <execution>
80                         <id>populate-local-repo</id>
81                         <goals>
82                             <goal>populate-local-repo</goal>
83                         </goals>
84                         <configuration>
85                             <localRepo>${project.build.directory}/assembly/system</localRepo>
86                         </configuration>
87                     </execution>
88                 </executions>
89             </plugin>
90         </plugins>
91     </build>
92 </project>