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"
3 xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
4 <modelVersion>4.0.0</modelVersion>
6 <groupId>org.opendaylight.aaa</groupId>
7 <artifactId>aaa-parent</artifactId>
8 <version>0.3.0-SNAPSHOT</version>
9 <relativePath>../parent</relativePath>
12 <artifactId>distribution-karaf</artifactId>
13 <packaging>pom</packaging>
19 <!-- Basic Karaf dependencies -->
21 <groupId>org.apache.karaf.features</groupId>
22 <artifactId>framework</artifactId>
23 <version>${karaf.version}</version>
27 <groupId>org.apache.karaf.features</groupId>
28 <artifactId>standard</artifactId>
29 <version>${karaf.version}</version>
30 <classifier>features</classifier>
32 <scope>runtime</scope>
37 <groupId>org.opendaylight.controller</groupId>
38 <artifactId>karaf.branding</artifactId>
39 <version>${karaf.branding.version}</version>
40 <scope>compile</scope>
43 <!-- ODL Resources needed for karaf -->
45 <groupId>org.opendaylight.controller</groupId>
46 <artifactId>opendaylight-karaf-resources</artifactId>
47 <version>${karaf.resources.version}</version>
50 <!-- Project local feautures -->
52 <groupId>org.opendaylight.aaa</groupId>
53 <artifactId>features-aaa-api</artifactId>
54 <classifier>features</classifier>
55 <version>${project.version}</version>
57 <scope>runtime</scope>
60 <groupId>org.opendaylight.aaa</groupId>
61 <artifactId>features-aaa</artifactId>
62 <classifier>features</classifier>
63 <version>${project.version}</version>
65 <scope>runtime</scope>
68 <groupId>org.opendaylight.aaa</groupId>
69 <artifactId>features-aaa-authz</artifactId>
70 <classifier>features</classifier>
71 <version>${project.version}</version>
73 <scope>runtime</scope>
76 <groupId>org.opendaylight.aaa</groupId>
77 <artifactId>features-aaa-shiro</artifactId>
78 <classifier>features</classifier>
79 <version>${project.version}</version>
81 <scope>runtime</scope>
89 <groupId>org.eclipse.m2e</groupId>
90 <artifactId>lifecycle-mapping</artifactId>
91 <version>1.0.0</version>
93 <lifecycleMappingMetadata>
96 <pluginExecutionFilter>
97 <groupId>org.apache.felix</groupId>
98 <artifactId>maven-bundle-plugin</artifactId>
99 <versionRange>[0,)</versionRange>
101 <goal>cleanVersions</goal>
103 </pluginExecutionFilter>
109 <pluginExecutionFilter>
110 <groupId>org.apache.maven.plugins</groupId>
111 <artifactId>maven-dependency-plugin</artifactId>
112 <versionRange>[0,)</versionRange>
117 </pluginExecutionFilter>
123 <pluginExecutionFilter>
124 <groupId>org.apache.karaf.tooling</groupId>
125 <artifactId>karaf-maven-plugin</artifactId>
126 <versionRange>[0,)</versionRange>
128 <goal>commands-generate-help</goal>
130 </pluginExecutionFilter>
136 <pluginExecutionFilter>
137 <groupId>org.fusesource.scalate</groupId>
138 <artifactId>maven-scalate-plugin</artifactId>
139 <versionRange>[0,)</versionRange>
143 </pluginExecutionFilter>
149 <pluginExecutionFilter>
150 <groupId>org.apache.servicemix.tooling</groupId>
151 <artifactId>depends-maven-plugin</artifactId>
152 <versionRange>[0,)</versionRange>
154 <goal>generate-depends-file</goal>
156 </pluginExecutionFilter>
162 </lifecycleMappingMetadata>
169 <groupId>org.apache.karaf.tooling</groupId>
170 <artifactId>karaf-maven-plugin</artifactId>
171 <extensions>true</extensions>
174 <feature>standard</feature>
175 <!-- Optional TODO: Add entries here for the features
176 you want in your local distro Note: odl-restconf is a separate feature from
177 odl-mdsal-broker. If you want restconf, you need to list it here explicitely.
178 Examples: <feature>odl-toaster</feature> <feature>odl-restconf</feature> -->
179 <!-- Final TODO: Remove TODO Comments ;) -->
184 <id>process-resources</id>
186 <goal>install-kars</goal>
188 <phase>process-resources</phase>
193 <goal>instance-create-archive</goal>
199 <groupId>org.apache.maven.plugins</groupId>
200 <artifactId>maven-dependency-plugin</artifactId>
201 <version>2.6</version>
208 <phase>generate-resources</phase>
212 <groupId>org.opendaylight.controller</groupId>
213 <artifactId>karaf.branding</artifactId>
214 <version>${karaf.branding.version}</version>
215 <outputDirectory>target/assembly/lib</outputDirectory>
216 <destFileName>karaf.branding-${karaf.branding.version}.jar</destFileName>
222 <id>unpack-karaf-resources</id>
224 <goal>unpack-dependencies</goal>
226 <phase>prepare-package</phase>
228 <outputDirectory>${project.build.directory}/assembly</outputDirectory>
229 <groupId>org.opendaylight.controller</groupId>
230 <includeArtifactIds>opendaylight-karaf-resources</includeArtifactIds>
231 <excludes>META-INF\/**</excludes>
232 <excludeTransitive>true</excludeTransitive>
233 <ignorePermissions>false</ignorePermissions>
239 <groupId>org.apache.maven.plugins</groupId>
240 <artifactId>maven-antrun-plugin</artifactId>
243 <phase>prepare-package</phase>
251 dir="${project.build.directory}/assembly/bin">
252 <include name="karaf" />
253 <include name="instance" />
254 <include name="start" />
255 <include name="stop" />
256 <include name="status" />
257 <include name="client" />
258 <include name="shell" />
269 <connection>scm:git:ssh://git.opendaylight.org:29418/aaa.git</connection>
270 <developerConnection>scm:git:ssh://git.opendaylight.org:29418/aaa.git</developerConnection>
272 <url>https://git.opendaylight.org/gerrit/gitweb?p=aaa.git;a=summary</url>