1 <?xml version="1.0" encoding="UTF-8"?>
3 Copyright (C) 2014 Red Hat, 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"
10 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
11 xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
12 <modelVersion>4.0.0</modelVersion>
15 <groupId>org.opendaylight.ovsdb</groupId>
16 <artifactId>commons</artifactId>
17 <version>1.3.0-SNAPSHOT</version>
18 <relativePath>../../commons/parent/</relativePath>
21 <artifactId>distribution-karaf</artifactId>
22 <groupId>org.opendaylight.ovsdb</groupId>
23 <packaging>pom</packaging>
30 <branding.version>1.1.0-SNAPSHOT</branding.version>
31 <karaf.resources.version>1.5.0-SNAPSHOT</karaf.resources.version>
32 <karaf.branding.version>1.1.0-SNAPSHOT</karaf.branding.version>
33 <feature.ovsdb.version>1.1.0-SNAPSHOT</feature.ovsdb.version>
37 <!-- Basic Karaf dependencies -->
39 <groupId>org.apache.karaf.features</groupId>
40 <artifactId>framework</artifactId>
41 <version>${karaf.version}</version>
45 <groupId>org.apache.karaf.features</groupId>
46 <artifactId>standard</artifactId>
47 <version>${karaf.version}</version>
48 <classifier>features</classifier>
54 <groupId>org.opendaylight.controller</groupId>
55 <artifactId>karaf.branding</artifactId>
56 <version>${branding.version}</version>
57 <scope>compile</scope>
60 <!-- ODL Resources needed for karaf -->
62 <groupId>org.opendaylight.controller</groupId>
63 <artifactId>opendaylight-karaf-resources</artifactId>
64 <version>${karaf.resources.version}</version>
67 <!-- Other ODL features needed -->
69 <groupId>org.opendaylight.integration</groupId>
70 <artifactId>features-integration-index</artifactId>
71 <version>0.3.0-SNAPSHOT</version>
72 <classifier>features</classifier>
74 <scope>runtime</scope>
82 <groupId>org.eclipse.m2e</groupId>
83 <artifactId>lifecycle-mapping</artifactId>
84 <version>1.0.0</version>
86 <lifecycleMappingMetadata>
89 <pluginExecutionFilter>
90 <groupId>org.apache.felix</groupId>
91 <artifactId>maven-bundle-plugin</artifactId>
92 <versionRange>[0,)</versionRange>
94 <goal>cleanVersions</goal>
96 </pluginExecutionFilter>
102 <pluginExecutionFilter>
103 <groupId>org.apache.maven.plugins</groupId>
104 <artifactId>maven-dependency-plugin</artifactId>
105 <versionRange>[0,)</versionRange>
110 </pluginExecutionFilter>
116 <pluginExecutionFilter>
117 <groupId>org.apache.karaf.tooling</groupId>
118 <artifactId>karaf-maven-plugin</artifactId>
119 <versionRange>[0,)</versionRange>
121 <goal>commands-generate-help</goal>
123 </pluginExecutionFilter>
129 <pluginExecutionFilter>
130 <groupId>org.fusesource.scalate</groupId>
131 <artifactId>maven-scalate-plugin</artifactId>
132 <versionRange>[0,)</versionRange>
136 </pluginExecutionFilter>
142 <pluginExecutionFilter>
143 <groupId>org.apache.servicemix.tooling</groupId>
144 <artifactId>depends-maven-plugin</artifactId>
145 <versionRange>[0,)</versionRange>
147 <goal>generate-depends-file</goal>
149 </pluginExecutionFilter>
155 </lifecycleMappingMetadata>
162 <groupId>org.apache.karaf.tooling</groupId>
163 <artifactId>karaf-maven-plugin</artifactId>
164 <version>${karaf.version}</version>
165 <extensions>true</extensions>
168 <id>process-resources</id>
170 <goal>install-kars</goal>
172 <phase>process-resources</phase>
177 <goal>instance-create-archive</goal>
183 <groupId>org.apache.maven.plugins</groupId>
184 <artifactId>maven-dependency-plugin</artifactId>
185 <version>2.8</version>
192 <phase>generate-resources</phase>
196 <groupId>org.opendaylight.controller</groupId>
197 <artifactId>karaf.branding</artifactId>
198 <version>${karaf.branding.version}</version>
199 <outputDirectory>target/assembly/lib</outputDirectory>
200 <destFileName>karaf.branding-${branding.version}.jar</destFileName>
206 <id>unpack-karaf-resources</id>
208 <goal>unpack-dependencies</goal>
210 <phase>prepare-package</phase>
212 <outputDirectory>${project.build.directory}/assembly</outputDirectory>
213 <includeArtifactIds>opendaylight-karaf-resources</includeArtifactIds>
214 <excludes>META-INF\/**</excludes>
215 <excludeTransitive>true</excludeTransitive>
216 <ignorePermissions>false</ignorePermissions>
222 <groupId>org.apache.maven.plugins</groupId>
223 <artifactId>maven-antrun-plugin</artifactId>
226 <phase>prepare-package</phase>
233 <fileset dir="${project.build.directory}/assembly/bin">
234 <include name="karaf" />
235 <include name="instance" />
236 <include name="start" />
237 <include name="stop" />
238 <include name="status" />
239 <include name="client" />
240 <include name="shell" />
251 <connection>scm:git:ssh://git.opendaylight.org:29418/.git</connection>
252 <developerConnection>scm:git:ssh://git.opendaylight.org:29418/oovsdbvsdb.git</developerConnection>
254 <url>https://git.opendaylight.org/gerrit/gitweb?p=ovsdb.git;a=summary</url>