Bug 1843: Add LISP NETCONF implementation to Karaf
[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-commons</artifactId>
14     <version>1.1.11-SNAPSHOT</version>
15     <relativePath>../commons/parent</relativePath>
16   </parent>
17   <artifactId>features-lispflowmapping</artifactId>
18   <name>LISP Flow Mapping Project - Karaf Features</name>
19   <packaging>jar</packaging>
20   <properties>
21     <features.file>features.xml</features.file>
22   </properties>
23
24   <dependencies>
25     <dependency>
26       <groupId>org.opendaylight.controller</groupId>
27       <artifactId>features-mdsal</artifactId>
28       <version>${mdsal.version}</version>
29       <classifier>features</classifier>
30       <type>xml</type>
31     </dependency>
32     <dependency>
33       <groupId>org.opendaylight.controller</groupId>
34       <artifactId>features-adsal</artifactId>
35       <version>${sal.version}</version>
36       <classifier>features</classifier>
37       <type>xml</type>
38     </dependency>
39     <dependency>
40       <groupId>org.opendaylight.controller</groupId>
41       <artifactId>features-nsf</artifactId>
42       <version>${nsf.version}</version>
43       <classifier>features</classifier>
44       <type>xml</type>
45     </dependency>
46     <dependency>
47       <groupId>org.opendaylight.controller</groupId>
48       <artifactId>features-netconf-connector</artifactId>
49       <version>${mdsal.version}</version>
50       <classifier>features</classifier>
51       <type>xml</type>
52     </dependency>
53     <!-- test to validate features.xml -->
54     <dependency>
55       <groupId>org.opendaylight.yangtools</groupId>
56       <artifactId>features-test</artifactId>
57       <version>${feature.test.version}</version>
58       <scope>test</scope>
59     </dependency>
60     <!-- dependency for opendaylight-karaf-empty for use by testing -->
61     <dependency>
62       <groupId>org.opendaylight.controller</groupId>
63       <artifactId>opendaylight-karaf-empty</artifactId>
64       <version>${karaf.empty.version}</version>
65       <type>zip</type>
66     </dependency>
67     <dependency>
68       <groupId>org.opendaylight.lispflowmapping</groupId>
69       <artifactId>mappingservice.yangmodel</artifactId>
70     </dependency>
71
72     <dependency>
73       <groupId>org.opendaylight.lispflowmapping</groupId>
74       <artifactId>mappingservice.api</artifactId>
75     </dependency>
76
77     <dependency>
78       <groupId>org.opendaylight.lispflowmapping</groupId>
79       <artifactId>mappingservice.config</artifactId>
80     </dependency>
81
82     <dependency>
83       <groupId>org.opendaylight.lispflowmapping</groupId>
84       <artifactId>mappingservice.implementation</artifactId>
85     </dependency>
86     <dependency>
87       <groupId>org.opendaylight.lispflowmapping</groupId>
88       <artifactId>mappingservice.clusterdao</artifactId>
89     </dependency>
90
91     <dependency>
92       <groupId>org.opendaylight.lispflowmapping</groupId>
93       <artifactId>mappingservice.southbound</artifactId>
94     </dependency>
95
96     <dependency>
97       <groupId>org.opendaylight.lispflowmapping</groupId>
98       <artifactId>mappingservice.northbound</artifactId>
99     </dependency>
100
101     <dependency>
102       <groupId>org.opendaylight.lispflowmapping</groupId>
103       <artifactId>mappingservice.netconf</artifactId>
104     </dependency>
105     <!-- error : java.lang.NoSuchMethodError: org.slf4j.helpers.MessageFormatter.format(Ljava/lang/String;Ljava/lang/Object;Ljava/lang/Object;)Lorg/slf4j/helpers/FormattingTuple; -->
106     <dependency>
107       <groupId>org.slf4j</groupId>
108       <artifactId>slf4j-simple</artifactId>
109       <version>1.7.2</version>
110     </dependency>
111   </dependencies>
112
113   <build>
114     <resources>
115       <resource>
116         <directory>src/main/resources</directory>
117         <filtering>true</filtering>
118       </resource>
119     </resources>
120     <plugins>
121        <plugin>
122           <groupId>org.apache.maven.plugins</groupId>
123           <artifactId>maven-resources-plugin</artifactId>
124           <executions>
125              <execution>
126                 <id>filter</id>
127                 <phase>generate-resources</phase>
128                 <goals>
129                    <goal>resources</goal>
130                 </goals>
131              </execution>
132           </executions>
133        </plugin>
134        <plugin>
135           <groupId>org.codehaus.mojo</groupId>
136           <artifactId>build-helper-maven-plugin</artifactId>
137           <executions>
138              <execution>
139                 <id>attach-artifacts</id>
140                 <phase>package</phase>
141                 <goals>
142                    <goal>attach-artifact</goal>
143                 </goals>
144                 <configuration>
145                    <artifacts>
146                       <artifact>
147                          <file>${project.build.directory}/classes/${features.file}</file>
148                          <type>xml</type>
149                          <classifier>features</classifier>
150                       </artifact>
151                    </artifacts>
152                 </configuration>
153              </execution>
154           </executions>
155        </plugin>
156        <plugin>
157           <groupId>org.apache.maven.plugins</groupId>
158           <artifactId>maven-surefire-plugin</artifactId>
159           <version>${surefire.version}</version>
160           <configuration>
161             <systemPropertyVariables>
162               <karaf.distro.groupId>org.opendaylight.controller</karaf.distro.groupId>
163               <karaf.distro.artifactId>opendaylight-karaf-empty</karaf.distro.artifactId>
164               <karaf.distro.version>${karaf.empty.version}</karaf.distro.version>
165             </systemPropertyVariables>
166             <dependenciesToScan>
167              <dependency>org.opendaylight.yangtools:features-test</dependency>
168             </dependenciesToScan>
169           </configuration>
170         </plugin>
171     </plugins>
172   </build>
173   <scm>
174     <connection>scm:git:https://git.opendaylight.org/gerrit/p/lispflowmapping.git</connection>
175     <developerConnection>scm:git:ssh://git.opendaylight.org:29418/lispflowmapping.git</developerConnection>
176     <tag>HEAD</tag>
177     <url>https://wiki.opendaylight.org/view/OpenDaylight_Lisp_Flow_Mapping:Main</url>
178    </scm>
179 </project>