2 <!-- vi: set et smarttab sw=4 tabstop=4: -->
4 Copyright (c) 2014-2017 Cisco Systems, Inc. and others. All rights reserved.
6 This program and the accompanying materials are made available under the
7 terms of the Eclipse Public License v1.0 which accompanies this distribution,
8 and is available at http://www.eclipse.org/legal/epl-v10.html
10 <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
11 xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
12 <modelVersion>4.0.0</modelVersion>
14 <groupId>org.opendaylight.odlparent</groupId>
15 <artifactId>karaf4-parent</artifactId>
16 <version>10.0.2</version>
19 <groupId>org.opendaylight.integration</groupId>
20 <artifactId>karaf</artifactId>
21 <version>0.16.2-SNAPSHOT</version>
22 <packaging>pom</packaging>
23 <!-- <name> formatting is used by autorelease to parse and notify projects on
24 build failure. Please do not modify this unless you have a good reason. -->
25 <name>ODL :: integration :: ${project.artifactId}</name>
26 <description>The actual Karaf archive building sub-project.</description>
27 <url>https://wiki.opendaylight.org/x/ggYF</url>
30 <name>Eclipse Public License v1.0</name>
31 <url>http://www.eclipse.org/legal/epl-v10.html</url>
34 <!-- FIXME: Add developers section -->
36 <connection>scm:git:https://git.opendaylight.org/gerrit/integration/distribution.git</connection>
37 <developerConnection>scm:git:ssh://git.opendaylight.org:29418/integration/distribution.git</developerConnection>
38 <url>https://git.opendaylight.org/gerrit/gitweb?p=integration/distribution.git;a=tree;f=karaf;hb=HEAD</url>
41 <dependencyManagement>
44 <groupId>org.opendaylight.integration</groupId>
45 <artifactId>all-artifacts</artifactId>
46 <version>0.16.2-SNAPSHOT</version>
51 </dependencyManagement>
53 <!-- Integration index feature repository. -->
55 <groupId>org.opendaylight.integration</groupId>
56 <artifactId>features-index</artifactId>
57 <classifier>features</classifier>
59 <scope>runtime</scope>
62 <groupId>org.opendaylight.odlparent</groupId>
63 <artifactId>opendaylight-karaf4-empty</artifactId>
66 <groupId>org.opendaylight.odlparent</groupId>
67 <artifactId>opendaylight-karaf-empty</artifactId>
71 <!-- Integration test feature repository. -->
73 <groupId>org.opendaylight.integration</groupId>
74 <artifactId>features-test</artifactId>
75 <classifier>features</classifier>
80 <groupId>org.opendaylight.odlparent</groupId>
81 <artifactId>opendaylight-karaf4-empty</artifactId>
84 <groupId>org.opendaylight.odlparent</groupId>
85 <artifactId>opendaylight-karaf-empty</artifactId>
90 <!-- This scope test here is just a trick, so that we can use the dependencies
91 in maven-dependency-plugin, but don't have karaf-maven-plugin choke on it -->
93 <groupId>org.opendaylight.aaa</groupId>
94 <artifactId>aaa-cli-jar</artifactId>
98 <groupId>org.opendaylight.integration</groupId>
99 <artifactId>karaf-scripts</artifactId>
100 <version>0.16.2-SNAPSHOT</version>
108 <groupId>org.apache.maven.plugins</groupId>
109 <artifactId>maven-dependency-plugin</artifactId>
112 <id>copy-aaa-cli-jar</id>
113 <phase>prepare-package</phase>
115 <goal>copy-dependencies</goal>
118 <outputDirectory>${project.build.directory}/assembly/bin</outputDirectory>
119 <includeArtifactIds>aaa-cli-jar</includeArtifactIds>
120 <overWriteReleases>true</overWriteReleases>
121 <overWriteSnapshots>true</overWriteSnapshots>
122 <overWriteIfNewer>true</overWriteIfNewer>
123 <excludeTransitive>true</excludeTransitive>
124 <!-- Do not include version in JAR filename, as external scripts call this utility,
125 and they understandly do not want to have to adjust for every ODL release;
126 see e.g. https://github.com/dfarrell07/puppet-opendaylight/pull/140 -->
127 <stripVersion>true</stripVersion>
131 <id>unpack-odl-karaf-resources</id>
133 <goal>unpack-dependencies</goal>
135 <phase>prepare-package</phase>
137 <outputDirectory>${project.build.directory}/assembly</outputDirectory>
138 <groupId>org.opendaylight.integration</groupId>
139 <includeArtifactIds>karaf-scripts</includeArtifactIds>
140 <excludes>META-INF\/**</excludes>
141 <excludeTransitive>true</excludeTransitive>
142 <ignorePermissions>false</ignorePermissions>
152 <id>dependency-convergence</id>
156 <artifactId>maven-enforcer-plugin</artifactId>
159 <id>enforce-dependency-convergence</id>
165 <dependencyConvergence/>