1 <?xml version="1.0" encoding="UTF-8"?>
3 Copyright (c) 2014 Cisco Systems, Inc. and others. All rights reserved.
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
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>
12 <groupId>org.opendaylight.lispflowmapping</groupId>
13 <artifactId>lispflowmapping-all</artifactId>
14 <version>1.3.0-SNAPSHOT</version>
16 <artifactId>features-lispflowmapping</artifactId>
17 <packaging>jar</packaging>
18 <name>LISP Flow Mapping Project - Karaf Features</name>
23 <commons.opendaylight.version>1.6.0-SNAPSHOT</commons.opendaylight.version>
24 <configfile.directory>etc/opendaylight/karaf</configfile.directory>
25 <features.file>features.xml</features.file>
26 <mdsal.version>1.3.0-SNAPSHOT</mdsal.version>
27 <yangtools.version>0.8.0-SNAPSHOT</yangtools.version>
29 <dependencyManagement>
31 <!-- project specific dependencies -->
33 <groupId>org.opendaylight.controller</groupId>
34 <artifactId>mdsal-artifacts</artifactId>
35 <version>${mdsal.version}</version>
40 </dependencyManagement>
43 <groupId>org.opendaylight.controller</groupId>
44 <artifactId>features-base</artifactId>
45 <version>${commons.opendaylight.version}</version>
46 <classifier>features</classifier>
50 <groupId>org.opendaylight.controller</groupId>
51 <artifactId>features-netconf-connector</artifactId>
52 <classifier>features</classifier>
56 <groupId>org.opendaylight.controller</groupId>
57 <artifactId>features-nsf</artifactId>
58 <classifier>features</classifier>
62 <groupId>org.opendaylight.controller</groupId>
63 <artifactId>features-mdsal</artifactId>
64 <classifier>features</classifier>
66 <scope>runtime</scope>
69 <groupId>org.opendaylight.controller</groupId>
70 <artifactId>features-restconf</artifactId>
71 <classifier>features</classifier>
73 <scope>runtime</scope>
76 <groupId>org.opendaylight.yangtools</groupId>
77 <artifactId>features-yangtools</artifactId>
78 <version>${yangtools.version}</version>
79 <classifier>features</classifier>
81 <scope>runtime</scope>
84 <groupId>${project.groupId}</groupId>
85 <artifactId>mappingservice.implementation</artifactId>
86 <version>${project.version}</version>
89 <groupId>${project.groupId}</groupId>
90 <artifactId>mappingservice.implementation</artifactId>
91 <version>${project.version}</version>
92 <classifier>config</classifier>
96 <groupId>${project.groupId}</groupId>
97 <artifactId>mappingservice.southbound</artifactId>
98 <version>${project.version}</version>
101 <groupId>${project.groupId}</groupId>
102 <artifactId>mappingservice.southbound</artifactId>
103 <version>${project.version}</version>
104 <classifier>config</classifier>
108 <groupId>org.opendaylight.lispflowmapping</groupId>
109 <artifactId>mappingservice.api</artifactId>
112 <groupId>org.opendaylight.lispflowmapping</groupId>
113 <artifactId>mappingservice.clusterdao</artifactId>
116 <groupId>org.opendaylight.lispflowmapping</groupId>
117 <artifactId>mappingservice.config</artifactId>
120 <groupId>org.opendaylight.lispflowmapping</groupId>
121 <artifactId>mappingservice.netconf</artifactId>
124 <groupId>org.opendaylight.lispflowmapping</groupId>
125 <artifactId>mappingservice.neutron</artifactId>
128 <groupId>org.opendaylight.lispflowmapping</groupId>
129 <artifactId>mappingservice.shell</artifactId>
132 <groupId>org.opendaylight.lispflowmapping</groupId>
133 <artifactId>mappingservice.yangmodel</artifactId>
136 <groupId>org.opendaylight.neutron</groupId>
137 <artifactId>features-neutron</artifactId>
138 <classifier>features</classifier>
141 <!-- error : java.lang.NoSuchMethodError: org.slf4j.helpers.MessageFormatter.format(Ljava/lang/String;Ljava/lang/Object;Ljava/lang/Object;)Lorg/slf4j/helpers/FormattingTuple; -->
143 <groupId>org.slf4j</groupId>
144 <artifactId>slf4j-simple</artifactId>
146 <!-- test to validate features.xml -->
148 <groupId>org.opendaylight.odlparent</groupId>
149 <artifactId>features-test</artifactId>
150 <version>1.6.0-SNAPSHOT</version>
154 <groupId>junit</groupId>
155 <artifactId>junit-dep</artifactId>
156 <version>${junit.version}</version>
159 <!-- dependency for opendaylight-karaf-empty for use by testing -->
161 <groupId>org.opendaylight.controller</groupId>
162 <artifactId>opendaylight-karaf-empty</artifactId>
170 <filtering>true</filtering>
171 <directory>src/main/resources</directory>
176 <groupId>org.apache.maven.plugins</groupId>
177 <artifactId>maven-resources-plugin</artifactId>
182 <goal>resources</goal>
184 <phase>generate-resources</phase>
189 <groupId>org.apache.maven.plugins</groupId>
190 <artifactId>maven-surefire-plugin</artifactId>
192 <systemPropertyVariables>
193 <karaf.distro.groupId>org.opendaylight.controller</karaf.distro.groupId>
194 <karaf.distro.artifactId>opendaylight-karaf-empty</karaf.distro.artifactId>
195 <karaf.distro.version>${karaf.empty.version}</karaf.distro.version>
196 </systemPropertyVariables>
198 <dependency>org.opendaylight.odlparent:features-test</dependency>
199 </dependenciesToScan>
203 <groupId>org.codehaus.mojo</groupId>
204 <artifactId>build-helper-maven-plugin</artifactId>
207 <id>attach-artifacts</id>
209 <goal>attach-artifact</goal>
211 <phase>package</phase>
215 <file>${project.build.directory}/classes/${features.file}</file>
217 <classifier>features</classifier>