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.openflowplugin</groupId>
12 <artifactId>openflowplugin-commons</artifactId>
13 <version>0.0.1-SNAPSHOT</version>
14 <relativePath>../../commons</relativePath>
17 <artifactId>distributions-openflowplugin-base</artifactId>
18 <packaging>pom</packaging>
19 <name>Opendaylight OpenflowPlugin Base Edition </name>
23 <!-- base distribution -->
26 <groupId>org.opendaylight.controller</groupId>
27 <artifactId>distribution.opendaylight</artifactId>
28 <version>0.1.1-SNAPSHOT</version>
30 <classifier>osgipackage</classifier>
31 <!-- Make sure this isn't included on any classpath-->
32 <scope>provided</scope>
35 <!-- openflowplugin -->
37 <groupId>org.opendaylight.openflowplugin</groupId>
38 <artifactId>openflowplugin</artifactId>
39 <version>0.0.1-SNAPSHOT</version>
42 <!-- debug provider -->
44 <groupId>org.opendaylight.openflowplugin</groupId>
45 <artifactId>test-provider</artifactId>
46 <version>0.0.1-SNAPSHOT</version>
52 <groupId>org.opendaylight.openflowjava</groupId>
53 <artifactId>openflow-protocol-impl</artifactId>
56 <groupId>org.opendaylight.openflowjava</groupId>
57 <artifactId>openflow-protocol-api</artifactId>
60 <groupId>org.opendaylight.openflowjava</groupId>
61 <artifactId>openflow-protocol-spi</artifactId>
67 <directory>${basedir}/src/main/resources</directory>
70 <directory>${project.build.directory}/generated-resources</directory>
71 <filtering>true</filtering>
76 <groupId>org.apache.maven.plugins</groupId>
77 <artifactId>maven-dependency-plugin</artifactId>
78 <version>2.8</version>
81 <id>unpack-shared-resources</id>
83 <goal>unpack-dependencies</goal>
85 <phase>generate-resources</phase>
87 <outputDirectory>${project.build.directory}/generated-resources</outputDirectory>
88 <includeArtifacIds>distribution.opendaylight</includeArtifacIds>
89 <includeGroupIds>org.opendaylight.controller</includeGroupIds>
90 <excludeTransitive>true</excludeTransitive>
91 <ignorePermissions>false</ignorePermissions>
97 <artifactId>maven-assembly-plugin</artifactId>
100 <id>distro-assembly</id>
101 <phase>package</phase>
107 <descriptor>src/assemble/bin.xml</descriptor>