1 <?xml version="1.0" encoding="UTF-8"?>
3 Copyright (c) 2015 Ericsson India Global Services Pvt Ltd. and others. All rights reserved.
5 This program and the accompanying materials are made available under the
6 terms of the Eclipse Public License v1.0 which accompanies this distribution,
7 and is available at http://www.eclipse.org/legal/epl-v10.html INTERNAL
9 <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">
12 <groupId>org.opendaylight.odlparent</groupId>
13 <artifactId>karaf4-parent</artifactId>
14 <version>7.0.2</version>
18 <groupId>org.opendaylight.netvirt</groupId>
19 <artifactId>karaf</artifactId>
20 <version>0.11.0-SNAPSHOT</version>
21 <name>ODL :: netvirt :: ${project.artifactId}</name>
22 <modelVersion>4.0.0</modelVersion>
25 <!-- <karaf.localFeature>odl-netvirt-openstack</karaf.localFeature> -->
26 <maven.deploy.skip>true</maven.deploy.skip>
27 <maven.install.skip>true</maven.install.skip>
32 <!-- scope is compile so all features (there is only one) are installed
33 into startup.properties and the feature repo itself is not installed -->
34 <groupId>org.apache.karaf.features</groupId>
35 <artifactId>framework</artifactId>
36 <version>${karaf.version}</version>
38 <scope>compile</scope>
42 <groupId>${project.groupId}</groupId>
43 <artifactId>netvirt-features</artifactId>
44 <version>${project.version}</version>
45 <classifier>features</classifier>
47 <scope>runtime</scope>
51 <!-- This is here just so that we have the respective bundles for this development debug feature
52 in netvirt's Karaf distribution, and it is easy to do "feature:install odl-mdsal-trace" on
53 test environments to find memory leaks due to non-closed transactions. This feature is NOT
54 intended for production, and not installed as a boot feature by default. (If we do not do
55 this, then it's quite a pain/complicated to install this feature onto a non-dev environment
56 on a test server where an ODL binary was installed e.g. from an RPM package, because as is
57 we currently cannot easily, by a simple CLI command, add additional features from new remote
60 <groupId>org.opendaylight.mdsal</groupId>
61 <artifactId>odl-mdsal-trace</artifactId>
62 <version>6.0.1</version>
63 <classifier>features</classifier>
65 <scope>runtime</scope>
69 <!-- This ensures we have odl-jolokia in the distribution -->
70 <groupId>org.opendaylight.controller</groupId>
71 <artifactId>odl-jolokia</artifactId>
72 <version>2.0.1</version>
74 <classifier>features</classifier>
75 <scope>runtime</scope>
79 <!-- This ensures aaa-cli is available for the copy below -->
80 <groupId>org.opendaylight.aaa</groupId>
81 <artifactId>aaa-cli-jar</artifactId>
82 <version>0.12.0-SNAPSHOT</version>
83 <!-- Use scope test (and not more!) just so we have the dependency for the maven-dependency-plugin below -->
91 <groupId>org.apache.maven.plugins</groupId>
92 <artifactId>maven-dependency-plugin</artifactId>
95 <id>copy-aaa-cli-jar</id>
96 <phase>prepare-package</phase>
103 <groupId>org.opendaylight.aaa</groupId>
104 <artifactId>aaa-cli-jar</artifactId>
105 <version>0.12.0-SNAPSHOT</version>
108 <outputDirectory>${project.build.directory}/assembly/bin</outputDirectory>
109 <includeArtifactIds>aaa-cli-jar</includeArtifactIds>
110 <overWriteReleases>true</overWriteReleases>
111 <overWriteSnapshots>true</overWriteSnapshots>
112 <overWriteIfNewer>true</overWriteIfNewer>
113 <excludeTransitive>true</excludeTransitive>
114 <!-- Do not include version in JAR filename, as external scripts call this utility,
115 and they understandly do not want to have to adjust for every ODL release;
116 see e.g. https://github.com/dfarrell07/puppet-opendaylight/pull/140 -->
117 <stripVersion>true</stripVersion>