2 Adapted from David Erickson's Distribution pom.xml
3 see https://git.opendaylight.org/gerrit/#/c/390/
5 <project xmlns="http://maven.apache.org/POM/4.0.0"
6 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
7 xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
8 http://maven.apache.org/maven-v4_0_0.xsd">
9 <modelVersion>4.0.0</modelVersion>
11 <groupId>org.opendaylight.ovsdb</groupId>
12 <artifactId>commons.ovsdb</artifactId>
13 <version>1.0.0-SNAPSHOT</version>
14 <relativePath>../../commons/parent/</relativePath>
17 <artifactId>distribution.ovsdb</artifactId>
18 <packaging>pom</packaging>
19 <name>ovsdb Distribution</name>
23 <groupId>org.opendaylight.controller</groupId>
24 <artifactId>distribution.opendaylight</artifactId>
25 <version>0.1.0-SNAPSHOT</version>
27 <classifier>osgipackage</classifier>
28 <!-- Make sure this isn't included on any classpath-->
29 <scope>provided</scope>
32 <groupId>org.opendaylight.ovsdb</groupId>
33 <artifactId>ovsdb</artifactId>
34 <version>0.4.0-SNAPSHOT</version>
40 <directory>${basedir}/src/main/resources</directory>
43 <directory>${project.build.directory}/generated-resources</directory>
44 <filtering>true</filtering>
49 <groupId>org.apache.maven.plugins</groupId>
50 <artifactId>maven-dependency-plugin</artifactId>
51 <version>2.8</version>
54 <id>unpack-shared-resources</id>
56 <goal>unpack-dependencies</goal>
58 <phase>generate-resources</phase>
60 <outputDirectory>${project.build.directory}/generated-resources</outputDirectory>
61 <includeArtifacIds>distribution.opendaylight</includeArtifacIds>
62 <includeGroupIds>org.opendaylight.controller</includeGroupIds>
63 <excludeTransitive>true</excludeTransitive>
64 <ignorePermissions>false</ignorePermissions>
70 <artifactId>maven-assembly-plugin</artifactId>
73 <id>distro-assembly</id>
74 <phase>package</phase>
80 <descriptor>src/assemble/bin.xml</descriptor>