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.controller</groupId>
6 <artifactId>commons.opendaylight</artifactId>
7 <version>1.4.2-SNAPSHOT</version>
8 <relativePath>../../commons/opendaylight</relativePath>
10 <artifactId>distribution.opendaylight-karaf</artifactId>
11 <packaging>pom</packaging>
18 <!-- scope is compile so all features (there is only one) are installed
19 into startup.properties and the feature repo itself is not installed -->
20 <groupId>org.apache.karaf.features</groupId>
21 <artifactId>framework</artifactId>
22 <version>${karaf.version}</version>
26 <groupId>org.opendaylight.controller</groupId>
27 <artifactId>base-features</artifactId>
28 <version>${project.version}</version>
32 <groupId>org.opendaylight.controller</groupId>
33 <artifactId>karaf.branding</artifactId>
34 <scope>compile</scope>
36 <!-- scope is runtime so the feature repo is listed in the features
37 service config file, and features may be installed using the
38 karaf-maven-plugin configuration -->
40 <groupId>org.apache.karaf.features</groupId>
41 <artifactId>standard</artifactId>
42 <version>${karaf.version}</version>
43 <classifier>features</classifier>
45 <scope>runtime</scope>
48 <groupId>org.opendaylight.controller</groupId>
49 <artifactId>base-features</artifactId>
50 <version>${project.parent.version}</version>
51 <classifier>features</classifier>
53 <scope>runtime</scope>
55 <!-- scope is compile so all features (there is only one) are installed
56 into startup.properties and the feature repo itself is not installed -->
58 <groupId>org.opendaylight.controller</groupId>
59 <artifactId>extras-features</artifactId>
60 <version>${project.version}</version>
62 <scope>runtime</scope>
65 <groupId>org.opendaylight.controller</groupId>
66 <artifactId>config-netty-features</artifactId>
67 <version>${config.version}</version>
68 <classifier>features</classifier>
70 <scope>runtime</scope>
73 <!-- AD-SAL Related Features -->
75 <groupId>org.opendaylight.controller</groupId>
76 <artifactId>features-adsal</artifactId>
77 <version>${sal.version}</version>
78 <classifier>features</classifier>
80 <scope>runtime</scope>
83 <groupId>org.opendaylight.controller</groupId>
84 <artifactId>features-nsf</artifactId>
85 <version>${project.version}</version>
86 <classifier>features</classifier>
88 <scope>runtime</scope>
91 <!-- MD-SAL Related Features -->
93 <groupId>org.opendaylight.controller</groupId>
94 <artifactId>mdsal-features</artifactId>
95 <version>${mdsal.version}</version>
96 <classifier>features</classifier>
98 <scope>runtime</scope>
106 <groupId>org.eclipse.m2e</groupId>
107 <artifactId>lifecycle-mapping</artifactId>
108 <version>1.0.0</version>
110 <lifecycleMappingMetadata>
113 <pluginExecutionFilter>
114 <groupId>org.apache.felix</groupId>
115 <artifactId>maven-bundle-plugin</artifactId>
116 <versionRange>[0,)</versionRange>
118 <goal>cleanVersions</goal>
120 </pluginExecutionFilter>
126 <pluginExecutionFilter>
127 <groupId>org.apache.maven.plugins</groupId>
128 <artifactId>maven-dependency-plugin</artifactId>
129 <versionRange>[0,)</versionRange>
134 </pluginExecutionFilter>
140 <pluginExecutionFilter>
141 <groupId>org.apache.karaf.tooling</groupId>
142 <artifactId>karaf-maven-plugin</artifactId>
143 <versionRange>[0,)</versionRange>
145 <goal>commands-generate-help</goal>
147 </pluginExecutionFilter>
153 <pluginExecutionFilter>
154 <groupId>org.fusesource.scalate</groupId>
155 <artifactId>maven-scalate-plugin</artifactId>
156 <versionRange>[0,)</versionRange>
160 </pluginExecutionFilter>
166 <pluginExecutionFilter>
167 <groupId>org.apache.servicemix.tooling</groupId>
168 <artifactId>depends-maven-plugin</artifactId>
169 <versionRange>[0,)</versionRange>
171 <goal>generate-depends-file</goal>
173 </pluginExecutionFilter>
179 </lifecycleMappingMetadata>
186 <groupId>org.apache.karaf.tooling</groupId>
187 <artifactId>karaf-maven-plugin</artifactId>
188 <version>${karaf.version}</version>
189 <extensions>true</extensions>
191 <!-- no startupFeatures -->
193 <feature>standard</feature>
195 <!-- no installedFeatures -->
199 <id>process-resources</id>
201 <goal>install-kars</goal>
203 <phase>process-resources</phase>
208 <goal>instance-create-archive</goal>
214 <groupId>org.apache.maven.plugins</groupId>
215 <artifactId>maven-checkstyle-plugin</artifactId>
216 <version>${checkstyle.version}</version>
218 <excludes>**\/target\/,**\/bin\/,**\/target-ide\/,**\/configuration\/initial\/</excludes>
222 <groupId>org.apache.maven.plugins</groupId>
223 <artifactId>maven-dependency-plugin</artifactId>
224 <version>2.6</version>
231 <!-- here the phase you need -->
232 <phase>generate-resources</phase>
236 <groupId>org.opendaylight.controller</groupId>
237 <artifactId>karaf.branding</artifactId>
238 <version>${karaf.branding.version}</version>
239 <outputDirectory>target/assembly/lib</outputDirectory>
240 <destFileName>karaf.branding-${branding.version}.jar</destFileName>
248 <groupId>org.apache.maven.plugins</groupId>
249 <artifactId>maven-antrun-plugin</artifactId>
252 <phase>prepare-package</phase>
258 <copy todir="${project.build.directory}/assembly/bin" overwrite="true">
259 <fileset dir="${basedir}/src/main/resources/karaf/" includes="karaf,karaf.bat,instance,instance.bat"/>
269 <connection>scm:git:ssh://git.opendaylight.org:29418/controller.git</connection>
270 <developerConnection>scm:git:ssh://git.opendaylight.org:29418/controller.git</developerConnection>
272 <url>https://wiki.opendaylight.org/view/OpenDaylight_Controller:Main</url>