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>karaf.branding</artifactId>
28 <scope>compile</scope>
30 <!-- scope is runtime so the feature repo is listed in the features
31 service config file, and features may be installed using the
32 karaf-maven-plugin configuration -->
34 <groupId>org.apache.karaf.features</groupId>
35 <artifactId>standard</artifactId>
36 <version>${karaf.version}</version>
37 <classifier>features</classifier>
39 <scope>runtime</scope>
41 <!-- scope is compile so all features (there is only one) are installed
42 into startup.properties and the feature repo itself is not installed -->
44 <groupId>org.opendaylight.controller</groupId>
45 <artifactId>base-features</artifactId>
46 <version>${project.version}</version>
48 <scope>runtime</scope>
51 <groupId>org.opendaylight.controller</groupId>
52 <artifactId>config-features</artifactId>
53 <version>${config.version}</version>
54 <classifier>features</classifier>
56 <scope>runtime</scope>
59 <groupId>org.opendaylight.controller</groupId>
60 <artifactId>base-features</artifactId>
61 <version>${project.version}</version>
62 <classifier>features</classifier>
64 <scope>runtime</scope>
67 <groupId>org.opendaylight.controller</groupId>
68 <artifactId>controller-features</artifactId>
69 <version>${project.version}</version>
70 <classifier>features</classifier>
72 <scope>runtime</scope>
76 <groupId>org.opendaylight.controller</groupId>
77 <artifactId>mdsal-features</artifactId>
78 <version>${mdsal.version}</version>
79 <classifier>features</classifier>
81 <scope>runtime</scope>
84 <groupId>org.opendaylight.yangtools</groupId>
85 <artifactId>features-file</artifactId>
86 <version>${yangtools.version}</version>
87 <classifier>features</classifier>
89 <scope>runtime</scope>
97 <groupId>org.eclipse.m2e</groupId>
98 <artifactId>lifecycle-mapping</artifactId>
99 <version>1.0.0</version>
101 <lifecycleMappingMetadata>
104 <pluginExecutionFilter>
105 <groupId>org.apache.felix</groupId>
106 <artifactId>maven-bundle-plugin</artifactId>
107 <versionRange>[0,)</versionRange>
109 <goal>cleanVersions</goal>
111 </pluginExecutionFilter>
117 <pluginExecutionFilter>
118 <groupId>org.apache.maven.plugins</groupId>
119 <artifactId>maven-dependency-plugin</artifactId>
120 <versionRange>[0,)</versionRange>
125 </pluginExecutionFilter>
131 <pluginExecutionFilter>
132 <groupId>org.apache.karaf.tooling</groupId>
133 <artifactId>karaf-maven-plugin</artifactId>
134 <versionRange>[0,)</versionRange>
136 <goal>commands-generate-help</goal>
138 </pluginExecutionFilter>
144 <pluginExecutionFilter>
145 <groupId>org.fusesource.scalate</groupId>
146 <artifactId>maven-scalate-plugin</artifactId>
147 <versionRange>[0,)</versionRange>
151 </pluginExecutionFilter>
157 <pluginExecutionFilter>
158 <groupId>org.apache.servicemix.tooling</groupId>
159 <artifactId>depends-maven-plugin</artifactId>
160 <versionRange>[0,)</versionRange>
162 <goal>generate-depends-file</goal>
164 </pluginExecutionFilter>
170 </lifecycleMappingMetadata>
177 <groupId>org.apache.karaf.tooling</groupId>
178 <artifactId>karaf-maven-plugin</artifactId>
179 <version>${karaf.version}</version>
180 <extensions>true</extensions>
182 <!-- no startupFeatures -->
184 <feature>standard</feature>
186 <!-- no installedFeatures -->
190 <id>process-resources</id>
192 <goal>install-kars</goal>
194 <phase>process-resources</phase>
199 <goal>instance-create-archive</goal>
205 <groupId>org.apache.maven.plugins</groupId>
206 <artifactId>maven-checkstyle-plugin</artifactId>
207 <version>${checkstyle.version}</version>
209 <excludes>**\/target\/,**\/bin\/,**\/target-ide\/,**\/configuration\/initial\/</excludes>
213 <groupId>org.apache.maven.plugins</groupId>
214 <artifactId>maven-dependency-plugin</artifactId>
215 <version>2.6</version>
222 <!-- here the phase you need -->
223 <phase>generate-resources</phase>
227 <groupId>org.opendaylight.controller</groupId>
228 <artifactId>karaf.branding</artifactId>
229 <version>${karaf.branding.version}</version>
230 <outputDirectory>target/assembly/lib</outputDirectory>
231 <destFileName>karaf.branding-${branding.version}.jar</destFileName>
241 <connection>scm:git:ssh://git.opendaylight.org:29418/controller.git</connection>
242 <developerConnection>scm:git:ssh://git.opendaylight.org:29418/controller.git</developerConnection>
244 <url>https://wiki.opendaylight.org/view/OpenDaylight_Controller:Main</url>