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