Remove AD-SAL based northbound interface
[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.shell</artifactId>
116     </dependency>
117     <dependency>
118       <groupId>org.opendaylight.lispflowmapping</groupId>
119       <artifactId>mappingservice.southbound</artifactId>
120     </dependency>
121     <dependency>
122       <groupId>org.opendaylight.lispflowmapping</groupId>
123       <artifactId>mappingservice.yangmodel</artifactId>
124     </dependency>
125     <dependency>
126       <groupId>org.opendaylight.neutron</groupId>
127       <artifactId>features-neutron</artifactId>
128       <classifier>features</classifier>
129       <type>xml</type>
130     </dependency>
131     <!-- error : java.lang.NoSuchMethodError: org.slf4j.helpers.MessageFormatter.format(Ljava/lang/String;Ljava/lang/Object;Ljava/lang/Object;)Lorg/slf4j/helpers/FormattingTuple; -->
132     <dependency>
133       <groupId>org.slf4j</groupId>
134       <artifactId>slf4j-simple</artifactId>
135     </dependency>
136     <!-- test to validate features.xml -->
137     <dependency>
138       <groupId>org.opendaylight.odlparent</groupId>
139       <artifactId>features-test</artifactId>
140       <version>1.6.0-SNAPSHOT</version>
141       <scope>test</scope>
142     </dependency>
143     <dependency>
144       <groupId>junit</groupId>
145       <artifactId>junit-dep</artifactId>
146       <version>${junit.version}</version>
147       <scope>test</scope>
148     </dependency>
149     <!-- dependency for opendaylight-karaf-empty for use by testing -->
150     <dependency>
151       <groupId>org.opendaylight.controller</groupId>
152       <artifactId>opendaylight-karaf-empty</artifactId>
153       <type>zip</type>
154     </dependency>
155   </dependencies>
156
157   <build>
158     <resources>
159       <resource>
160         <filtering>true</filtering>
161         <directory>src/main/resources</directory>
162       </resource>
163     </resources>
164     <plugins>
165       <plugin>
166         <groupId>org.apache.maven.plugins</groupId>
167         <artifactId>maven-resources-plugin</artifactId>
168         <executions>
169           <execution>
170             <id>filter</id>
171             <goals>
172               <goal>resources</goal>
173             </goals>
174             <phase>generate-resources</phase>
175           </execution>
176         </executions>
177       </plugin>
178       <plugin>
179         <groupId>org.apache.maven.plugins</groupId>
180         <artifactId>maven-surefire-plugin</artifactId>
181         <configuration>
182           <systemPropertyVariables>
183             <karaf.distro.groupId>org.opendaylight.controller</karaf.distro.groupId>
184             <karaf.distro.artifactId>opendaylight-karaf-empty</karaf.distro.artifactId>
185             <karaf.distro.version>${karaf.empty.version}</karaf.distro.version>
186           </systemPropertyVariables>
187           <dependenciesToScan>
188             <dependency>org.opendaylight.odlparent:features-test</dependency>
189           </dependenciesToScan>
190         </configuration>
191       </plugin>
192       <plugin>
193         <groupId>org.codehaus.mojo</groupId>
194         <artifactId>build-helper-maven-plugin</artifactId>
195         <executions>
196           <execution>
197             <id>attach-artifacts</id>
198             <goals>
199               <goal>attach-artifact</goal>
200             </goals>
201             <phase>package</phase>
202             <configuration>
203               <artifacts>
204                 <artifact>
205                   <file>${project.build.directory}/classes/${features.file}</file>
206                   <type>xml</type>
207                   <classifier>features</classifier>
208                 </artifact>
209               </artifacts>
210             </configuration>
211           </execution>
212         </executions>
213       </plugin>
214     </plugins>
215   </build>
216 </project>