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" 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">
6 <modelVersion>4.0.0</modelVersion>
8 <groupId>org.opendaylight.openflowplugin</groupId>
9 <artifactId>openflowplugin-parent</artifactId>
10 <version>0.0.3-SNAPSHOT</version>
11 <relativePath>../../</relativePath>
14 <artifactId>distributions-openflowplugin-cbech</artifactId>
15 <packaging>pom</packaging>
16 <name>Opendaylight OpenflowPlugin CBENCH Edition </name>
20 <!-- base distribution -->
22 <groupId>org.opendaylight.openflowplugin</groupId>
23 <artifactId>distributions-openflowplugin-base</artifactId>
24 <version>${project.version}</version>
26 <classifier>osgipackage</classifier>
27 <!-- Make sure this isn't included on any classpath-->
28 <scope>provided</scope>
36 <directory>${basedir}/src/main/resources</directory>
39 <directory>${project.build.directory}/generated-resources</directory>
40 <filtering>true</filtering>
45 <groupId>org.apache.maven.plugins</groupId>
46 <artifactId>maven-dependency-plugin</artifactId>
47 <version>2.8</version>
50 <id>unpack-shared-resources</id>
52 <goal>unpack-dependencies</goal>
54 <phase>generate-resources</phase>
56 <outputDirectory>${project.build.directory}/generated-resources</outputDirectory>
57 <includeGroupIds>org.opendaylight.openflowplugin</includeGroupIds>
58 <includeArtifactIds>distributions-openflowplugin-base</includeArtifactIds>
59 <excludeTransitive>true</excludeTransitive>
60 <ignorePermissions>false</ignorePermissions>
66 <artifactId>maven-assembly-plugin</artifactId>
69 <id>distro-assembly</id>
70 <phase>package</phase>
76 <descriptor>src/assemble/bin.xml</descriptor>