blob: 93087ac4262f8e548cf2291a2c5f06f26bc4e917 [file] [log] [blame]
<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/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.opendaylight.netvirtplatform</groupId>
<artifactId>netvirtplatform-parent</artifactId>
<version>0.0.1-SNAPSHOT</version>
<relativePath>../../commons/parent</relativePath>
</parent>
<artifactId>netvirtplatform-distribution</artifactId>
<packaging>pom</packaging>
<name>Net Virt Platform Distribution</name>
<dependencies>
<dependency>
<groupId>org.opendaylight.controller</groupId>
<artifactId>distribution.opendaylight</artifactId>
<version>0.1.0-SNAPSHOT</version>
<type>zip</type>
<classifier>osgipackage</classifier>
<!-- Make sure this isn't included on any classpath-->
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.opendaylight.netvirtplatform</groupId>
<artifactId>netvirtplatform-all</artifactId>
<version>0.0.1-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>org.opendaylight.netvirtplatform.adaptors</groupId>
<artifactId>controllerservice</artifactId>
<version>0.0.1-SNAPSHOT</version>
</dependency>
</dependencies>
<build>
<resources>
<resource>
<directory>${basedir}/src/main/resources</directory>
</resource>
<resource>
<directory>${project.build.directory}/generated-resources</directory>
<filtering>true</filtering>
</resource>
</resources>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-dependency-plugin</artifactId>
<executions>
<execution>
<id>unpack-shared-resources</id>
<goals>
<goal>unpack-dependencies</goal>
</goals>
<phase>generate-resources</phase>
<configuration>
<outputDirectory>${project.build.directory}/generated-resources</outputDirectory>
<includeArtifacIds>distribution.opendaylight</includeArtifacIds>
<includeGroupIds>org.opendaylight.controller</includeGroupIds>
<excludeTransitive>true</excludeTransitive>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<artifactId>maven-assembly-plugin</artifactId>
<executions>
<execution>
<id>distro-assembly</id>
<phase>package</phase>
<goals>
<goal>single</goal>
</goals>
<configuration>
<descriptors>
<descriptor>src/assemble/bin.xml</descriptor>
</descriptors>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
</project>