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">
5 <groupId>org.opendaylight.odlparent</groupId>
6 <artifactId>karaf4-parent</artifactId>
7 <version>13.0.4</version>
11 <groupId>org.opendaylight.integration</groupId>
12 <artifactId>onap-karaf</artifactId>
13 <version>0.20.0-SNAPSHOT</version>
14 <packaging>pom</packaging>
15 <name>ODL :: integration :: ${project.artifactId}</name>
16 <modelVersion>4.0.0</modelVersion>
18 <description>The ONAP Karaf distribution.</description>
19 <url>https://wiki.opendaylight.org/x/ggYF</url>
22 <name>Eclipse Public License v1.0</name>
23 <url>http://www.eclipse.org/legal/epl-v10.html</url>
28 <karaf.archiveZip>false</karaf.archiveZip>
29 <karaf.archiveTarGz>true</karaf.archiveTarGz>
32 <dependencyManagement>
35 <groupId>org.opendaylight.integration</groupId>
36 <artifactId>all-artifacts</artifactId>
37 <version>${project.version}</version>
42 </dependencyManagement>
48 <groupId>org.opendaylight.aaa</groupId>
49 <artifactId>features-aaa</artifactId>
50 <classifier>features</classifier>
52 <scope>runtime</scope>
57 <groupId>org.opendaylight.controller</groupId>
58 <artifactId>features-controller</artifactId>
59 <classifier>features</classifier>
61 <scope>runtime</scope>
64 <groupId>org.opendaylight.controller</groupId>
65 <artifactId>features-controller-experimental</artifactId>
66 <classifier>features</classifier>
68 <scope>runtime</scope>
73 <groupId>org.opendaylight.daexim</groupId>
74 <artifactId>daexim-features</artifactId>
75 <classifier>features</classifier>
77 <scope>runtime</scope>
82 <groupId>org.opendaylight.mdsal</groupId>
83 <artifactId>features-mdsal</artifactId>
84 <classifier>features</classifier>
86 <scope>runtime</scope>
91 <groupId>org.opendaylight.netconf</groupId>
92 <artifactId>features-netconf</artifactId>
93 <classifier>features</classifier>
95 <scope>runtime</scope>
98 <groupId>org.opendaylight.netconf</groupId>
99 <artifactId>features-netconf-experimental</artifactId>
100 <classifier>features</classifier>
102 <scope>runtime</scope>
107 <groupId>org.opendaylight.odlparent</groupId>
108 <artifactId>features-odlparent</artifactId>
109 <classifier>features</classifier>
111 <scope>runtime</scope>
115 <groupId>org.opendaylight.aaa</groupId>
116 <artifactId>aaa-cli-jar</artifactId>
117 <!-- 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 -->
121 <groupId>org.opendaylight.integration</groupId>
122 <artifactId>karaf-scripts</artifactId>
123 <version>${project.version}</version>
132 <groupId>org.apache.maven.plugins</groupId>
133 <artifactId>maven-dependency-plugin</artifactId>
136 <id>copy-aaa-cli-jar</id>
137 <phase>prepare-package</phase>
139 <goal>copy-dependencies</goal>
142 <outputDirectory>${project.build.directory}/assembly/bin</outputDirectory>
143 <includeArtifactIds>aaa-cli-jar</includeArtifactIds>
144 <overWriteReleases>true</overWriteReleases>
145 <overWriteSnapshots>true</overWriteSnapshots>
146 <overWriteIfNewer>true</overWriteIfNewer>
147 <excludeTransitive>true</excludeTransitive>
148 <!-- Do not include version in JAR filename, as external scripts call this utility,
149 and they understandly do not want to have to adjust for every ODL release;
150 see e.g. https://github.com/dfarrell07/puppet-opendaylight/pull/140 -->
151 <stripVersion>true</stripVersion>
155 <id>unpack-odl-karaf-resources</id>
157 <goal>unpack-dependencies</goal>
159 <phase>prepare-package</phase>
161 <outputDirectory>${project.build.directory}/assembly</outputDirectory>
162 <groupId>org.opendaylight.integration</groupId>
163 <includeArtifactIds>karaf-scripts</includeArtifactIds>
164 <excludes>META-INF\/**</excludes>
165 <excludeTransitive>true</excludeTransitive>
166 <ignorePermissions>false</ignorePermissions>