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>config-features</artifactId>
60 <version>${config.version}</version>
61 <classifier>features</classifier>
63 <scope>runtime</scope>
66 <groupId>org.opendaylight.controller</groupId>
67 <artifactId>features-adsal</artifactId>
68 <version>${sal.version}</version>
69 <classifier>features</classifier>
71 <scope>runtime</scope>
74 <groupId>org.opendaylight.controller</groupId>
75 <artifactId>mdsal-features</artifactId>
76 <version>${mdsal.version}</version>
77 <classifier>features</classifier>
79 <scope>runtime</scope>
82 <groupId>org.opendaylight.yangtools</groupId>
83 <artifactId>features-yangtools</artifactId>
84 <version>${yangtools.version}</version>
85 <classifier>features</classifier>
87 <scope>runtime</scope>
95 <groupId>org.eclipse.m2e</groupId>
96 <artifactId>lifecycle-mapping</artifactId>
97 <version>1.0.0</version>
99 <lifecycleMappingMetadata>
102 <pluginExecutionFilter>
103 <groupId>org.apache.felix</groupId>
104 <artifactId>maven-bundle-plugin</artifactId>
105 <versionRange>[0,)</versionRange>
107 <goal>cleanVersions</goal>
109 </pluginExecutionFilter>
115 <pluginExecutionFilter>
116 <groupId>org.apache.maven.plugins</groupId>
117 <artifactId>maven-dependency-plugin</artifactId>
118 <versionRange>[0,)</versionRange>
123 </pluginExecutionFilter>
129 <pluginExecutionFilter>
130 <groupId>org.apache.karaf.tooling</groupId>
131 <artifactId>karaf-maven-plugin</artifactId>
132 <versionRange>[0,)</versionRange>
134 <goal>commands-generate-help</goal>
136 </pluginExecutionFilter>
142 <pluginExecutionFilter>
143 <groupId>org.fusesource.scalate</groupId>
144 <artifactId>maven-scalate-plugin</artifactId>
145 <versionRange>[0,)</versionRange>
149 </pluginExecutionFilter>
155 <pluginExecutionFilter>
156 <groupId>org.apache.servicemix.tooling</groupId>
157 <artifactId>depends-maven-plugin</artifactId>
158 <versionRange>[0,)</versionRange>
160 <goal>generate-depends-file</goal>
162 </pluginExecutionFilter>
168 </lifecycleMappingMetadata>
175 <groupId>org.apache.karaf.tooling</groupId>
176 <artifactId>karaf-maven-plugin</artifactId>
177 <version>${karaf.version}</version>
178 <extensions>true</extensions>
180 <!-- no startupFeatures -->
182 <feature>standard</feature>
184 <!-- no installedFeatures -->
188 <id>process-resources</id>
190 <goal>install-kars</goal>
192 <phase>process-resources</phase>
197 <goal>instance-create-archive</goal>
203 <groupId>org.apache.maven.plugins</groupId>
204 <artifactId>maven-checkstyle-plugin</artifactId>
205 <version>${checkstyle.version}</version>
207 <excludes>**\/target\/,**\/bin\/,**\/target-ide\/,**\/configuration\/initial\/</excludes>
211 <groupId>org.apache.maven.plugins</groupId>
212 <artifactId>maven-dependency-plugin</artifactId>
213 <version>2.6</version>
220 <!-- here the phase you need -->
221 <phase>generate-resources</phase>
225 <groupId>org.opendaylight.controller</groupId>
226 <artifactId>karaf.branding</artifactId>
227 <version>${karaf.branding.version}</version>
228 <outputDirectory>target/assembly/lib</outputDirectory>
229 <destFileName>karaf.branding-${branding.version}.jar</destFileName>
239 <connection>scm:git:ssh://git.opendaylight.org:29418/controller.git</connection>
240 <developerConnection>scm:git:ssh://git.opendaylight.org:29418/controller.git</developerConnection>
242 <url>https://wiki.opendaylight.org/view/OpenDaylight_Controller:Main</url>