Added test-provider project.
[openflowplugin.git] / distribution / base / pom.xml
1 <!--
2 Adapted from David Erickson's Distribution pom.xml
3 see https://git.opendaylight.org/gerrit/#/c/390/
4 -->
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>
10   <parent>
11     <groupId>org.opendaylight.openflowplugin</groupId>
12     <artifactId>openflowplugin-commons</artifactId>
13     <version>0.0.1-SNAPSHOT</version>
14     <relativePath>../../commons</relativePath>
15   </parent>
16
17   <artifactId>distributions-openflowplugin-base</artifactId>
18   <packaging>pom</packaging>
19   <name>Opendaylight OpenflowPlugin Base Edition </name>
20
21   <dependencies>
22
23     <!-- base distribution -->
24
25     <dependency>
26       <groupId>org.opendaylight.controller</groupId>
27       <artifactId>distribution.opendaylight</artifactId>
28       <version>0.1.1-SNAPSHOT</version>
29       <type>zip</type>
30       <classifier>osgipackage</classifier>
31       <!-- Make sure this isn't included on any classpath-->
32       <scope>provided</scope>
33     </dependency>
34
35     <!-- openflowplugin -->
36     <dependency>
37       <groupId>org.opendaylight.openflowplugin</groupId>
38       <artifactId>openflowplugin</artifactId>
39       <version>0.0.1-SNAPSHOT</version>
40     </dependency>
41     
42     <!-- debug provider -->
43     <dependency>
44       <groupId>org.opendaylight.openflowplugin</groupId>
45       <artifactId>test-provider</artifactId>
46       <version>0.0.1-SNAPSHOT</version>
47     </dependency>
48
49
50     <!-- openflowjava -->
51     <dependency>
52       <groupId>org.opendaylight.openflowjava</groupId>
53       <artifactId>openflow-protocol-impl</artifactId>
54     </dependency>
55     <dependency>
56       <groupId>org.opendaylight.openflowjava</groupId>
57       <artifactId>openflow-protocol-api</artifactId>
58     </dependency>
59     <dependency>
60       <groupId>org.opendaylight.openflowjava</groupId>
61       <artifactId>openflow-protocol-spi</artifactId>
62     </dependency>
63   </dependencies>
64   <build>
65     <resources>
66       <resource>
67         <directory>${basedir}/src/main/resources</directory>
68       </resource>
69       <resource>
70         <directory>${project.build.directory}/generated-resources</directory>
71         <filtering>true</filtering>
72       </resource>
73     </resources>
74     <plugins>
75       <plugin>
76         <groupId>org.apache.maven.plugins</groupId>
77         <artifactId>maven-dependency-plugin</artifactId>
78         <version>2.8</version>
79         <executions>
80           <execution>
81             <id>unpack-shared-resources</id>
82             <goals>
83               <goal>unpack-dependencies</goal>
84             </goals>
85             <phase>generate-resources</phase>
86             <configuration>
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>
92             </configuration>
93           </execution>
94         </executions>
95       </plugin>
96       <plugin>
97         <artifactId>maven-assembly-plugin</artifactId>
98         <executions>
99           <execution>
100             <id>distro-assembly</id>
101             <phase>package</phase>
102             <goals>
103               <goal>single</goal>
104             </goals>
105             <configuration>
106               <descriptors>
107                 <descriptor>src/assemble/bin.xml</descriptor>
108               </descriptors>
109             </configuration>
110           </execution>
111         </executions>
112       </plugin>
113     </plugins>
114   </build>
115 </project>