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>
5 <groupId>org.opendaylight.controller</groupId>
6 <artifactId>karaf-parent</artifactId>
7 <version>1.7.0-SNAPSHOT</version>
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>
19 <name>Eclipse Public License v1.0</name>
20 <url>http://www.eclipse.org/legal/epl-v10.html</url>
23 <!-- FIXME: Add developers section -->
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>
31 <odlparent.version>1.7.0-SNAPSHOT</odlparent.version>
32 <vtn.coordinator.version>6.3.0-SNAPSHOT</vtn.coordinator.version>
35 <!-- opendaylight-karaf-parent uses this too -->
37 <groupId>org.apache.karaf.features</groupId>
38 <artifactId>framework</artifactId>
41 <!-- integration feature -->
43 <artifactId>features-integration-index</artifactId>
44 <groupId>org.opendaylight.integration</groupId>
45 <version>${project.version}</version>
46 <classifier>features</classifier>
48 <scope>runtime</scope>
51 <groupId>org.opendaylight.controller</groupId>
52 <artifactId>opendaylight-karaf-empty</artifactId>
56 <!-- integration test feature -->
58 <artifactId>features-integration-test</artifactId>
59 <groupId>org.opendaylight.integration</groupId>
60 <version>${project.version}</version>
61 <classifier>features</classifier>
66 <groupId>org.opendaylight.controller</groupId>
67 <artifactId>opendaylight-karaf-empty</artifactId>
71 <!-- external application -->
73 <groupId>org.opendaylight.vtn</groupId>
74 <artifactId>distribution.vtn-coordinator</artifactId>
75 <version>${vtn.coordinator.version}</version>
77 <classifier>bin</classifier>
81 <artifactId>*</artifactId>
86 <groupId>org.opendaylight.vtn</groupId>
87 <artifactId>distribution.vtn-coordinator</artifactId>
88 <version>${vtn.coordinator.version}</version>
90 <classifier>README</classifier>
94 <artifactId>*</artifactId>
101 <!-- Overriding executions from parent. -->
103 <groupId>org.apache.maven.plugins</groupId>
104 <artifactId>maven-dependency-plugin</artifactId>
106 <!-- This replaces one of executions (defined in parent) which would exclude the app. -->
108 <id>copy-externalapps</id>
109 <phase>prepare-package</phase>
111 <goal>copy-dependencies</goal>
114 <outputDirectory>${project.build.directory}/assembly/externalapps</outputDirectory>
115 <includeArtifactIds>distribution.vtn-coordinator</includeArtifactIds>
116 <overWriteReleases>false</overWriteReleases>
117 <overWriteSnapshots>true</overWriteSnapshots>
118 <overWriteIfNewer>true</overWriteIfNewer>
119 <excludeTransitive>true</excludeTransitive>
124 <!-- karaf-parent does not use karaf-plugin (yet) -->
126 <groupId>org.opendaylight.odlparent</groupId>
127 <artifactId>karaf-plugin</artifactId>
128 <version>${odlparent.version}</version>
131 <id>populate-local-repo</id>
133 <goal>populate-local-repo</goal>
136 <localRepo>${project.build.directory}/assembly/system</localRepo>