[maven-release-plugin] prepare for next development iteration
[lispflowmapping.git] / distribution / pom.xml
1 <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">
2   <modelVersion>4.0.0</modelVersion>
3   <parent>
4     <groupId>org.opendaylight.lispflowmapping</groupId>
5     <artifactId>lispflowmapping-commons</artifactId>
6     <version>1.0.1-SNAPSHOT</version>
7     <relativePath>../commons/parent</relativePath>
8   </parent>
9
10   <artifactId>lispflowmapping-distribution</artifactId>
11   <packaging>pom</packaging>
12   <name>LISP Flow Mapping Distribution</name>
13
14   <scm>
15     <connection>scm:git:https://git.opendaylight.org/gerrit/p/lispflowmapping.git</connection>
16     <developerConnection>scm:git:ssh://git.opendaylight.org:29418/lispflowmapping.git</developerConnection>
17     <url>https://wiki.opendaylight.org/view/OpenDaylight_Lisp_Flow_Mapping:Main</url>
18     <tag>HEAD</tag>
19   </scm>
20   <dependencies>
21     <dependency>
22       <groupId>org.opendaylight.controller</groupId>
23       <artifactId>distribution.opendaylight</artifactId>
24       <version>0.1.1</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   </dependencies>
31
32   <build>
33     <resources>
34       <resource>
35         <directory>${basedir}/src/main/resources</directory>
36       </resource>
37       <resource>
38         <directory>${project.build.directory}/generated-resources</directory>
39         <filtering>true</filtering>
40       </resource>
41     </resources>
42     <plugins>
43       <plugin>
44         <groupId>org.apache.maven.plugins</groupId>
45         <artifactId>maven-dependency-plugin</artifactId>
46         <executions>
47           <execution>
48             <id>unpack-shared-resources</id>
49             <goals>
50               <goal>unpack-dependencies</goal>
51             </goals>
52             <phase>generate-resources</phase>
53             <configuration>
54              <outputDirectory>${project.build.directory}/generated-resources</outputDirectory>
55              <includeArtifacIds>distribution.opendaylight</includeArtifacIds>
56              <includeGroupIds>org.opendaylight.controller</includeGroupIds>
57              <excludeTransitive>true</excludeTransitive>
58             </configuration>
59           </execution>
60         </executions>
61       </plugin>
62       <plugin>
63         <artifactId>maven-assembly-plugin</artifactId>
64         <executions>
65           <execution>
66             <id>distro-assembly</id>
67             <phase>package</phase>
68             <goals>
69               <goal>single</goal>
70             </goals>
71             <configuration>
72               <descriptors>
73                 <descriptor>src/assemble/bin.xml</descriptor>
74               </descriptors>
75             </configuration>
76           </execution>
77         </executions>
78       </plugin>
79     </plugins>
80   </build>
81 </project>