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