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" 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.1.0-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
31                 <dependency>
32                         <groupId>org.opendaylight.lispflowmapping</groupId>
33                         <artifactId>mappingservice.yangmodel</artifactId>
34                 </dependency>
35                 
36                 <dependency>
37                         <groupId>org.opendaylight.lispflowmapping</groupId>
38                         <artifactId>mappingservice.api</artifactId>
39                 </dependency>
40                 
41                 <dependency>
42                         <groupId>org.opendaylight.lispflowmapping</groupId>
43                         <artifactId>mappingservice.config</artifactId>
44                 </dependency>
45                 
46                 <dependency>
47                         <groupId>org.opendaylight.lispflowmapping</groupId>
48                         <artifactId>mappingservice.implementation</artifactId>
49                 </dependency>
50                 
51                 <dependency>
52                         <groupId>org.opendaylight.lispflowmapping</groupId>
53                         <artifactId>mappingservice.southbound</artifactId>
54                 </dependency>
55                 
56                 <dependency>
57                         <groupId>org.opendaylight.lispflowmapping</groupId>
58                         <artifactId>mappingservice.northbound</artifactId>
59                 </dependency>
60                 
61   </dependencies>
62
63   <build>
64     <resources>
65       <resource>
66         <directory>${basedir}/src/main/resources</directory>
67       </resource>
68       <resource>
69         <directory>${project.build.directory}/generated-resources</directory>
70         <filtering>true</filtering>
71       </resource>
72     </resources>
73     <plugins>
74       <plugin>
75         <groupId>org.apache.maven.plugins</groupId>
76         <artifactId>maven-dependency-plugin</artifactId>
77         <executions>
78           <execution>
79             <id>unpack-shared-resources</id>
80             <goals>
81               <goal>unpack-dependencies</goal>
82             </goals>
83             <phase>generate-resources</phase>
84             <configuration>
85              <outputDirectory>${project.build.directory}/generated-resources</outputDirectory>
86              <includeArtifacIds>distribution.opendaylight</includeArtifacIds>
87              <includeGroupIds>org.opendaylight.controller</includeGroupIds>
88              <excludeTransitive>true</excludeTransitive>
89             </configuration>
90           </execution>
91         </executions>
92       </plugin>
93       <plugin>
94         <artifactId>maven-assembly-plugin</artifactId>
95         <executions>
96           <execution>
97             <id>distro-assembly</id>
98             <phase>package</phase>
99             <goals>
100               <goal>single</goal>
101             </goals>
102             <configuration>
103               <descriptors>
104                 <descriptor>src/assemble/bin.xml</descriptor>
105               </descriptors>
106             </configuration>
107           </execution>
108         </executions>
109       </plugin>
110     </plugins>
111   </build>
112 </project>