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"
10 xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
13 <groupId>org.opendaylight.odlparent</groupId>
14 <artifactId>karaf4-parent</artifactId>
15 <version>3.0.2</version>
19 <groupId>org.opendaylight.netvirt</groupId>
20 <artifactId>karaf</artifactId>
21 <version>0.7.0-SNAPSHOT</version>
22 <name>ODL :: netvirt :: ${project.artifactId}</name>
23 <modelVersion>4.0.0</modelVersion>
26 <!-- <karaf.localFeature>odl-netvirt-openstack</karaf.localFeature> -->
31 <!-- scope is compile so all features (there is only one) are installed
32 into startup.properties and the feature repo itself is not installed -->
33 <groupId>org.apache.karaf.features</groupId>
34 <artifactId>framework</artifactId>
35 <version>${karaf.version}</version>
37 <scope>compile</scope>
41 <groupId>${project.groupId}</groupId>
42 <artifactId>netvirt-features</artifactId>
43 <version>${project.version}</version>
44 <classifier>features</classifier>
46 <scope>runtime</scope>
50 <!-- This is here just so that we have the respective bundles for this development debug feature
51 in netvirt's Karaf distribution, and it is easy to do "feature:install odl-mdsal-trace" on
52 test environments to find memory leaks due to non-closed transactions. This feature is NOT
53 intended for production, and not installed as a boot feature by default. (If we do not do
54 this, then it's quite a pain/complicated to install this feature onto a non-dev environment
55 on a test server where an ODL binary was installed e.g. from an RPM package, because as is
56 we currently cannot easily, by a simple CLI command, add additional features from new remote
59 <groupId>org.opendaylight.controller</groupId>
60 <artifactId>features-mdsal-trace</artifactId>
61 <version>1.8.0-SNAPSHOT</version>
62 <classifier>features</classifier>
64 <scope>runtime</scope>
68 <!-- This ensures we have odl-jolokia in the distribution -->
69 <groupId>org.opendaylight.controller</groupId>
70 <artifactId>features-extras</artifactId>
71 <version>1.11.0-SNAPSHOT</version>
73 <classifier>features</classifier>
74 <scope>runtime</scope>
78 <!-- This ensures aaa-cli is available for the copy below -->
79 <groupId>org.opendaylight.aaa</groupId>
80 <artifactId>aaa-cli-jar</artifactId>
81 <version>0.8.0-SNAPSHOT</version>
82 <!-- Use scope test (and not more!) just so we have the dependency for the maven-dependency-plugin below -->
90 <groupId>org.apache.maven.plugins</groupId>
91 <artifactId>maven-dependency-plugin</artifactId>
94 <id>copy-aaa-cli-jar</id>
95 <phase>prepare-package</phase>
102 <groupId>org.opendaylight.aaa</groupId>
103 <artifactId>aaa-cli-jar</artifactId>
104 <version>0.8.0-SNAPSHOT</version>
107 <outputDirectory>${project.build.directory}/assembly/bin</outputDirectory>
108 <includeArtifactIds>aaa-cli-jar</includeArtifactIds>
109 <overWriteReleases>true</overWriteReleases>
110 <overWriteSnapshots>true</overWriteSnapshots>
111 <overWriteIfNewer>true</overWriteIfNewer>
112 <excludeTransitive>true</excludeTransitive>
113 <!-- Do not include version in JAR filename, as external scripts call this utility,
114 and they understandly do not want to have to adjust for every ODL release;
115 see e.g. https://github.com/dfarrell07/puppet-opendaylight/pull/140 -->
116 <stripVersion>true</stripVersion>
121 <!-- Temporarily deploy the karaf artifact -->
123 <groupId>org.apache.maven.plugins</groupId>
124 <artifactId>maven-deploy-plugin</artifactId>