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"
11 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
12 xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
13 <modelVersion>4.0.0</modelVersion>
15 <groupId>org.opendaylight.odlparent</groupId>
16 <artifactId>karaf4-parent</artifactId>
17 <version>2.0.5</version>
20 <groupId>org.opendaylight.integration</groupId>
21 <artifactId>karaf</artifactId>
22 <version>0.8.0-SNAPSHOT</version>
23 <packaging>pom</packaging>
24 <!-- <name> formatting is used by autorelease to parse and notify projects on
25 build failure. Please do not modify this unless you have a good reason. -->
26 <name>ODL :: integration :: ${project.artifactId}</name>
27 <description>The actual Karaf archive building sub-project.</description>
28 <url>https://wiki.opendaylight.org/view/Integration/Distribution</url>
31 <name>Eclipse Public License v1.0</name>
32 <url>http://www.eclipse.org/legal/epl-v10.html</url>
35 <!-- FIXME: Add developers section -->
37 <connection>scm:git:https://git.opendaylight.org/gerrit/integration/distribution.git</connection>
38 <developerConnection>scm:git:ssh://git.opendaylight.org:29418/integration/distribution.git</developerConnection>
39 <url>https://git.opendaylight.org/gerrit/gitweb?p=integration/distribution.git;a=tree;f=karaf;hb=HEAD</url>
42 <dependencyManagement>
45 <groupId>${project.groupId}</groupId>
46 <artifactId>all-artifacts</artifactId>
47 <version>${project.version}</version>
52 </dependencyManagement>
54 <!-- Integration index feature repository. -->
56 <groupId>${project.groupId}</groupId>
57 <artifactId>features-index</artifactId>
58 <classifier>features</classifier>
60 <scope>runtime</scope>
63 <groupId>org.opendaylight.odlparent</groupId>
64 <artifactId>opendaylight-karaf4-empty</artifactId>
67 <groupId>org.opendaylight.controller</groupId>
68 <artifactId>opendaylight-karaf-empty</artifactId>
71 <groupId>org.opendaylight.odlparent</groupId>
72 <artifactId>opendaylight-karaf-empty</artifactId>
76 <!-- Integration test feature repository. -->
78 <groupId>${project.groupId}</groupId>
79 <artifactId>features-test</artifactId>
80 <classifier>features</classifier>
85 <groupId>org.opendaylight.odlparent</groupId>
86 <artifactId>opendaylight-karaf4-empty</artifactId>
89 <groupId>org.opendaylight.controller</groupId>
90 <artifactId>opendaylight-karaf-empty</artifactId>
93 <groupId>org.opendaylight.odlparent</groupId>
94 <artifactId>opendaylight-karaf-empty</artifactId>
100 <groupId>org.opendaylight.aaa</groupId>
101 <artifactId>aaa-cli-jar</artifactId>
102 <!-- This scope test here is just a trick, so that we can use aaa-cli-jar in maven-dependency-plugin, but don't have karaf-maven-plugin choke on it -->
110 <groupId>org.apache.maven.plugins</groupId>
111 <artifactId>maven-dependency-plugin</artifactId>
114 <id>copy-aaa-cli-jar</id>
115 <phase>prepare-package</phase>
117 <goal>copy-dependencies</goal>
120 <outputDirectory>${project.build.directory}/assembly/bin</outputDirectory>
121 <includeArtifactIds>aaa-cli-jar</includeArtifactIds>
122 <overWriteReleases>true</overWriteReleases>
123 <overWriteSnapshots>true</overWriteSnapshots>
124 <overWriteIfNewer>true</overWriteIfNewer>
125 <excludeTransitive>true</excludeTransitive>
126 <!-- Do not include version in JAR filename, as external scripts call this utility,
127 and they understandly do not want to have to adjust for every ODL release;
128 see e.g. https://github.com/dfarrell07/puppet-opendaylight/pull/140 -->
129 <stripVersion>true</stripVersion>