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>
25 <!-- scope is runtime so the feature repo is listed in the features
26 service config file, and features may be installed using the
27 karaf-maven-plugin configuration -->
28 <!-- dependencies commented out till we can get them in
30 <groupId>org.apache.karaf.features</groupId>
31 <artifactId>standard</artifactId>
32 <version>${karaf.version}</version>
33 <classifier>features</classifier>
35 <scope>runtime</scope>
38 <groupId>org.opendaylight.controller</groupId>
39 <artifactId>controller-features</artifactId>
40 <version>${project.version}</version>
41 <classifier>features</classifier>
43 <scope>runtime</scope>
46 <groupId>org.opendaylight.yangtools</groupId>
47 <artifactId>features-file</artifactId>
48 <version>${yangtools.version}</version>
49 <classifier>features</classifier>
51 <scope>runtime</scope>
60 <groupId>org.eclipse.m2e</groupId>
61 <artifactId>lifecycle-mapping</artifactId>
62 <version>1.0.0</version>
64 <lifecycleMappingMetadata>
67 <pluginExecutionFilter>
68 <groupId>org.apache.felix</groupId>
69 <artifactId>maven-bundle-plugin</artifactId>
70 <versionRange>[0,)</versionRange>
72 <goal>cleanVersions</goal>
74 </pluginExecutionFilter>
80 <pluginExecutionFilter>
81 <groupId>org.apache.maven.plugins</groupId>
82 <artifactId>maven-dependency-plugin</artifactId>
83 <versionRange>[0,)</versionRange>
88 </pluginExecutionFilter>
94 <pluginExecutionFilter>
95 <groupId>org.apache.karaf.tooling</groupId>
96 <artifactId>karaf-maven-plugin</artifactId>
97 <versionRange>[0,)</versionRange>
99 <goal>commands-generate-help</goal>
101 </pluginExecutionFilter>
107 <pluginExecutionFilter>
108 <groupId>org.fusesource.scalate</groupId>
109 <artifactId>maven-scalate-plugin</artifactId>
110 <versionRange>[0,)</versionRange>
114 </pluginExecutionFilter>
120 <pluginExecutionFilter>
121 <groupId>org.apache.servicemix.tooling</groupId>
122 <artifactId>depends-maven-plugin</artifactId>
123 <versionRange>[0,)</versionRange>
125 <goal>generate-depends-file</goal>
127 </pluginExecutionFilter>
133 </lifecycleMappingMetadata>
140 <groupId>org.apache.karaf.tooling</groupId>
141 <artifactId>karaf-maven-plugin</artifactId>
142 <version>${karaf.version}</version>
143 <extensions>true</extensions>
145 <!-- no startupFeatures -->
147 <feature>standard</feature>
149 <!-- no installedFeatures -->
153 <id>process-resources</id>
155 <goal>install-kars</goal>
157 <phase>process-resources</phase>
162 <goal>instance-create-archive</goal>
168 <groupId>org.apache.maven.plugins</groupId>
169 <artifactId>maven-checkstyle-plugin</artifactId>
170 <version>${checkstyle.version}</version>
172 <excludes>**\/target\/,**\/bin\/,**\/target-ide\/,**\/configuration\/initial\/</excludes>
176 <artifactId>maven-resources-plugin</artifactId>
177 <version>2.6</version>
180 <id>copy-resources</id>
182 <goal>copy-resources</goal>
184 <!-- here the phase you need -->
185 <phase>process-resources</phase>
187 <outputDirectory>${basedir}/target/assembly</outputDirectory>
188 <overwrite>true</overwrite>
191 <directory>${basedir}/src/main/resources</directory>
201 <connection>scm:git:ssh://git.opendaylight.org:29418/controller.git</connection>
202 <developerConnection>scm:git:ssh://git.opendaylight.org:29418/controller.git</developerConnection>
204 <url>https://wiki.opendaylight.org/view/OpenDaylight_Controller:Main</url>