1 <?xml version="1.0" encoding="UTF-8"?>
2 <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">
3 <modelVersion>4.0.0</modelVersion>
5 <groupId>org.opendaylight.ovsdb</groupId>
6 <artifactId>commons</artifactId>
7 <version>1.3.0-SNAPSHOT</version>
8 <relativePath>../../commons/parent/</relativePath>
10 <artifactId>distribution-karaf</artifactId>
11 <groupId>org.opendaylight.ovsdb</groupId>
12 <name>OpenDaylight OVSDB Karaf Distribution</name>
13 <packaging>pom</packaging>
18 <branding.version>1.1.0-SNAPSHOT</branding.version>
19 <karaf.resources.version>1.5.0-SNAPSHOT</karaf.resources.version>
20 <karaf.version>3.0.1</karaf.version>
21 <karaf.branding.version>1.1.0-SNAPSHOT</karaf.branding.version>
22 <feature.ovsdb.version>1.1.0-SNAPSHOT</feature.ovsdb.version>
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>
43 <groupId>org.opendaylight.controller</groupId>
44 <artifactId>karaf.branding</artifactId>
45 <version>${branding.version}</version>
46 <scope>compile</scope>
49 <!-- ODL Resources needed for karaf -->
51 <groupId>org.opendaylight.controller</groupId>
52 <artifactId>opendaylight-karaf-resources</artifactId>
53 <version>${karaf.resources.version}</version>
56 <!-- Other ODL features needed -->
58 <groupId>org.opendaylight.integration</groupId>
59 <artifactId>features-integration-index</artifactId>
60 <version>0.3.0-SNAPSHOT</version>
61 <classifier>features</classifier>
63 <scope>runtime</scope>
71 <groupId>org.eclipse.m2e</groupId>
72 <artifactId>lifecycle-mapping</artifactId>
73 <version>1.0.0</version>
75 <lifecycleMappingMetadata>
78 <pluginExecutionFilter>
79 <groupId>org.apache.felix</groupId>
80 <artifactId>maven-bundle-plugin</artifactId>
81 <versionRange>[0,)</versionRange>
83 <goal>cleanVersions</goal>
85 </pluginExecutionFilter>
91 <pluginExecutionFilter>
92 <groupId>org.apache.maven.plugins</groupId>
93 <artifactId>maven-dependency-plugin</artifactId>
94 <versionRange>[0,)</versionRange>
99 </pluginExecutionFilter>
105 <pluginExecutionFilter>
106 <groupId>org.apache.karaf.tooling</groupId>
107 <artifactId>karaf-maven-plugin</artifactId>
108 <versionRange>[0,)</versionRange>
110 <goal>commands-generate-help</goal>
112 </pluginExecutionFilter>
118 <pluginExecutionFilter>
119 <groupId>org.fusesource.scalate</groupId>
120 <artifactId>maven-scalate-plugin</artifactId>
121 <versionRange>[0,)</versionRange>
125 </pluginExecutionFilter>
131 <pluginExecutionFilter>
132 <groupId>org.apache.servicemix.tooling</groupId>
133 <artifactId>depends-maven-plugin</artifactId>
134 <versionRange>[0,)</versionRange>
136 <goal>generate-depends-file</goal>
138 </pluginExecutionFilter>
144 </lifecycleMappingMetadata>
151 <groupId>org.apache.karaf.tooling</groupId>
152 <artifactId>karaf-maven-plugin</artifactId>
153 <version>${karaf.version}</version>
154 <extensions>true</extensions>
157 <id>process-resources</id>
159 <goal>install-kars</goal>
161 <phase>process-resources</phase>
166 <goal>instance-create-archive</goal>
172 <groupId>org.apache.maven.plugins</groupId>
173 <artifactId>maven-dependency-plugin</artifactId>
174 <version>2.8</version>
181 <phase>generate-resources</phase>
185 <groupId>org.opendaylight.controller</groupId>
186 <artifactId>karaf.branding</artifactId>
187 <version>${karaf.branding.version}</version>
188 <outputDirectory>target/assembly/lib</outputDirectory>
189 <destFileName>karaf.branding-${branding.version}.jar</destFileName>
195 <id>unpack-karaf-resources</id>
197 <goal>unpack-dependencies</goal>
199 <phase>prepare-package</phase>
201 <outputDirectory>${project.build.directory}/assembly</outputDirectory>
202 <includeArtifactIds>opendaylight-karaf-resources</includeArtifactIds>
203 <excludes>META-INF\/**</excludes>
204 <excludeTransitive>true</excludeTransitive>
205 <ignorePermissions>false</ignorePermissions>
211 <groupId>org.apache.maven.plugins</groupId>
212 <artifactId>maven-antrun-plugin</artifactId>
215 <phase>prepare-package</phase>
222 <fileset dir="${project.build.directory}/assembly/bin">
223 <include name="karaf" />
224 <include name="instance" />
225 <include name="start" />
226 <include name="stop" />
227 <include name="status" />
228 <include name="client" />
229 <include name="shell" />
240 <connection>scm:git:ssh://git.opendaylight.org:29418/.git</connection>
241 <developerConnection>scm:git:ssh://git.opendaylight.org:29418/oovsdbvsdb.git</developerConnection>
243 <url>https://git.opendaylight.org/gerrit/gitweb?p=ovsdb.git;a=summary</url>