Karaf 4 Migration
[transportpce.git] / features / odl-transportpce-cli / pom.xml
diff --git a/features/odl-transportpce-cli/pom.xml b/features/odl-transportpce-cli/pom.xml
new file mode 100644 (file)
index 0000000..5abbf94
--- /dev/null
@@ -0,0 +1,70 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+Copyright © 2016 Orange and others. All rights reserved.
+
+This program and the accompanying materials are made available under the
+terms of the Eclipse Public License v1.0 which accompanies this distribution,
+and is available at http://www.eclipse.org/legal/epl-v10.html INTERNAL
+-->
+<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">
+  <modelVersion>4.0.0</modelVersion>
+
+  <parent>
+    <groupId>org.opendaylight.odlparent</groupId>
+    <artifactId>single-feature-parent</artifactId>
+    <version>2.0.2</version>
+    <relativePath/>
+  </parent>
+
+  <groupId>org.opendaylight.transportpce</groupId>
+  <artifactId>odl-transportpce-cli</artifactId>
+  <version>0.2.0-SNAPSHOT</version>
+  <packaging>feature</packaging>
+
+  <properties>
+    <mdsal.model.version>0.11.0-SNAPSHOT</mdsal.model.version>
+    <mdsal.version>1.6.0-SNAPSHOT</mdsal.version>
+    <restconf.version>1.6.0-SNAPSHOT</restconf.version>
+    <yangtools.version>1.2.0-SNAPSHOT</yangtools.version>
+    <dlux.version>0.6.0-SNAPSHOT</dlux.version>
+    <netconf.version>1.3.0-SNAPSHOT</netconf.version>
+    <configfile.directory>etc/opendaylight/karaf</configfile.directory>
+  </properties>
+
+  <name>OpenDaylight :: transportpce :: CLI</name>
+
+  <dependencies>
+   <dependency>
+     <groupId>org.opendaylight.transportpce</groupId>
+     <artifactId>odl-transportpce</artifactId>
+     <version>${project.version}</version>
+     <classifier>features</classifier>
+     <type>xml</type>
+   </dependency>
+   <dependency>
+      <groupId>${project.groupId}</groupId>
+      <artifactId>transportpce-cli</artifactId>
+      <version>${project.version}</version>
+    </dependency>
+  </dependencies>
+
+  <build>
+     <plugins>
+     <plugin>
+       <groupId>org.apache.felix</groupId>
+       <artifactId>maven-bundle-plugin</artifactId>
+       <extensions>true</extensions>
+       <configuration>
+         <instructions>
+           <!-- This bundle works with Karaf 3 and 4.0, see https://wiki.opendaylight.org/view/Karaf_4_migration#Karaf_CLI_commands -->
+           <Import-Package>
+             org.apache.karaf.shell.commands;version="[3.0.0,4.1)",
+             org.apache.karaf.shell.console;version="[3.0.0,4.1)",
+             *
+           </Import-Package>
+         </instructions>
+       </configuration>
+     </plugin>
+   </plugins>
+  </build>
+</project>