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 -->
29 <groupId>org.apache.karaf.features</groupId>
30 <artifactId>standard</artifactId>
31 <version>${karaf.version}</version>
32 <classifier>features</classifier>
34 <scope>runtime</scope>
37 <!-- scope is compile so all features (there is only one) are installed
38 into startup.properties and the feature repo itself is not installed -->
39 <groupId>org.opendaylight.controller</groupId>
40 <artifactId>base-features</artifactId>
41 <version>${project.version}</version>
43 <scope>runtime</scope>
46 <groupId>org.opendaylight.controller</groupId>
47 <artifactId>config-features</artifactId>
48 <version>${config.version}</version>
49 <classifier>features</classifier>
51 <scope>runtime</scope>
54 <groupId>org.opendaylight.controller</groupId>
55 <artifactId>base-features</artifactId>
56 <version>${project.version}</version>
57 <classifier>features</classifier>
59 <scope>runtime</scope>
62 <groupId>org.opendaylight.controller</groupId>
63 <artifactId>controller-features</artifactId>
64 <version>${project.version}</version>
65 <classifier>features</classifier>
67 <scope>runtime</scope>
71 <groupId>org.opendaylight.controller</groupId>
72 <artifactId>mdsal-features</artifactId>
73 <version>${mdsal.version}</version>
74 <classifier>features</classifier>
76 <scope>runtime</scope>
79 <groupId>org.opendaylight.yangtools</groupId>
80 <artifactId>features-file</artifactId>
81 <version>${yangtools.version}</version>
82 <classifier>features</classifier>
84 <scope>runtime</scope>
92 <groupId>org.eclipse.m2e</groupId>
93 <artifactId>lifecycle-mapping</artifactId>
94 <version>1.0.0</version>
96 <lifecycleMappingMetadata>
99 <pluginExecutionFilter>
100 <groupId>org.apache.felix</groupId>
101 <artifactId>maven-bundle-plugin</artifactId>
102 <versionRange>[0,)</versionRange>
104 <goal>cleanVersions</goal>
106 </pluginExecutionFilter>
112 <pluginExecutionFilter>
113 <groupId>org.apache.maven.plugins</groupId>
114 <artifactId>maven-dependency-plugin</artifactId>
115 <versionRange>[0,)</versionRange>
120 </pluginExecutionFilter>
126 <pluginExecutionFilter>
127 <groupId>org.apache.karaf.tooling</groupId>
128 <artifactId>karaf-maven-plugin</artifactId>
129 <versionRange>[0,)</versionRange>
131 <goal>commands-generate-help</goal>
133 </pluginExecutionFilter>
139 <pluginExecutionFilter>
140 <groupId>org.fusesource.scalate</groupId>
141 <artifactId>maven-scalate-plugin</artifactId>
142 <versionRange>[0,)</versionRange>
146 </pluginExecutionFilter>
152 <pluginExecutionFilter>
153 <groupId>org.apache.servicemix.tooling</groupId>
154 <artifactId>depends-maven-plugin</artifactId>
155 <versionRange>[0,)</versionRange>
157 <goal>generate-depends-file</goal>
159 </pluginExecutionFilter>
165 </lifecycleMappingMetadata>
172 <groupId>org.apache.karaf.tooling</groupId>
173 <artifactId>karaf-maven-plugin</artifactId>
174 <version>${karaf.version}</version>
175 <extensions>true</extensions>
177 <!-- no startupFeatures -->
179 <feature>standard</feature>
181 <!-- no installedFeatures -->
185 <id>process-resources</id>
187 <goal>install-kars</goal>
189 <phase>process-resources</phase>
194 <goal>instance-create-archive</goal>
200 <groupId>org.apache.maven.plugins</groupId>
201 <artifactId>maven-checkstyle-plugin</artifactId>
202 <version>${checkstyle.version}</version>
204 <excludes>**\/target\/,**\/bin\/,**\/target-ide\/,**\/configuration\/initial\/</excludes>
208 <artifactId>maven-resources-plugin</artifactId>
209 <version>2.6</version>
212 <id>copy-resources</id>
214 <goal>copy-resources</goal>
216 <!-- here the phase you need -->
217 <phase>process-resources</phase>
219 <outputDirectory>${basedir}/target/assembly</outputDirectory>
220 <overwrite>true</overwrite>
223 <directory>${basedir}/src/main/resources</directory>
233 <connection>scm:git:ssh://git.opendaylight.org:29418/controller.git</connection>
234 <developerConnection>scm:git:ssh://git.opendaylight.org:29418/controller.git</developerConnection>
236 <url>https://wiki.opendaylight.org/view/OpenDaylight_Controller:Main</url>