Pick the updated jars from the controller,Library
[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" 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>
7   <parent>
8     <groupId>org.opendaylight.openflowplugin</groupId>
9     <artifactId>openflowplugin-parent</artifactId>
10     <version>0.0.3-SNAPSHOT</version>
11     <relativePath>../../</relativePath>
12   </parent>
13
14   <artifactId>distributions-openflowplugin-base</artifactId>
15   <packaging>pom</packaging>
16   <name>Opendaylight OpenflowPlugin Base Edition </name>
17
18   <dependencies>
19
20     <!-- base distribution -->
21
22     <dependency>
23       <groupId>org.opendaylight.controller</groupId>
24       <artifactId>distribution.opendaylight</artifactId>
25       <version>0.1.2-SNAPSHOT</version>
26       <type>zip</type>
27       <classifier>osgipackage</classifier>
28       <!-- Make sure this isn't included on any classpath-->
29       <scope>provided</scope>
30     </dependency>
31
32     <!-- openflowplugin -->
33     <dependency>
34       <groupId>org.opendaylight.openflowplugin</groupId>
35       <artifactId>openflowplugin</artifactId>
36       <version>${project.version}</version>
37     </dependency>
38     
39     <!-- debug provider -->
40     <dependency>
41       <groupId>org.opendaylight.openflowplugin</groupId>
42       <artifactId>test-provider</artifactId>
43       <version>0.0.3-SNAPSHOT</version>
44     </dependency>
45     
46     <!-- drop-test provider -->
47     <dependency>
48       <groupId>org.opendaylight.openflowplugin</groupId>
49       <artifactId>drop-test</artifactId>
50       <version>${project.version}</version>
51     </dependency>
52
53    
54     <dependency>
55       <groupId>commons-codec</groupId>
56       <artifactId>commons-codec</artifactId>
57       <version>1.8</version>
58     </dependency>
59
60     <!-- openflowjava -->
61     <dependency>
62       <groupId>org.opendaylight.openflowjava</groupId>
63       <artifactId>openflow-protocol-impl</artifactId>
64     </dependency>
65     <dependency>
66       <groupId>org.opendaylight.openflowjava</groupId>
67       <artifactId>openflow-protocol-api</artifactId>
68     </dependency>
69     <dependency>
70       <groupId>org.opendaylight.openflowjava</groupId>
71       <artifactId>openflow-protocol-spi</artifactId>
72     </dependency>
73   </dependencies>
74
75   <build>
76     <resources>
77       <resource>
78         <directory>${basedir}/src/main/resources</directory>
79       </resource>
80       <resource>
81         <directory>${project.build.directory}/generated-resources</directory>
82         <filtering>true</filtering>
83       </resource>
84     </resources>
85     <plugins>
86       <plugin>
87         <groupId>org.apache.maven.plugins</groupId>
88         <artifactId>maven-dependency-plugin</artifactId>
89         <version>2.8</version>
90         <executions>
91           <execution>
92             <id>unpack-shared-resources</id>
93             <goals>
94               <goal>unpack-dependencies</goal>
95             </goals>
96             <phase>generate-resources</phase>
97             <configuration>
98              <outputDirectory>${project.build.directory}/generated-resources</outputDirectory>
99              <includeArtifactIds>distribution.opendaylight</includeArtifactIds>
100              <includeGroupIds>org.opendaylight.controller</includeGroupIds>
101              <excludeTransitive>true</excludeTransitive>
102              <ignorePermissions>false</ignorePermissions>
103             </configuration>
104           </execution>
105         </executions>
106       </plugin>
107       <plugin>
108         <artifactId>maven-assembly-plugin</artifactId>
109         <executions>
110           <execution>
111             <id>distro-assembly</id>
112             <phase>package</phase>
113             <goals>
114               <goal>single</goal>
115             </goals>
116             <configuration>
117               <descriptors>
118                 <descriptor>src/assemble/bin.xml</descriptor>
119               </descriptors>
120             </configuration>
121           </execution>
122         </executions>
123       </plugin>
124     </plugins>
125   </build>
126 </project>