Refactor the poms to clean up unused tags and move to odl parent
[lispflowmapping.git] / distribution / pom.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <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">
3   <modelVersion>4.0.0</modelVersion>
4   <parent>
5     <groupId>org.opendaylight.lispflowmapping</groupId>
6     <artifactId>lispflowmapping-commons</artifactId>
7     <version>1.2.0-SNAPSHOT</version>
8     <relativePath>../commons/parent</relativePath>
9   </parent>
10
11   <artifactId>lispflowmapping-distribution</artifactId>
12   <packaging>pom</packaging>
13   <name>LISP Flow Mapping Distribution</name>
14   <dependencies>
15
16     <dependency>
17       <groupId>org.opendaylight.lispflowmapping</groupId>
18       <artifactId>mappingservice.api</artifactId>
19     </dependency>
20     <dependency>
21       <groupId>org.opendaylight.lispflowmapping</groupId>
22       <artifactId>mappingservice.clusterdao</artifactId>
23     </dependency>
24
25     <dependency>
26       <groupId>org.opendaylight.lispflowmapping</groupId>
27       <artifactId>mappingservice.config</artifactId>
28     </dependency>
29
30     <dependency>
31       <groupId>org.opendaylight.lispflowmapping</groupId>
32       <artifactId>mappingservice.implementation</artifactId>
33     </dependency>
34
35     <dependency>
36       <groupId>org.opendaylight.lispflowmapping</groupId>
37       <artifactId>mappingservice.netconf</artifactId>
38     </dependency>
39
40     <dependency>
41       <groupId>org.opendaylight.lispflowmapping</groupId>
42       <artifactId>mappingservice.neutron</artifactId>
43     </dependency>
44
45     <dependency>
46       <groupId>org.opendaylight.lispflowmapping</groupId>
47       <artifactId>mappingservice.northbound</artifactId>
48     </dependency>
49
50     <dependency>
51       <groupId>org.opendaylight.lispflowmapping</groupId>
52       <artifactId>mappingservice.southbound</artifactId>
53     </dependency>
54
55     <dependency>
56       <groupId>org.opendaylight.lispflowmapping</groupId>
57       <artifactId>mappingservice.yangmodel</artifactId>
58     </dependency>
59     <dependency>
60       <groupId>org.opendaylight.controller</groupId>
61       <artifactId>distribution.opendaylight</artifactId>
62       <classifier>osgipackage</classifier>
63       <type>zip</type>
64       <!-- Make sure this isn't included on any classpath-->
65       <scope>provided</scope>
66     </dependency>
67
68   </dependencies>
69
70   <build>
71     <resources>
72       <resource>
73         <directory>${basedir}/src/main/resources</directory>
74       </resource>
75       <resource>
76         <filtering>true</filtering>
77         <directory>${project.build.directory}/generated-resources</directory>
78       </resource>
79     </resources>
80     <plugins>
81       <plugin>
82         <artifactId>maven-assembly-plugin</artifactId>
83         <executions>
84           <execution>
85             <id>distro-assembly</id>
86             <goals>
87               <goal>single</goal>
88             </goals>
89             <phase>package</phase>
90             <configuration>
91               <descriptors>
92                 <descriptor>src/assemble/bin.xml</descriptor>
93               </descriptors>
94             </configuration>
95           </execution>
96         </executions>
97       </plugin>
98       <plugin>
99         <groupId>org.apache.maven.plugins</groupId>
100         <artifactId>maven-dependency-plugin</artifactId>
101         <executions>
102           <execution>
103             <id>unpack-shared-resources</id>
104             <goals>
105               <goal>unpack-dependencies</goal>
106             </goals>
107             <phase>generate-resources</phase>
108             <configuration>
109               <outputDirectory>${project.build.directory}/generated-resources</outputDirectory>
110               <includeArtifacIds>distribution.opendaylight</includeArtifacIds>
111               <includeGroupIds>org.opendaylight.controller</includeGroupIds>
112               <excludeTransitive>true</excludeTransitive>
113             </configuration>
114           </execution>
115         </executions>
116       </plugin>
117     </plugins>
118   </build>
119 </project>