05b73783d05043fb90de8c0bb31e1dfb61da06b0
[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     <!-- test to validate features.xml -->
47     <dependency>
48       <groupId>org.opendaylight.yangtools</groupId>
49       <artifactId>features-test</artifactId>
50       <version>${feature.test.version}</version>
51       <scope>test</scope>
52     </dependency>
53     <!-- dependency for opendaylight-karaf-empty for use by testing -->
54     <dependency>
55       <groupId>org.opendaylight.controller</groupId>
56       <artifactId>opendaylight-karaf-empty</artifactId>
57       <version>${karaf.empty.version}</version>
58       <type>zip</type>
59     </dependency>
60     <dependency>
61       <groupId>org.opendaylight.lispflowmapping</groupId>
62       <artifactId>mappingservice.yangmodel</artifactId>
63     </dependency>
64
65     <dependency>
66       <groupId>org.opendaylight.lispflowmapping</groupId>
67       <artifactId>mappingservice.api</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     <dependency>
80       <groupId>org.opendaylight.lispflowmapping</groupId>
81       <artifactId>mappingservice.clusterdao</artifactId>
82     </dependency>
83
84     <dependency>
85       <groupId>org.opendaylight.lispflowmapping</groupId>
86       <artifactId>mappingservice.southbound</artifactId>
87     </dependency>
88
89     <dependency>
90       <groupId>org.opendaylight.lispflowmapping</groupId>
91       <artifactId>mappingservice.northbound</artifactId>
92     </dependency>
93     <!-- error : java.lang.NoSuchMethodError: org.slf4j.helpers.MessageFormatter.format(Ljava/lang/String;Ljava/lang/Object;Ljava/lang/Object;)Lorg/slf4j/helpers/FormattingTuple; -->
94     <dependency>
95       <groupId>org.slf4j</groupId>
96       <artifactId>slf4j-simple</artifactId>
97       <version>1.7.2</version>
98     </dependency>
99   </dependencies>
100
101   <build>
102     <resources>
103       <resource>
104         <directory>src/main/resources</directory>
105         <filtering>true</filtering>
106       </resource>
107     </resources>
108     <plugins>
109        <plugin>
110           <groupId>org.apache.maven.plugins</groupId>
111           <artifactId>maven-resources-plugin</artifactId>
112           <executions>
113              <execution>
114                 <id>filter</id>
115                 <phase>generate-resources</phase>
116                 <goals>
117                    <goal>resources</goal>
118                 </goals>
119              </execution>
120           </executions>
121        </plugin>
122        <plugin>
123           <groupId>org.codehaus.mojo</groupId>
124           <artifactId>build-helper-maven-plugin</artifactId>
125           <executions>
126              <execution>
127                 <id>attach-artifacts</id>
128                 <phase>package</phase>
129                 <goals>
130                    <goal>attach-artifact</goal>
131                 </goals>
132                 <configuration>
133                    <artifacts>
134                       <artifact>
135                          <file>${project.build.directory}/classes/${features.file}</file>
136                          <type>xml</type>
137                          <classifier>features</classifier>
138                       </artifact>
139                    </artifacts>
140                 </configuration>
141              </execution>
142           </executions>
143        </plugin>
144        <plugin>
145           <groupId>org.apache.maven.plugins</groupId>
146           <artifactId>maven-surefire-plugin</artifactId>
147           <version>${surefire.version}</version>
148           <configuration>
149             <systemPropertyVariables>
150               <karaf.distro.groupId>org.opendaylight.controller</karaf.distro.groupId>
151               <karaf.distro.artifactId>opendaylight-karaf-empty</karaf.distro.artifactId>
152               <karaf.distro.version>${karaf.empty.version}</karaf.distro.version>
153             </systemPropertyVariables>
154             <dependenciesToScan>
155              <dependency>org.opendaylight.yangtools:features-test</dependency>
156             </dependenciesToScan>
157           </configuration>
158         </plugin>
159     </plugins>
160   </build>
161   <scm>
162     <connection>scm:git:https://git.opendaylight.org/gerrit/p/lispflowmapping.git</connection>
163     <developerConnection>scm:git:ssh://git.opendaylight.org:29418/lispflowmapping.git</developerConnection>
164     <tag>HEAD</tag>
165     <url>https://wiki.opendaylight.org/view/OpenDaylight_Lisp_Flow_Mapping:Main</url>
166    </scm>
167 </project>