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-features</artifactId>
67 <version>${config.version}</version>
68 <classifier>features</classifier>
70 <scope>runtime</scope>
73 <groupId>org.opendaylight.controller</groupId>
74 <artifactId>features-adsal</artifactId>
75 <version>${sal.version}</version>
76 <classifier>features</classifier>
78 <scope>runtime</scope>
81 <groupId>org.opendaylight.controller</groupId>
82 <artifactId>mdsal-features</artifactId>
83 <version>${mdsal.version}</version>
84 <classifier>features</classifier>
86 <scope>runtime</scope>
89 <groupId>org.opendaylight.yangtools</groupId>
90 <artifactId>features-yangtools</artifactId>
91 <version>${yangtools.version}</version>
92 <classifier>features</classifier>
94 <scope>runtime</scope>
102 <groupId>org.eclipse.m2e</groupId>
103 <artifactId>lifecycle-mapping</artifactId>
104 <version>1.0.0</version>
106 <lifecycleMappingMetadata>
109 <pluginExecutionFilter>
110 <groupId>org.apache.felix</groupId>
111 <artifactId>maven-bundle-plugin</artifactId>
112 <versionRange>[0,)</versionRange>
114 <goal>cleanVersions</goal>
116 </pluginExecutionFilter>
122 <pluginExecutionFilter>
123 <groupId>org.apache.maven.plugins</groupId>
124 <artifactId>maven-dependency-plugin</artifactId>
125 <versionRange>[0,)</versionRange>
130 </pluginExecutionFilter>
136 <pluginExecutionFilter>
137 <groupId>org.apache.karaf.tooling</groupId>
138 <artifactId>karaf-maven-plugin</artifactId>
139 <versionRange>[0,)</versionRange>
141 <goal>commands-generate-help</goal>
143 </pluginExecutionFilter>
149 <pluginExecutionFilter>
150 <groupId>org.fusesource.scalate</groupId>
151 <artifactId>maven-scalate-plugin</artifactId>
152 <versionRange>[0,)</versionRange>
156 </pluginExecutionFilter>
162 <pluginExecutionFilter>
163 <groupId>org.apache.servicemix.tooling</groupId>
164 <artifactId>depends-maven-plugin</artifactId>
165 <versionRange>[0,)</versionRange>
167 <goal>generate-depends-file</goal>
169 </pluginExecutionFilter>
175 </lifecycleMappingMetadata>
182 <groupId>org.apache.karaf.tooling</groupId>
183 <artifactId>karaf-maven-plugin</artifactId>
184 <version>${karaf.version}</version>
185 <extensions>true</extensions>
187 <!-- no startupFeatures -->
189 <feature>standard</feature>
191 <!-- no installedFeatures -->
195 <id>process-resources</id>
197 <goal>install-kars</goal>
199 <phase>process-resources</phase>
204 <goal>instance-create-archive</goal>
210 <groupId>org.apache.maven.plugins</groupId>
211 <artifactId>maven-checkstyle-plugin</artifactId>
212 <version>${checkstyle.version}</version>
214 <excludes>**\/target\/,**\/bin\/,**\/target-ide\/,**\/configuration\/initial\/</excludes>
218 <groupId>org.apache.maven.plugins</groupId>
219 <artifactId>maven-dependency-plugin</artifactId>
220 <version>2.6</version>
227 <!-- here the phase you need -->
228 <phase>generate-resources</phase>
232 <groupId>org.opendaylight.controller</groupId>
233 <artifactId>karaf.branding</artifactId>
234 <version>${karaf.branding.version}</version>
235 <outputDirectory>target/assembly/lib</outputDirectory>
236 <destFileName>karaf.branding-${branding.version}.jar</destFileName>
246 <connection>scm:git:ssh://git.opendaylight.org:29418/controller.git</connection>
247 <developerConnection>scm:git:ssh://git.opendaylight.org:29418/controller.git</developerConnection>
249 <url>https://wiki.opendaylight.org/view/OpenDaylight_Controller:Main</url>