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>config-features</artifactId>
28 <version>${config.version}</version>
29 <classifier>features</classifier>
31 <scope>runtime</scope>
33 <!-- scope is runtime so the feature repo is listed in the features
34 service config file, and features may be installed using the
35 karaf-maven-plugin configuration -->
36 <!-- dependencies commented out till we can get them in
38 <groupId>org.apache.karaf.features</groupId>
39 <artifactId>standard</artifactId>
40 <version>${karaf.version}</version>
41 <classifier>features</classifier>
43 <scope>runtime</scope>
46 <groupId>org.opendaylight.controller</groupId>
47 <artifactId>controller-features</artifactId>
48 <version>${project.version}</version>
49 <classifier>features</classifier>
51 <scope>runtime</scope>
55 <groupId>org.opendaylight.controller</groupId>
56 <artifactId>mdsal-features</artifactId>
57 <version>${mdsal.version}</version>
58 <classifier>features</classifier>
60 <scope>runtime</scope>
63 <groupId>org.opendaylight.yangtools</groupId>
64 <artifactId>features-file</artifactId>
65 <version>${yangtools.version}</version>
66 <classifier>features</classifier>
68 <scope>runtime</scope>
76 <groupId>org.eclipse.m2e</groupId>
77 <artifactId>lifecycle-mapping</artifactId>
78 <version>1.0.0</version>
80 <lifecycleMappingMetadata>
83 <pluginExecutionFilter>
84 <groupId>org.apache.felix</groupId>
85 <artifactId>maven-bundle-plugin</artifactId>
86 <versionRange>[0,)</versionRange>
88 <goal>cleanVersions</goal>
90 </pluginExecutionFilter>
96 <pluginExecutionFilter>
97 <groupId>org.apache.maven.plugins</groupId>
98 <artifactId>maven-dependency-plugin</artifactId>
99 <versionRange>[0,)</versionRange>
104 </pluginExecutionFilter>
110 <pluginExecutionFilter>
111 <groupId>org.apache.karaf.tooling</groupId>
112 <artifactId>karaf-maven-plugin</artifactId>
113 <versionRange>[0,)</versionRange>
115 <goal>commands-generate-help</goal>
117 </pluginExecutionFilter>
123 <pluginExecutionFilter>
124 <groupId>org.fusesource.scalate</groupId>
125 <artifactId>maven-scalate-plugin</artifactId>
126 <versionRange>[0,)</versionRange>
130 </pluginExecutionFilter>
136 <pluginExecutionFilter>
137 <groupId>org.apache.servicemix.tooling</groupId>
138 <artifactId>depends-maven-plugin</artifactId>
139 <versionRange>[0,)</versionRange>
141 <goal>generate-depends-file</goal>
143 </pluginExecutionFilter>
149 </lifecycleMappingMetadata>
156 <groupId>org.apache.karaf.tooling</groupId>
157 <artifactId>karaf-maven-plugin</artifactId>
158 <version>${karaf.version}</version>
159 <extensions>true</extensions>
161 <!-- no startupFeatures -->
163 <feature>standard</feature>
165 <!-- no installedFeatures -->
169 <id>process-resources</id>
171 <goal>install-kars</goal>
173 <phase>process-resources</phase>
178 <goal>instance-create-archive</goal>
184 <groupId>org.apache.maven.plugins</groupId>
185 <artifactId>maven-checkstyle-plugin</artifactId>
186 <version>${checkstyle.version}</version>
188 <excludes>**\/target\/,**\/bin\/,**\/target-ide\/,**\/configuration\/initial\/</excludes>
192 <artifactId>maven-resources-plugin</artifactId>
193 <version>2.6</version>
196 <id>copy-resources</id>
198 <goal>copy-resources</goal>
200 <!-- here the phase you need -->
201 <phase>process-resources</phase>
203 <outputDirectory>${basedir}/target/assembly</outputDirectory>
204 <overwrite>true</overwrite>
207 <directory>${basedir}/src/main/resources</directory>
217 <connection>scm:git:ssh://git.opendaylight.org:29418/controller.git</connection>
218 <developerConnection>scm:git:ssh://git.opendaylight.org:29418/controller.git</developerConnection>
220 <url>https://wiki.opendaylight.org/view/OpenDaylight_Controller:Main</url>