Merge "Remove <repositories> and <pluginRepositories> sections"
[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.2.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-neutron</artifactId>
45       <classifier>features</classifier>
46       <type>xml</type>
47     </dependency>
48     <dependency>
49       <groupId>org.opendaylight.controller</groupId>
50       <artifactId>features-nsf</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
95     <dependency>
96       <groupId>org.opendaylight.lispflowmapping</groupId>
97       <artifactId>mappingservice.southbound</artifactId>
98     </dependency>
99     <dependency>
100       <groupId>org.opendaylight.lispflowmapping</groupId>
101       <artifactId>mappingservice.yangmodel</artifactId>
102     </dependency>
103     <!-- error : java.lang.NoSuchMethodError: org.slf4j.helpers.MessageFormatter.format(Ljava/lang/String;Ljava/lang/Object;Ljava/lang/Object;)Lorg/slf4j/helpers/FormattingTuple; -->
104     <dependency>
105       <groupId>org.slf4j</groupId>
106       <artifactId>slf4j-simple</artifactId>
107     </dependency>
108     <!-- test to validate features.xml -->
109     <dependency>
110       <groupId>org.opendaylight.yangtools</groupId>
111       <artifactId>features-test</artifactId>
112       <scope>test</scope>
113     </dependency>
114   </dependencies>
115
116   <build>
117     <resources>
118       <resource>
119         <filtering>true</filtering>
120         <directory>src/main/resources</directory>
121       </resource>
122     </resources>
123     <plugins>
124       <plugin>
125         <groupId>org.apache.maven.plugins</groupId>
126         <artifactId>maven-resources-plugin</artifactId>
127         <executions>
128           <execution>
129             <id>filter</id>
130             <goals>
131               <goal>resources</goal>
132             </goals>
133             <phase>generate-resources</phase>
134           </execution>
135         </executions>
136       </plugin>
137       <plugin>
138         <groupId>org.apache.maven.plugins</groupId>
139         <artifactId>maven-surefire-plugin</artifactId>
140         <configuration>
141           <systemPropertyVariables>
142             <karaf.distro.groupId>org.opendaylight.controller</karaf.distro.groupId>
143             <karaf.distro.artifactId>opendaylight-karaf-empty</karaf.distro.artifactId>
144             <karaf.distro.version>${karaf.empty.version}</karaf.distro.version>
145           </systemPropertyVariables>
146           <dependenciesToScan>
147             <dependency>org.opendaylight.yangtools:features-test</dependency>
148           </dependenciesToScan>
149         </configuration>
150       </plugin>
151       <plugin>
152         <groupId>org.codehaus.mojo</groupId>
153         <artifactId>build-helper-maven-plugin</artifactId>
154         <executions>
155           <execution>
156             <id>attach-artifacts</id>
157             <goals>
158               <goal>attach-artifact</goal>
159             </goals>
160             <phase>package</phase>
161             <configuration>
162               <artifacts>
163                 <artifact>
164                   <file>${project.build.directory}/classes/${features.file}</file>
165                   <type>xml</type>
166                   <classifier>features</classifier>
167                 </artifact>
168               </artifacts>
169             </configuration>
170           </execution>
171         </executions>
172       </plugin>
173     </plugins>
174   </build>
175 </project>