Incrementing versions by 0.1.0 for post-helium master branch
[openflowplugin.git] / distribution / cbench / 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.1.0-SNAPSHOT</version>
11     <relativePath>../../</relativePath>
12   </parent>
13
14   <artifactId>distributions-openflowplugin-cbech</artifactId>
15   <packaging>pom</packaging>
16   <name>Opendaylight OpenflowPlugin CBENCH Edition </name>
17
18   <dependencies>
19
20     <!-- base distribution -->
21     <dependency>
22       <groupId>org.opendaylight.openflowplugin</groupId>
23       <artifactId>distributions-openflowplugin-base</artifactId>
24       <version>${project.version}</version>
25       <type>zip</type>
26       <classifier>osgipackage</classifier>
27       <!-- Make sure this isn't included on any classpath-->
28       <scope>provided</scope>
29     </dependency>
30
31   </dependencies>
32
33   <build>
34     <resources>
35       <resource>
36         <directory>${basedir}/src/main/resources</directory>
37       </resource>
38       <resource>
39         <directory>${project.build.directory}/generated-resources</directory>
40         <filtering>true</filtering>
41       </resource>
42     </resources>
43     <plugins>
44       <plugin>
45         <groupId>org.apache.maven.plugins</groupId>
46         <artifactId>maven-dependency-plugin</artifactId>
47         <version>2.8</version>
48         <executions>
49           <execution>
50             <id>unpack-shared-resources</id>
51             <goals>
52               <goal>unpack-dependencies</goal>
53             </goals>
54             <phase>generate-resources</phase>
55             <configuration>
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>
61             </configuration>
62           </execution>
63         </executions>
64       </plugin>
65       <plugin>
66         <artifactId>maven-assembly-plugin</artifactId>
67         <executions>
68           <execution>
69             <id>distro-assembly</id>
70             <phase>package</phase>
71             <goals>
72               <goal>single</goal>
73             </goals>
74             <configuration>
75               <descriptors>
76                 <descriptor>src/assemble/bin.xml</descriptor>
77               </descriptors>
78             </configuration>
79           </execution>
80         </executions>
81       </plugin>
82     </plugins>
83   </build>
84 </project>