--- /dev/null
+<?xml version="1.0"?>
+<!--
+ Copyright (c) 2019 Bell Canada 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
+-->
+<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>odlparent-lite</artifactId>
+ <version>4.0.9</version>
+ <relativePath/>
+ </parent>
+ <groupId>org.opendaylight.integration</groupId>
+ <artifactId>karaf-scripts</artifactId>
+ <version>0.11.0-SNAPSHOT</version>
+ <packaging>jar</packaging>
+ <name>ODL :: integration :: Karaf :: Scripts :: ${project.artifactId}</name>
+ <description>The actual Karaf archive building sub-project.</description>
+
+ <build>
+ <resources>
+ <resource>
+ <directory>src/main/assembly</directory>
+ <filtering>false</filtering>
+ </resource>
+ </resources>
+ </build>
+
+</project>
terms of the Eclipse Public License v1.0 which accompanies this distribution,
and is available at http://www.eclipse.org/legal/epl-v10.html
-->
-<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">
+<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>
</exclusions>
</dependency>
+ <!-- This scope test here is just a trick, so that we can use the dependencies
+ in maven-dependency-plugin, but don't have karaf-maven-plugin choke on it -->
<dependency>
<groupId>org.opendaylight.aaa</groupId>
<artifactId>aaa-cli-jar</artifactId>
- <!-- 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 -->
+ <scope>test</scope>
+ </dependency>
+ <dependency>
+ <groupId>org.opendaylight.integration</groupId>
+ <artifactId>karaf-scripts</artifactId>
+ <version>${project.version}</version>
<scope>test</scope>
</dependency>
</dependencies>
<stripVersion>true</stripVersion>
</configuration>
</execution>
+ <execution>
+ <id>unpack-odl-karaf-resources</id>
+ <goals>
+ <goal>unpack-dependencies</goal>
+ </goals>
+ <phase>prepare-package</phase>
+ <configuration>
+ <outputDirectory>${project.build.directory}/assembly</outputDirectory>
+ <groupId>org.opendaylight.integration</groupId>
+ <includeArtifactIds>karaf-scripts</includeArtifactIds>
+ <excludes>META-INF\/**</excludes>
+ <excludeTransitive>true</excludeTransitive>
+ <ignorePermissions>false</ignorePermissions>
+ </configuration>
+ </execution>
</executions>
</plugin>
</plugins>