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 <artifactId>groupbasedpolicy.project</artifactId>
6 <groupId>org.opendaylight.groupbasedpolicy</groupId>
7 <version>0.1.0-SNAPSHOT</version>
8 <relativePath>../</relativePath>
10 <artifactId>distribution-karaf</artifactId>
11 <groupId>org.opendaylight.groupbasedpolicy</groupId>
12 <packaging>pom</packaging>
17 <branding.version>1.0.0-SNAPSHOT</branding.version>
18 <karaf.resources.version>1.4.2-SNAPSHOT</karaf.resources.version>
19 <karaf.version>3.0.1</karaf.version>
23 <!-- Basic Karaf dependencies -->
25 <groupId>org.apache.karaf.features</groupId>
26 <artifactId>framework</artifactId>
27 <version>${karaf.version}</version>
31 <groupId>org.apache.karaf.features</groupId>
32 <artifactId>standard</artifactId>
33 <version>${karaf.version}</version>
34 <classifier>features</classifier>
36 <scope>runtime</scope>
41 <groupId>org.opendaylight.controller</groupId>
42 <artifactId>karaf.branding</artifactId>
43 <version>${branding.version}</version>
44 <scope>compile</scope>
47 <!-- ODL Resources needed for karaf -->
49 <groupId>org.opendaylight.controller</groupId>
50 <artifactId>opendaylight-karaf-resources</artifactId>
51 <version>${karaf.resources.version}</version>
54 <!-- Project local feautures -->
56 <groupId>org.opendaylight.controller</groupId>
57 <artifactId>features-mdsal</artifactId>
58 <classifier>features</classifier>
60 <scope>runtime</scope>
64 <groupId>org.opendaylight.groupbasedpolicy</groupId>
65 <artifactId>features-groupbasedpolicy</artifactId>
66 <version>${groupbasedpolicy.project.version}</version>
67 <classifier>features</classifier>
69 <scope>runtime</scope>
77 <groupId>org.eclipse.m2e</groupId>
78 <artifactId>lifecycle-mapping</artifactId>
79 <version>1.0.0</version>
81 <lifecycleMappingMetadata>
84 <pluginExecutionFilter>
85 <groupId>org.apache.felix</groupId>
86 <artifactId>maven-bundle-plugin</artifactId>
87 <versionRange>[0,)</versionRange>
89 <goal>cleanVersions</goal>
91 </pluginExecutionFilter>
97 <pluginExecutionFilter>
98 <groupId>org.apache.maven.plugins</groupId>
99 <artifactId>maven-dependency-plugin</artifactId>
100 <versionRange>[0,)</versionRange>
105 </pluginExecutionFilter>
111 <pluginExecutionFilter>
112 <groupId>org.apache.karaf.tooling</groupId>
113 <artifactId>karaf-maven-plugin</artifactId>
114 <versionRange>[0,)</versionRange>
116 <goal>commands-generate-help</goal>
118 </pluginExecutionFilter>
124 <pluginExecutionFilter>
125 <groupId>org.fusesource.scalate</groupId>
126 <artifactId>maven-scalate-plugin</artifactId>
127 <versionRange>[0,)</versionRange>
131 </pluginExecutionFilter>
137 <pluginExecutionFilter>
138 <groupId>org.apache.servicemix.tooling</groupId>
139 <artifactId>depends-maven-plugin</artifactId>
140 <versionRange>[0,)</versionRange>
142 <goal>generate-depends-file</goal>
144 </pluginExecutionFilter>
150 </lifecycleMappingMetadata>
157 <groupId>org.apache.karaf.tooling</groupId>
158 <artifactId>karaf-maven-plugin</artifactId>
159 <version>${karaf.version}</version>
160 <extensions>true</extensions>
163 <feature>standard</feature>
164 <feature>standard</feature>
165 <feature>odl-groupbasedpolicy-ofoverlay</feature>
166 <feature>odl-restconf</feature>
171 <id>process-resources</id>
173 <goal>install-kars</goal>
175 <phase>process-resources</phase>
180 <goal>instance-create-archive</goal>
186 <groupId>org.apache.maven.plugins</groupId>
187 <artifactId>maven-dependency-plugin</artifactId>
188 <version>2.6</version>
195 <phase>generate-resources</phase>
199 <groupId>org.opendaylight.controller</groupId>
200 <artifactId>karaf.branding</artifactId>
201 <version>${karaf.branding.version}</version>
202 <outputDirectory>target/assembly/lib</outputDirectory>
203 <destFileName>karaf.branding-${branding.version}.jar</destFileName>
209 <id>unpack-karaf-resources</id>
211 <goal>unpack-dependencies</goal>
213 <phase>prepare-package</phase>
215 <outputDirectory>${project.build.directory}/assembly</outputDirectory>
216 <groupId>org.opendaylight.controller</groupId>
217 <includeArtifactIds>opendaylight-karaf-resources</includeArtifactIds>
218 <excludes>META-INF\/**</excludes>
219 <excludeTransitive>true</excludeTransitive>
220 <ignorePermissions>false</ignorePermissions>
226 <groupId>org.apache.maven.plugins</groupId>
227 <artifactId>maven-antrun-plugin</artifactId>
230 <phase>prepare-package</phase>
237 <fileset dir="${project.build.directory}/assembly/bin">
238 <include name="karaf" />
239 <include name="instance" />
240 <include name="start" />
241 <include name="stop" />
242 <include name="status" />
243 <include name="client" />
244 <include name="shell" />
255 <connection>scm:git:ssh://git.opendaylight.org:29418/groupbasedpolicy.git</connection>
256 <developerConnection>scm:git:ssh://git.opendaylight.org:29418/groupbasedpolicy.git</developerConnection>
258 <url>https://git.opendaylight.org/gerrit/gitweb?p=groupbasedpolicy.git;a=summary</url>