Remove dependency on clusterdao
[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.3.0-SNAPSHOT</version>
15   </parent>
16   <artifactId>features-lispflowmapping</artifactId>
17   <packaging>jar</packaging>
18   <name>LISP Flow Mapping Project - Karaf Features</name>
19   <prerequisites>
20     <maven>3.1.1</maven>
21   </prerequisites>
22   <properties>
23     <configfile.directory>etc/opendaylight/karaf</configfile.directory>
24     <features.file>features.xml</features.file>
25     <mdsal.version>1.3.0-SNAPSHOT</mdsal.version>
26     <yangtools.version>0.8.0-SNAPSHOT</yangtools.version>
27   </properties>
28   <dependencyManagement>
29     <dependencies>
30       <!-- project specific dependencies -->
31       <dependency>
32         <groupId>org.opendaylight.controller</groupId>
33         <artifactId>mdsal-artifacts</artifactId>
34         <version>${mdsal.version}</version>
35         <type>pom</type>
36         <scope>import</scope>
37       </dependency>
38     </dependencies>
39   </dependencyManagement>
40   <dependencies>
41     <dependency>
42       <groupId>org.opendaylight.controller</groupId>
43       <artifactId>features-adsal</artifactId>
44       <classifier>features</classifier>
45       <type>xml</type>
46     </dependency>
47     <dependency>
48       <groupId>org.opendaylight.controller</groupId>
49       <artifactId>features-netconf-connector</artifactId>
50       <classifier>features</classifier>
51       <type>xml</type>
52     </dependency>
53     <dependency>
54       <groupId>org.opendaylight.controller</groupId>
55       <artifactId>features-nsf</artifactId>
56       <classifier>features</classifier>
57       <type>xml</type>
58     </dependency>
59     <dependency>
60       <groupId>org.opendaylight.controller</groupId>
61       <artifactId>features-mdsal</artifactId>
62       <classifier>features</classifier>
63       <type>xml</type>
64       <scope>runtime</scope>
65     </dependency>
66     <dependency>
67       <groupId>org.opendaylight.controller</groupId>
68       <artifactId>features-restconf</artifactId>
69       <classifier>features</classifier>
70       <type>xml</type>
71       <scope>runtime</scope>
72     </dependency>
73     <dependency>
74       <groupId>org.opendaylight.yangtools</groupId>
75       <artifactId>features-yangtools</artifactId>
76       <version>${yangtools.version}</version>
77       <classifier>features</classifier>
78       <type>xml</type>
79       <scope>runtime</scope>
80     </dependency>
81     <dependency>
82       <groupId>${project.groupId}</groupId>
83       <artifactId>mappingservice.implementation</artifactId>
84       <version>${project.version}</version>
85     </dependency>
86     <dependency>
87       <groupId>${project.groupId}</groupId>
88       <artifactId>mappingservice.implementation</artifactId>
89       <version>${project.version}</version>
90       <classifier>config</classifier>
91       <type>xml</type>
92     </dependency>
93     <dependency>
94       <groupId>org.opendaylight.lispflowmapping</groupId>
95       <artifactId>mappingservice.api</artifactId>
96     </dependency>
97 <!--     <dependency>
98       <groupId>org.opendaylight.lispflowmapping</groupId>
99       <artifactId>mappingservice.clusterdao</artifactId>
100     </dependency> -->
101     <dependency>
102       <groupId>org.opendaylight.lispflowmapping</groupId>
103       <artifactId>mappingservice.config</artifactId>
104     </dependency>
105     <dependency>
106       <groupId>org.opendaylight.lispflowmapping</groupId>
107       <artifactId>mappingservice.netconf</artifactId>
108     </dependency>
109     <dependency>
110       <groupId>org.opendaylight.lispflowmapping</groupId>
111       <artifactId>mappingservice.neutron</artifactId>
112     </dependency>
113     <dependency>
114       <groupId>org.opendaylight.lispflowmapping</groupId>
115       <artifactId>mappingservice.northbound</artifactId>
116     </dependency>
117     <dependency>
118       <groupId>org.opendaylight.lispflowmapping</groupId>
119       <artifactId>mappingservice.shell</artifactId>
120     </dependency>
121     <dependency>
122       <groupId>org.opendaylight.lispflowmapping</groupId>
123       <artifactId>mappingservice.southbound</artifactId>
124     </dependency>
125     <dependency>
126       <groupId>org.opendaylight.lispflowmapping</groupId>
127       <artifactId>mappingservice.yangmodel</artifactId>
128     </dependency>
129     <dependency>
130       <groupId>org.opendaylight.neutron</groupId>
131       <artifactId>features-neutron</artifactId>
132       <classifier>features</classifier>
133       <type>xml</type>
134     </dependency>
135     <!-- error : java.lang.NoSuchMethodError: org.slf4j.helpers.MessageFormatter.format(Ljava/lang/String;Ljava/lang/Object;Ljava/lang/Object;)Lorg/slf4j/helpers/FormattingTuple; -->
136     <dependency>
137       <groupId>org.slf4j</groupId>
138       <artifactId>slf4j-simple</artifactId>
139     </dependency>
140     <!-- test to validate features.xml -->
141     <dependency>
142       <groupId>org.opendaylight.odlparent</groupId>
143       <artifactId>features-test</artifactId>
144       <version>1.6.0-SNAPSHOT</version>
145       <scope>test</scope>
146     </dependency>
147     <dependency>
148       <groupId>junit</groupId>
149       <artifactId>junit-dep</artifactId>
150       <version>${junit.version}</version>
151       <scope>test</scope>
152     </dependency>
153     <!-- dependency for opendaylight-karaf-empty for use by testing -->
154     <dependency>
155       <groupId>org.opendaylight.controller</groupId>
156       <artifactId>opendaylight-karaf-empty</artifactId>
157       <type>zip</type>
158     </dependency>
159   </dependencies>
160
161   <build>
162     <resources>
163       <resource>
164         <filtering>true</filtering>
165         <directory>src/main/resources</directory>
166       </resource>
167     </resources>
168     <plugins>
169       <plugin>
170         <groupId>org.apache.maven.plugins</groupId>
171         <artifactId>maven-resources-plugin</artifactId>
172         <executions>
173           <execution>
174             <id>filter</id>
175             <goals>
176               <goal>resources</goal>
177             </goals>
178             <phase>generate-resources</phase>
179           </execution>
180         </executions>
181       </plugin>
182       <plugin>
183         <groupId>org.apache.maven.plugins</groupId>
184         <artifactId>maven-surefire-plugin</artifactId>
185         <configuration>
186           <systemPropertyVariables>
187             <karaf.distro.groupId>org.opendaylight.controller</karaf.distro.groupId>
188             <karaf.distro.artifactId>opendaylight-karaf-empty</karaf.distro.artifactId>
189             <karaf.distro.version>${karaf.empty.version}</karaf.distro.version>
190           </systemPropertyVariables>
191           <dependenciesToScan>
192             <dependency>org.opendaylight.odlparent:features-test</dependency>
193           </dependenciesToScan>
194         </configuration>
195       </plugin>
196       <plugin>
197         <groupId>org.codehaus.mojo</groupId>
198         <artifactId>build-helper-maven-plugin</artifactId>
199         <executions>
200           <execution>
201             <id>attach-artifacts</id>
202             <goals>
203               <goal>attach-artifact</goal>
204             </goals>
205             <phase>package</phase>
206             <configuration>
207               <artifacts>
208                 <artifact>
209                   <file>${project.build.directory}/classes/${features.file}</file>
210                   <type>xml</type>
211                   <classifier>features</classifier>
212                 </artifact>
213               </artifacts>
214             </configuration>
215           </execution>
216         </executions>
217       </plugin>
218     </plugins>
219   </build>
220 </project>