c877c669ae2083c958c8087fceedfa971e6f0616
[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     <relativePath>../commons/parent</relativePath>
7     <version>1.1.11-SNAPSHOT</version>
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.2-SNAPSHOT</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                 <dependency>
51                         <groupId>org.opendaylight.lispflowmapping</groupId>
52                         <artifactId>mappingservice.clusterdao</artifactId>
53                 </dependency>
54                 
55                 <dependency>
56                         <groupId>org.opendaylight.lispflowmapping</groupId>
57                         <artifactId>mappingservice.southbound</artifactId>
58                 </dependency>
59                 
60                 <dependency>
61                         <groupId>org.opendaylight.lispflowmapping</groupId>
62                         <artifactId>mappingservice.northbound</artifactId>
63                 </dependency>
64                 
65                 <dependency>
66                         <groupId>org.opendaylight.lispflowmapping</groupId>
67                         <artifactId>mappingservice.neutron</artifactId>
68                 </dependency>
69                 
70                 <dependency>
71             <groupId>org.opendaylight.lispflowmapping</groupId>
72             <artifactId>mappingservice.netconf</artifactId>
73         </dependency>
74                 
75   </dependencies>
76
77   <build>
78     <resources>
79       <resource>
80         <directory>${basedir}/src/main/resources</directory>
81       </resource>
82       <resource>
83         <directory>${project.build.directory}/generated-resources</directory>
84         <filtering>true</filtering>
85       </resource>
86     </resources>
87     <plugins>
88       <plugin>
89         <groupId>org.apache.maven.plugins</groupId>
90         <artifactId>maven-dependency-plugin</artifactId>
91         <executions>
92           <execution>
93             <id>unpack-shared-resources</id>
94             <goals>
95               <goal>unpack-dependencies</goal>
96             </goals>
97             <phase>generate-resources</phase>
98             <configuration>
99              <outputDirectory>${project.build.directory}/generated-resources</outputDirectory>
100              <includeArtifacIds>distribution.opendaylight</includeArtifacIds>
101              <includeGroupIds>org.opendaylight.controller</includeGroupIds>
102              <excludeTransitive>true</excludeTransitive>
103             </configuration>
104           </execution>
105         </executions>
106       </plugin>
107       <plugin>
108         <artifactId>maven-assembly-plugin</artifactId>
109         <executions>
110           <execution>
111             <id>distro-assembly</id>
112             <phase>package</phase>
113             <goals>
114               <goal>single</goal>
115             </goals>
116             <configuration>
117               <descriptors>
118                 <descriptor>src/assemble/bin.xml</descriptor>
119               </descriptors>
120             </configuration>
121           </execution>
122         </executions>
123       </plugin>
124     </plugins>
125   </build>
126 </project>