6696116e20b7b6b552da126839f246d1371a3e3e
[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.0.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   <dependencies>
24     <dependency>
25       <groupId>org.opendaylight.controller</groupId>
26       <artifactId>distribution.opendaylight</artifactId>
27       <version>0.1.1</version>
28       <type>zip</type>
29       <classifier>osgipackage</classifier>
30       <!-- Make sure this isn't included on any classpath-->
31       <scope>provided</scope>
32     </dependency>
33   </dependencies>
34
35   <build>
36     <resources>
37       <resource>
38         <directory>${basedir}/src/main/resources</directory>
39       </resource>
40       <resource>
41         <directory>${project.build.directory}/generated-resources</directory>
42         <filtering>true</filtering>
43       </resource>
44     </resources>
45     <plugins>
46       <plugin>
47         <groupId>org.apache.maven.plugins</groupId>
48         <artifactId>maven-dependency-plugin</artifactId>
49         <executions>
50           <execution>
51             <id>unpack-shared-resources</id>
52             <goals>
53               <goal>unpack-dependencies</goal>
54             </goals>
55             <phase>generate-resources</phase>
56             <configuration>
57              <outputDirectory>${project.build.directory}/generated-resources</outputDirectory>
58              <includeArtifacIds>distribution.opendaylight</includeArtifacIds>
59              <includeGroupIds>org.opendaylight.controller</includeGroupIds>
60              <excludeTransitive>true</excludeTransitive>
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>