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-commons</artifactId>
14 <version>1.2.0-SNAPSHOT</version>
15 <relativePath>../commons/parent</relativePath>
17 <artifactId>distribution-karaf</artifactId>
18 <name>LISP Flow Mapping Project - Karaf Distribution</name>
19 <groupId>org.opendaylight.lispflowmapping</groupId>
20 <packaging>pom</packaging>
26 <!-- Basic Karaf dependencies -->
28 <groupId>org.apache.karaf.features</groupId>
29 <artifactId>framework</artifactId>
30 <version>${karaf.version}</version>
34 <groupId>org.apache.karaf.features</groupId>
35 <artifactId>standard</artifactId>
36 <version>${karaf.version}</version>
37 <classifier>features</classifier>
39 <scope>runtime</scope>
44 <groupId>org.opendaylight.controller</groupId>
45 <artifactId>karaf.branding</artifactId>
46 <version>${branding.version}</version>
47 <scope>compile</scope>
50 <!-- ODL Resources needed for karaf -->
52 <groupId>org.opendaylight.controller</groupId>
53 <artifactId>opendaylight-karaf-resources</artifactId>
54 <version>${karaf.resources.version}</version>
57 <!-- Project local feautures -->
60 <groupId>org.opendaylight.controller</groupId>
61 <artifactId>features-mdsal</artifactId>
62 <classifier>features</classifier>
64 <scope>runtime</scope>
68 <groupId>org.opendaylight.lispflowmapping</groupId>
69 <artifactId>features-lispflowmapping</artifactId>
70 <version>${lispflowmapping.version}</version>
71 <classifier>features</classifier>
73 <scope>runtime</scope>
81 <groupId>org.eclipse.m2e</groupId>
82 <artifactId>lifecycle-mapping</artifactId>
83 <version>1.0.0</version>
85 <lifecycleMappingMetadata>
88 <pluginExecutionFilter>
89 <groupId>org.apache.felix</groupId>
90 <artifactId>maven-bundle-plugin</artifactId>
91 <versionRange>[0,)</versionRange>
93 <goal>cleanVersions</goal>
95 </pluginExecutionFilter>
101 <pluginExecutionFilter>
102 <groupId>org.apache.maven.plugins</groupId>
103 <artifactId>maven-dependency-plugin</artifactId>
104 <versionRange>[0,)</versionRange>
109 </pluginExecutionFilter>
115 <pluginExecutionFilter>
116 <groupId>org.apache.karaf.tooling</groupId>
117 <artifactId>karaf-maven-plugin</artifactId>
118 <versionRange>[0,)</versionRange>
120 <goal>commands-generate-help</goal>
122 </pluginExecutionFilter>
128 <pluginExecutionFilter>
129 <groupId>org.fusesource.scalate</groupId>
130 <artifactId>maven-scalate-plugin</artifactId>
131 <versionRange>[0,)</versionRange>
135 </pluginExecutionFilter>
141 <pluginExecutionFilter>
142 <groupId>org.apache.servicemix.tooling</groupId>
143 <artifactId>depends-maven-plugin</artifactId>
144 <versionRange>[0,)</versionRange>
146 <goal>generate-depends-file</goal>
148 </pluginExecutionFilter>
154 </lifecycleMappingMetadata>
161 <groupId>org.apache.karaf.tooling</groupId>
162 <artifactId>karaf-maven-plugin</artifactId>
163 <version>${karaf.version}</version>
164 <extensions>true</extensions>
167 <feature>standard</feature>
168 <feature>odl-restconf</feature>
169 <feature>odl-lispflowmapping-all</feature>
174 <id>process-resources</id>
176 <goal>install-kars</goal>
178 <phase>process-resources</phase>
183 <goal>instance-create-archive</goal>
189 <groupId>org.apache.maven.plugins</groupId>
190 <artifactId>maven-dependency-plugin</artifactId>
191 <version>2.6</version>
198 <phase>generate-resources</phase>
202 <groupId>org.opendaylight.controller</groupId>
203 <artifactId>karaf.branding</artifactId>
204 <version>${karaf.branding.version}</version>
205 <outputDirectory>target/assembly/lib</outputDirectory>
206 <destFileName>karaf.branding-${branding.version}.jar</destFileName>
212 <id>unpack-karaf-resources</id>
214 <goal>unpack-dependencies</goal>
216 <phase>prepare-package</phase>
218 <outputDirectory>${project.build.directory}/assembly</outputDirectory>
219 <groupId>org.opendaylight.controller</groupId>
220 <includeArtifactIds>opendaylight-karaf-resources</includeArtifactIds>
221 <excludes>META-INF\/**</excludes>
222 <excludeTransitive>true</excludeTransitive>
223 <ignorePermissions>false</ignorePermissions>
229 <groupId>org.apache.maven.plugins</groupId>
230 <artifactId>maven-antrun-plugin</artifactId>
233 <phase>prepare-package</phase>
240 <fileset dir="${project.build.directory}/assembly/bin">
241 <include name="karaf" />
242 <include name="instance" />
243 <include name="start" />
244 <include name="stop" />
245 <include name="status" />
246 <include name="client" />
247 <include name="shell" />
258 <connection>scm:git:https://git.opendaylight.org/gerrit/p/lispflowmapping.git</connection>
259 <developerConnection>scm:git:ssh://git.opendaylight.org:29418/lispflowmapping.git</developerConnection>
261 <url>https://git.opendaylight.org/gerrit/gitweb?p=lispflowmapping.git;a=summary</url>