7138c0d728bbb398f162fd0642acf00d1ce8efbe
[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
106     <dependency>
107       <groupId>org.opendaylight.lispflowmapping</groupId>
108       <artifactId>mappingservice.neutron</artifactId>
109     </dependency>
110     <!-- error : java.lang.NoSuchMethodError: org.slf4j.helpers.MessageFormatter.format(Ljava/lang/String;Ljava/lang/Object;Ljava/lang/Object;)Lorg/slf4j/helpers/FormattingTuple; -->
111     <dependency>
112       <groupId>org.slf4j</groupId>
113       <artifactId>slf4j-simple</artifactId>
114       <version>1.7.2</version>
115     </dependency>
116   </dependencies>
117
118   <build>
119     <resources>
120       <resource>
121         <directory>src/main/resources</directory>
122         <filtering>true</filtering>
123       </resource>
124     </resources>
125     <plugins>
126        <plugin>
127           <groupId>org.apache.maven.plugins</groupId>
128           <artifactId>maven-resources-plugin</artifactId>
129           <executions>
130              <execution>
131                 <id>filter</id>
132                 <phase>generate-resources</phase>
133                 <goals>
134                    <goal>resources</goal>
135                 </goals>
136              </execution>
137           </executions>
138        </plugin>
139        <plugin>
140           <groupId>org.codehaus.mojo</groupId>
141           <artifactId>build-helper-maven-plugin</artifactId>
142           <executions>
143              <execution>
144                 <id>attach-artifacts</id>
145                 <phase>package</phase>
146                 <goals>
147                    <goal>attach-artifact</goal>
148                 </goals>
149                 <configuration>
150                    <artifacts>
151                       <artifact>
152                          <file>${project.build.directory}/classes/${features.file}</file>
153                          <type>xml</type>
154                          <classifier>features</classifier>
155                       </artifact>
156                    </artifacts>
157                 </configuration>
158              </execution>
159           </executions>
160        </plugin>
161        <plugin>
162           <groupId>org.apache.maven.plugins</groupId>
163           <artifactId>maven-surefire-plugin</artifactId>
164           <version>${surefire.version}</version>
165           <configuration>
166             <systemPropertyVariables>
167               <karaf.distro.groupId>org.opendaylight.controller</karaf.distro.groupId>
168               <karaf.distro.artifactId>opendaylight-karaf-empty</karaf.distro.artifactId>
169               <karaf.distro.version>${karaf.empty.version}</karaf.distro.version>
170             </systemPropertyVariables>
171             <dependenciesToScan>
172              <dependency>org.opendaylight.yangtools:features-test</dependency>
173             </dependenciesToScan>
174           </configuration>
175         </plugin>
176     </plugins>
177   </build>
178   <scm>
179     <connection>scm:git:https://git.opendaylight.org/gerrit/p/lispflowmapping.git</connection>
180     <developerConnection>scm:git:ssh://git.opendaylight.org:29418/lispflowmapping.git</developerConnection>
181     <tag>HEAD</tag>
182     <url>https://wiki.opendaylight.org/view/OpenDaylight_Lisp_Flow_Mapping:Main</url>
183    </scm>
184 </project>