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>
36 <!-- Basic Karaf dependencies -->
38 <groupId>org.apache.karaf.features</groupId>
39 <artifactId>framework</artifactId>
40 <version>${karaf.version}</version>
44 <groupId>org.apache.karaf.features</groupId>
45 <artifactId>standard</artifactId>
46 <version>${karaf.version}</version>
47 <classifier>features</classifier>
53 <groupId>org.opendaylight.controller</groupId>
54 <artifactId>karaf.branding</artifactId>
55 <version>${branding.version}</version>
56 <scope>compile</scope>
59 <!-- ODL Resources needed for karaf -->
61 <groupId>org.opendaylight.controller</groupId>
62 <artifactId>opendaylight-karaf-resources</artifactId>
63 <version>${karaf.resources.version}</version>
66 <!-- Other ODL features needed -->
68 <groupId>org.opendaylight.integration</groupId>
69 <artifactId>features-integration-index</artifactId>
70 <version>0.3.0-SNAPSHOT</version>
71 <classifier>features</classifier>
73 <scope>runtime</scope>
76 <groupId>org.opendaylight.ovsdb</groupId>
77 <artifactId>features-ovsdb</artifactId>
85 <groupId>org.eclipse.m2e</groupId>
86 <artifactId>lifecycle-mapping</artifactId>
87 <version>1.0.0</version>
89 <lifecycleMappingMetadata>
92 <pluginExecutionFilter>
93 <groupId>org.apache.felix</groupId>
94 <artifactId>maven-bundle-plugin</artifactId>
95 <versionRange>[0,)</versionRange>
97 <goal>cleanVersions</goal>
99 </pluginExecutionFilter>
105 <pluginExecutionFilter>
106 <groupId>org.apache.maven.plugins</groupId>
107 <artifactId>maven-dependency-plugin</artifactId>
108 <versionRange>[0,)</versionRange>
113 </pluginExecutionFilter>
119 <pluginExecutionFilter>
120 <groupId>org.apache.karaf.tooling</groupId>
121 <artifactId>karaf-maven-plugin</artifactId>
122 <versionRange>[0,)</versionRange>
124 <goal>commands-generate-help</goal>
126 </pluginExecutionFilter>
132 <pluginExecutionFilter>
133 <groupId>org.fusesource.scalate</groupId>
134 <artifactId>maven-scalate-plugin</artifactId>
135 <versionRange>[0,)</versionRange>
139 </pluginExecutionFilter>
145 <pluginExecutionFilter>
146 <groupId>org.apache.servicemix.tooling</groupId>
147 <artifactId>depends-maven-plugin</artifactId>
148 <versionRange>[0,)</versionRange>
150 <goal>generate-depends-file</goal>
152 </pluginExecutionFilter>
158 </lifecycleMappingMetadata>
165 <groupId>org.apache.karaf.tooling</groupId>
166 <artifactId>karaf-maven-plugin</artifactId>
167 <version>${karaf.version}</version>
168 <extensions>true</extensions>
171 <id>process-resources</id>
173 <goal>install-kars</goal>
175 <phase>process-resources</phase>
180 <goal>instance-create-archive</goal>
186 <groupId>org.apache.maven.plugins</groupId>
187 <artifactId>maven-dependency-plugin</artifactId>
188 <version>2.8</version>
195 <phase>generate-resources</phase>
199 <groupId>org.opendaylight.controller</groupId>
200 <artifactId>karaf.branding</artifactId>
201 <version>${karaf.branding.version}</version>
202 <outputDirectory>target/assembly/lib</outputDirectory>
203 <destFileName>karaf.branding-${branding.version}.jar</destFileName>
209 <id>unpack-karaf-resources</id>
211 <goal>unpack-dependencies</goal>
213 <phase>prepare-package</phase>
215 <outputDirectory>${project.build.directory}/assembly</outputDirectory>
216 <includeArtifactIds>opendaylight-karaf-resources</includeArtifactIds>
217 <excludes>META-INF\/**</excludes>
218 <excludeTransitive>true</excludeTransitive>
219 <ignorePermissions>false</ignorePermissions>
225 <groupId>org.apache.maven.plugins</groupId>
226 <artifactId>maven-antrun-plugin</artifactId>
229 <phase>prepare-package</phase>
236 <fileset dir="${project.build.directory}/assembly/bin">
237 <include name="karaf" />
238 <include name="instance" />
239 <include name="start" />
240 <include name="stop" />
241 <include name="status" />
242 <include name="client" />
243 <include name="shell" />
254 <connection>scm:git:ssh://git.opendaylight.org:29418/.git</connection>
255 <developerConnection>scm:git:ssh://git.opendaylight.org:29418/oovsdbvsdb.git</developerConnection>
257 <url>https://git.opendaylight.org/gerrit/gitweb?p=ovsdb.git;a=summary</url>