Refactor the poms to clean up unused tags and move to odl parent
[lispflowmapping.git] / features / pom.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!--
3  Copyright (c) 2014 Cisco Systems, Inc. and others.  All rights reserved.
4
5  This program and the accompanying materials are made available under the
6  terms of the Eclipse Public License v1.0 which accompanies this distribution,
7  and is available at http://www.eclipse.org/legal/epl-v10.html
8 -->
9 <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/xsd/maven-4.0.0.xsd">
10   <modelVersion>4.0.0</modelVersion>
11   <parent>
12     <groupId>org.opendaylight.lispflowmapping</groupId>
13     <artifactId>lispflowmapping-all</artifactId>
14     <version>1.2.0-SNAPSHOT</version>
15   </parent>
16   <artifactId>features-lispflowmapping</artifactId>
17   <packaging>jar</packaging>
18   <name>LISP Flow Mapping Project - Karaf Features</name>
19   <properties>
20     <features.file>features.xml</features.file>
21   </properties>
22
23   <dependencies>
24     <dependency>
25       <groupId>org.opendaylight.controller</groupId>
26       <artifactId>features-adsal</artifactId>
27       <classifier>features</classifier>
28       <type>xml</type>
29     </dependency>
30     <dependency>
31       <groupId>org.opendaylight.controller</groupId>
32       <artifactId>features-mdsal</artifactId>
33       <classifier>features</classifier>
34       <type>xml</type>
35     </dependency>
36     <dependency>
37       <groupId>org.opendaylight.controller</groupId>
38       <artifactId>features-netconf-connector</artifactId>
39       <classifier>features</classifier>
40       <type>xml</type>
41     </dependency>
42     <dependency>
43       <groupId>org.opendaylight.controller</groupId>
44       <artifactId>features-nsf</artifactId>
45       <classifier>features</classifier>
46       <type>xml</type>
47     </dependency>
48     <!-- dependency for opendaylight-karaf-empty for use by testing -->
49     <dependency>
50       <groupId>org.opendaylight.controller</groupId>
51       <artifactId>opendaylight-karaf-empty</artifactId>
52       <type>zip</type>
53     </dependency>
54
55     <dependency>
56       <groupId>org.opendaylight.lispflowmapping</groupId>
57       <artifactId>mappingservice.api</artifactId>
58     </dependency>
59     <dependency>
60       <groupId>org.opendaylight.lispflowmapping</groupId>
61       <artifactId>mappingservice.clusterdao</artifactId>
62     </dependency>
63
64     <dependency>
65       <groupId>org.opendaylight.lispflowmapping</groupId>
66       <artifactId>mappingservice.config</artifactId>
67     </dependency>
68
69     <dependency>
70       <groupId>org.opendaylight.lispflowmapping</groupId>
71       <artifactId>mappingservice.implementation</artifactId>
72     </dependency>
73
74     <dependency>
75       <groupId>org.opendaylight.lispflowmapping</groupId>
76       <artifactId>mappingservice.netconf</artifactId>
77     </dependency>
78
79     <dependency>
80       <groupId>org.opendaylight.lispflowmapping</groupId>
81       <artifactId>mappingservice.neutron</artifactId>
82     </dependency>
83
84     <dependency>
85       <groupId>org.opendaylight.lispflowmapping</groupId>
86       <artifactId>mappingservice.northbound</artifactId>
87     </dependency>
88
89     <dependency>
90       <groupId>org.opendaylight.lispflowmapping</groupId>
91       <artifactId>mappingservice.southbound</artifactId>
92     </dependency>
93     <dependency>
94       <groupId>org.opendaylight.lispflowmapping</groupId>
95       <artifactId>mappingservice.yangmodel</artifactId>
96     </dependency>
97     <!-- error : java.lang.NoSuchMethodError: org.slf4j.helpers.MessageFormatter.format(Ljava/lang/String;Ljava/lang/Object;Ljava/lang/Object;)Lorg/slf4j/helpers/FormattingTuple; -->
98     <dependency>
99       <groupId>org.slf4j</groupId>
100       <artifactId>slf4j-simple</artifactId>
101     </dependency>
102     <!-- test to validate features.xml -->
103     <dependency>
104       <groupId>org.opendaylight.yangtools</groupId>
105       <artifactId>features-test</artifactId>
106       <scope>test</scope>
107     </dependency>
108   </dependencies>
109
110   <build>
111     <resources>
112       <resource>
113         <filtering>true</filtering>
114         <directory>src/main/resources</directory>
115       </resource>
116     </resources>
117     <plugins>
118       <plugin>
119         <groupId>org.apache.maven.plugins</groupId>
120         <artifactId>maven-resources-plugin</artifactId>
121         <executions>
122           <execution>
123             <id>filter</id>
124             <goals>
125               <goal>resources</goal>
126             </goals>
127             <phase>generate-resources</phase>
128           </execution>
129         </executions>
130       </plugin>
131       <plugin>
132         <groupId>org.apache.maven.plugins</groupId>
133         <artifactId>maven-surefire-plugin</artifactId>
134         <configuration>
135           <systemPropertyVariables>
136             <karaf.distro.groupId>org.opendaylight.controller</karaf.distro.groupId>
137             <karaf.distro.artifactId>opendaylight-karaf-empty</karaf.distro.artifactId>
138             <karaf.distro.version>${karaf.empty.version}</karaf.distro.version>
139           </systemPropertyVariables>
140           <dependenciesToScan>
141             <dependency>org.opendaylight.yangtools:features-test</dependency>
142           </dependenciesToScan>
143         </configuration>
144       </plugin>
145       <plugin>
146         <groupId>org.codehaus.mojo</groupId>
147         <artifactId>build-helper-maven-plugin</artifactId>
148         <executions>
149           <execution>
150             <id>attach-artifacts</id>
151             <goals>
152               <goal>attach-artifact</goal>
153             </goals>
154             <phase>package</phase>
155             <configuration>
156               <artifacts>
157                 <artifact>
158                   <file>${project.build.directory}/classes/${features.file}</file>
159                   <type>xml</type>
160                   <classifier>features</classifier>
161                 </artifact>
162               </artifacts>
163             </configuration>
164           </execution>
165         </executions>
166       </plugin>
167     </plugins>
168   </build>
169 </project>