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>features-odl-protocol-framework</artifactId>
67 <version>${protocol-framework.version}</version>
68 <classifier>features</classifier>
70 <scope>runtime</scope>
73 <groupId>org.opendaylight.controller</groupId>
74 <artifactId>netconf-features</artifactId>
75 <version>${netconf.version}</version>
76 <classifier>features</classifier>
78 <scope>runtime</scope>
81 <groupId>org.opendaylight.controller</groupId>
82 <artifactId>config-features</artifactId>
83 <version>${config.version}</version>
84 <classifier>features</classifier>
86 <scope>runtime</scope>
89 <groupId>org.opendaylight.controller</groupId>
90 <artifactId>features-adsal</artifactId>
91 <version>${sal.version}</version>
92 <classifier>features</classifier>
94 <scope>runtime</scope>
97 <groupId>org.opendaylight.controller</groupId>
98 <artifactId>mdsal-features</artifactId>
99 <version>${mdsal.version}</version>
100 <classifier>features</classifier>
102 <scope>runtime</scope>
110 <groupId>org.eclipse.m2e</groupId>
111 <artifactId>lifecycle-mapping</artifactId>
112 <version>1.0.0</version>
114 <lifecycleMappingMetadata>
117 <pluginExecutionFilter>
118 <groupId>org.apache.felix</groupId>
119 <artifactId>maven-bundle-plugin</artifactId>
120 <versionRange>[0,)</versionRange>
122 <goal>cleanVersions</goal>
124 </pluginExecutionFilter>
130 <pluginExecutionFilter>
131 <groupId>org.apache.maven.plugins</groupId>
132 <artifactId>maven-dependency-plugin</artifactId>
133 <versionRange>[0,)</versionRange>
138 </pluginExecutionFilter>
144 <pluginExecutionFilter>
145 <groupId>org.apache.karaf.tooling</groupId>
146 <artifactId>karaf-maven-plugin</artifactId>
147 <versionRange>[0,)</versionRange>
149 <goal>commands-generate-help</goal>
151 </pluginExecutionFilter>
157 <pluginExecutionFilter>
158 <groupId>org.fusesource.scalate</groupId>
159 <artifactId>maven-scalate-plugin</artifactId>
160 <versionRange>[0,)</versionRange>
164 </pluginExecutionFilter>
170 <pluginExecutionFilter>
171 <groupId>org.apache.servicemix.tooling</groupId>
172 <artifactId>depends-maven-plugin</artifactId>
173 <versionRange>[0,)</versionRange>
175 <goal>generate-depends-file</goal>
177 </pluginExecutionFilter>
183 </lifecycleMappingMetadata>
190 <groupId>org.apache.karaf.tooling</groupId>
191 <artifactId>karaf-maven-plugin</artifactId>
192 <version>${karaf.version}</version>
193 <extensions>true</extensions>
195 <!-- no startupFeatures -->
197 <feature>standard</feature>
199 <!-- no installedFeatures -->
203 <id>process-resources</id>
205 <goal>install-kars</goal>
207 <phase>process-resources</phase>
212 <goal>instance-create-archive</goal>
218 <groupId>org.apache.maven.plugins</groupId>
219 <artifactId>maven-checkstyle-plugin</artifactId>
220 <version>${checkstyle.version}</version>
222 <excludes>**\/target\/,**\/bin\/,**\/target-ide\/,**\/configuration\/initial\/</excludes>
226 <groupId>org.apache.maven.plugins</groupId>
227 <artifactId>maven-dependency-plugin</artifactId>
228 <version>2.6</version>
235 <!-- here the phase you need -->
236 <phase>generate-resources</phase>
240 <groupId>org.opendaylight.controller</groupId>
241 <artifactId>karaf.branding</artifactId>
242 <version>${karaf.branding.version}</version>
243 <outputDirectory>target/assembly/lib</outputDirectory>
244 <destFileName>karaf.branding-${branding.version}.jar</destFileName>
254 <connection>scm:git:ssh://git.opendaylight.org:29418/controller.git</connection>
255 <developerConnection>scm:git:ssh://git.opendaylight.org:29418/controller.git</developerConnection>
257 <url>https://wiki.opendaylight.org/view/OpenDaylight_Controller:Main</url>