1 <?xml version="1.0" encoding="UTF-8"?>
\r
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">
\r
3 <modelVersion>4.0.0</modelVersion>
\r
5 <artifactId>packetcable</artifactId>
\r
6 <groupId>org.opendaylight.packetcable</groupId>
\r
7 <version>1.3.0-SNAPSHOT</version>
\r
9 <artifactId>packetcable-karaf</artifactId>
\r
10 <packaging>pom</packaging>
\r
15 <!-- Optional TODO: Move these properties to your parent pom and possibly
\r
16 DependencyManagement section of your parent pom -->
\r
17 <branding.version>1.2.0-SNAPSHOT</branding.version>
\r
18 <karaf.resources.version>1.6.0-SNAPSHOT</karaf.resources.version>
\r
22 <!-- Basic Karaf dependencies -->
\r
24 <groupId>org.apache.karaf.features</groupId>
\r
25 <artifactId>framework</artifactId>
\r
26 <version>${karaf.version}</version>
\r
30 <groupId>org.apache.karaf.features</groupId>
\r
31 <artifactId>standard</artifactId>
\r
32 <version>${karaf.version}</version>
\r
33 <classifier>features</classifier>
\r
35 <scope>runtime</scope>
\r
38 <!-- ODL Branding -->
\r
40 <groupId>org.opendaylight.controller</groupId>
\r
41 <artifactId>karaf.branding</artifactId>
\r
42 <version>${branding.version}</version>
\r
43 <scope>compile</scope>
\r
46 <!-- ODL Resources needed for karaf -->
\r
48 <groupId>org.opendaylight.controller</groupId>
\r
49 <artifactId>opendaylight-karaf-resources</artifactId>
\r
50 <version>${karaf.resources.version}</version>
\r
53 <!-- Project local feautures -->
\r
55 Necessary TODO put your features here.
\r
57 Note: they will need to be <type>xml</xml>
\r
58 and <classifier>features</classifier>.
\r
60 Note: they must be <scope>runtime</scope>
\r
62 Note: usually you would only need to depend
\r
63 on your own feature file here for your local distro,
\r
64 and possible the features-mdsal for odl-restconf
\r
65 (although, strange situations do exist :) )
\r
69 <groupId>org.opendaylight.controller</groupId>
\r
70 <artifactId>features-mdsal</artifactId>
\r
71 <classifier>features</classifier>
\r
73 <scope>runtime</scope>
\r
76 <groupId>org.opendaylight.openflowplugin</groupId>
\r
77 <artifactId>features-openflowplugin</artifactId>
\r
78 <version>0.2.0-SNAPSHOT</version>
\r
79 <classifier>features</classifier>
\r
81 <scope>runtime</scope>
\r
85 <groupId>org.opendaylight.controller</groupId>
\r
86 <artifactId>features-mdsal</artifactId>
\r
87 <classifier>features</classifier>
\r
88 <version>${project.version}</version>
\r
90 <scope>runtime</scope>
\r
93 <groupId>org.opendaylight.packetcable</groupId>
\r
94 <artifactId>features-packetcable</artifactId>
\r
95 <classifier>features</classifier>
\r
96 <version>${project.version}</version>
\r
98 <scope>runtime</scope>
\r
106 <groupId>org.eclipse.m2e</groupId>
\r
107 <artifactId>lifecycle-mapping</artifactId>
\r
108 <version>1.0.0</version>
\r
110 <lifecycleMappingMetadata>
\r
113 <pluginExecutionFilter>
\r
114 <groupId>org.apache.felix</groupId>
\r
115 <artifactId>maven-bundle-plugin</artifactId>
\r
116 <versionRange>[0,)</versionRange>
\r
118 <goal>cleanVersions</goal>
\r
120 </pluginExecutionFilter>
\r
126 <pluginExecutionFilter>
\r
127 <groupId>org.apache.maven.plugins</groupId>
\r
128 <artifactId>maven-dependency-plugin</artifactId>
\r
129 <versionRange>[0,)</versionRange>
\r
132 <goal>unpack</goal>
\r
134 </pluginExecutionFilter>
\r
140 <pluginExecutionFilter>
\r
141 <groupId>org.apache.karaf.tooling</groupId>
\r
142 <artifactId>karaf-maven-plugin</artifactId>
\r
143 <versionRange>[0,)</versionRange>
\r
145 <goal>commands-generate-help</goal>
\r
147 </pluginExecutionFilter>
\r
153 <pluginExecutionFilter>
\r
154 <groupId>org.fusesource.scalate</groupId>
\r
155 <artifactId>maven-scalate-plugin</artifactId>
\r
156 <versionRange>[0,)</versionRange>
\r
158 <goal>sitegen</goal>
\r
160 </pluginExecutionFilter>
\r
166 <pluginExecutionFilter>
\r
167 <groupId>org.apache.servicemix.tooling</groupId>
\r
168 <artifactId>depends-maven-plugin</artifactId>
\r
169 <versionRange>[0,)</versionRange>
\r
171 <goal>generate-depends-file</goal>
\r
173 </pluginExecutionFilter>
\r
178 </pluginExecutions>
\r
179 </lifecycleMappingMetadata>
\r
183 </pluginManagement>
\r
186 <groupId>org.apache.karaf.tooling</groupId>
\r
187 <artifactId>karaf-maven-plugin</artifactId>
\r
188 <extensions>true</extensions>
\r
191 <feature>standard</feature>
\r
192 <feature>odl-mdsal-apidocs</feature>
\r
193 <feature>odl-packetcable-provider</feature>
\r
195 Optional TODO: Add entries here for the features you want in your local distro
\r
196 Note: odl-restconf is a separate feature from odl-mdsal-broker. If you want
\r
197 restconf, you need to list it here explicitely.
\r
199 <feature>odl-openflowplugin-flow-services</feature>
\r
200 <feature>odl-restconf</feature>
\r
202 <!-- Final TODO: Remove TODO Comments ;) -->
\r
207 <id>process-resources</id>
\r
209 <goal>install-kars</goal>
\r
211 <phase>process-resources</phase>
\r
216 <goal>instance-create-archive</goal>
\r
222 <groupId>org.apache.maven.plugins</groupId>
\r
223 <artifactId>maven-dependency-plugin</artifactId>
\r
224 <version>2.6</version>
\r
231 <phase>generate-resources</phase>
\r
235 <groupId>org.opendaylight.controller</groupId>
\r
236 <artifactId>karaf.branding</artifactId>
\r
237 <version>${karaf.branding.version}</version>
\r
238 <outputDirectory>target/assembly/lib</outputDirectory>
\r
239 <destFileName>karaf.branding-${branding.version}.jar</destFileName>
\r
245 <id>unpack-karaf-resources</id>
\r
247 <goal>unpack-dependencies</goal>
\r
249 <phase>prepare-package</phase>
\r
251 <outputDirectory>${project.build.directory}/assembly</outputDirectory>
\r
252 <groupId>org.opendaylight.controller</groupId>
\r
253 <includeArtifactIds>opendaylight-karaf-resources</includeArtifactIds>
\r
254 <excludes>META-INF\/**</excludes>
\r
255 <excludeTransitive>true</excludeTransitive>
\r
256 <ignorePermissions>false</ignorePermissions>
\r
262 <groupId>org.apache.maven.plugins</groupId>
\r
263 <artifactId>maven-antrun-plugin</artifactId>
\r
266 <phase>prepare-package</phase>
\r
273 <fileset dir="${project.build.directory}/assembly/bin">
\r
274 <include name="karaf" />
\r
275 <include name="instance" />
\r
276 <include name="start" />
\r
277 <include name="stop" />
\r
278 <include name="status" />
\r
279 <include name="client" />
\r
280 <include name="shell" />
\r
291 <connection>scm:git:ssh://git.opendaylight.org:29418/packetcable.git</connection>
\r
292 <developerConnection>scm:git:ssh://git.opendaylight.org:29418/packetcable.git</developerConnection>
\r
294 <url>https://git.opendaylight.org/gerrit/gitweb?p=packetcable.git;a=summary</url>
\r