Beryllium version bump
[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   <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>
49       <groupId>org.opendaylight.controller</groupId>
50       <artifactId>features-restconf</artifactId>
51       <classifier>features</classifier>
52       <type>xml</type>
53     </dependency>
54     <!-- dependency for opendaylight-karaf-empty for use by testing -->
55     <dependency>
56       <groupId>org.opendaylight.controller</groupId>
57       <artifactId>opendaylight-karaf-empty</artifactId>
58       <type>zip</type>
59     </dependency>
60
61     <dependency>
62       <groupId>org.opendaylight.lispflowmapping</groupId>
63       <artifactId>mappingservice.api</artifactId>
64     </dependency>
65     <dependency>
66       <groupId>org.opendaylight.lispflowmapping</groupId>
67       <artifactId>mappingservice.clusterdao</artifactId>
68     </dependency>
69
70     <dependency>
71       <groupId>org.opendaylight.lispflowmapping</groupId>
72       <artifactId>mappingservice.config</artifactId>
73     </dependency>
74
75     <dependency>
76       <groupId>org.opendaylight.lispflowmapping</groupId>
77       <artifactId>mappingservice.implementation</artifactId>
78     </dependency>
79
80     <dependency>
81       <groupId>org.opendaylight.lispflowmapping</groupId>
82       <artifactId>mappingservice.netconf</artifactId>
83     </dependency>
84
85     <dependency>
86       <groupId>org.opendaylight.lispflowmapping</groupId>
87       <artifactId>mappingservice.neutron</artifactId>
88     </dependency>
89
90     <dependency>
91       <groupId>org.opendaylight.lispflowmapping</groupId>
92       <artifactId>mappingservice.northbound</artifactId>
93     </dependency>
94     <dependency>
95       <groupId>org.opendaylight.lispflowmapping</groupId>
96       <artifactId>mappingservice.shell</artifactId>
97     </dependency>
98
99     <dependency>
100       <groupId>org.opendaylight.lispflowmapping</groupId>
101       <artifactId>mappingservice.southbound</artifactId>
102     </dependency>
103     <dependency>
104       <groupId>org.opendaylight.lispflowmapping</groupId>
105       <artifactId>mappingservice.yangmodel</artifactId>
106     </dependency>
107     <dependency>
108       <groupId>org.opendaylight.neutron</groupId>
109       <artifactId>features-neutron</artifactId>
110       <classifier>features</classifier>
111       <type>xml</type>
112     </dependency>
113     <!-- error : java.lang.NoSuchMethodError: org.slf4j.helpers.MessageFormatter.format(Ljava/lang/String;Ljava/lang/Object;Ljava/lang/Object;)Lorg/slf4j/helpers/FormattingTuple; -->
114     <dependency>
115       <groupId>org.slf4j</groupId>
116       <artifactId>slf4j-simple</artifactId>
117     </dependency>
118     <!-- test to validate features.xml -->
119     <dependency>
120       <groupId>org.opendaylight.odlparent</groupId>
121       <artifactId>features-test</artifactId>
122       <version>1.6.0-SNAPSHOT</version>
123       <scope>test</scope>
124     </dependency>
125   </dependencies>
126
127   <build>
128     <resources>
129       <resource>
130         <filtering>true</filtering>
131         <directory>src/main/resources</directory>
132       </resource>
133     </resources>
134     <plugins>
135       <plugin>
136         <groupId>org.apache.maven.plugins</groupId>
137         <artifactId>maven-resources-plugin</artifactId>
138         <executions>
139           <execution>
140             <id>filter</id>
141             <goals>
142               <goal>resources</goal>
143             </goals>
144             <phase>generate-resources</phase>
145           </execution>
146         </executions>
147       </plugin>
148       <plugin>
149         <groupId>org.apache.maven.plugins</groupId>
150         <artifactId>maven-surefire-plugin</artifactId>
151         <configuration>
152           <systemPropertyVariables>
153             <karaf.distro.groupId>org.opendaylight.controller</karaf.distro.groupId>
154             <karaf.distro.artifactId>opendaylight-karaf-empty</karaf.distro.artifactId>
155             <karaf.distro.version>${karaf.empty.version}</karaf.distro.version>
156           </systemPropertyVariables>
157           <dependenciesToScan>
158             <dependency>org.opendaylight.odlparent:features-test</dependency>
159           </dependenciesToScan>
160         </configuration>
161       </plugin>
162       <plugin>
163         <groupId>org.codehaus.mojo</groupId>
164         <artifactId>build-helper-maven-plugin</artifactId>
165         <executions>
166           <execution>
167             <id>attach-artifacts</id>
168             <goals>
169               <goal>attach-artifact</goal>
170             </goals>
171             <phase>package</phase>
172             <configuration>
173               <artifacts>
174                 <artifact>
175                   <file>${project.build.directory}/classes/${features.file}</file>
176                   <type>xml</type>
177                   <classifier>features</classifier>
178                 </artifact>
179               </artifacts>
180             </configuration>
181           </execution>
182         </executions>
183       </plugin>
184     </plugins>
185   </build>
186 </project>