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.4.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>
84 <groupId>org.opendaylight.aaa</groupId>
85 <artifactId>features-aaa-cert</artifactId>
86 <classifier>features</classifier>
87 <version>${project.version}</version>
89 <scope>runtime</scope>
92 <groupId>org.opendaylight.aaa</groupId>
93 <artifactId>features-aaa-cli</artifactId>
94 <classifier>features</classifier>
95 <version>${project.version}</version>
97 <scope>runtime</scope>
105 <groupId>org.eclipse.m2e</groupId>
106 <artifactId>lifecycle-mapping</artifactId>
107 <version>1.0.0</version>
109 <lifecycleMappingMetadata>
112 <pluginExecutionFilter>
113 <groupId>org.apache.felix</groupId>
114 <artifactId>maven-bundle-plugin</artifactId>
115 <versionRange>[0,)</versionRange>
117 <goal>cleanVersions</goal>
119 </pluginExecutionFilter>
125 <pluginExecutionFilter>
126 <groupId>org.apache.maven.plugins</groupId>
127 <artifactId>maven-dependency-plugin</artifactId>
128 <versionRange>[0,)</versionRange>
133 </pluginExecutionFilter>
139 <pluginExecutionFilter>
140 <groupId>org.apache.karaf.tooling</groupId>
141 <artifactId>karaf-maven-plugin</artifactId>
142 <versionRange>[0,)</versionRange>
144 <goal>commands-generate-help</goal>
146 </pluginExecutionFilter>
152 <pluginExecutionFilter>
153 <groupId>org.fusesource.scalate</groupId>
154 <artifactId>maven-scalate-plugin</artifactId>
155 <versionRange>[0,)</versionRange>
159 </pluginExecutionFilter>
165 <pluginExecutionFilter>
166 <groupId>org.apache.servicemix.tooling</groupId>
167 <artifactId>depends-maven-plugin</artifactId>
168 <versionRange>[0,)</versionRange>
170 <goal>generate-depends-file</goal>
172 </pluginExecutionFilter>
178 </lifecycleMappingMetadata>
185 <groupId>org.apache.karaf.tooling</groupId>
186 <artifactId>karaf-maven-plugin</artifactId>
187 <extensions>true</extensions>
190 <feature>standard</feature>
191 <!-- Optional TODO: Add entries here for the features
192 you want in your local distro Note: odl-restconf is a separate feature from
193 odl-mdsal-broker. If you want restconf, you need to list it here explicitely.
194 Examples: <feature>odl-toaster</feature> <feature>odl-restconf</feature> -->
195 <!-- Final TODO: Remove TODO Comments ;) -->
200 <id>process-resources</id>
202 <goal>install-kars</goal>
204 <phase>process-resources</phase>
209 <goal>instance-create-archive</goal>
215 <groupId>org.apache.maven.plugins</groupId>
216 <artifactId>maven-dependency-plugin</artifactId>
217 <version>2.6</version>
224 <phase>generate-resources</phase>
228 <groupId>org.opendaylight.controller</groupId>
229 <artifactId>karaf.branding</artifactId>
230 <version>${karaf.branding.version}</version>
231 <outputDirectory>target/assembly/lib</outputDirectory>
232 <destFileName>karaf.branding-${karaf.branding.version}.jar</destFileName>
238 <id>unpack-karaf-resources</id>
240 <goal>unpack-dependencies</goal>
242 <phase>prepare-package</phase>
244 <outputDirectory>${project.build.directory}/assembly</outputDirectory>
245 <groupId>org.opendaylight.controller</groupId>
246 <includeArtifactIds>opendaylight-karaf-resources</includeArtifactIds>
247 <excludes>META-INF\/**</excludes>
248 <excludeTransitive>true</excludeTransitive>
249 <ignorePermissions>false</ignorePermissions>
255 <groupId>org.apache.maven.plugins</groupId>
256 <artifactId>maven-antrun-plugin</artifactId>
259 <phase>prepare-package</phase>
267 dir="${project.build.directory}/assembly/bin">
268 <include name="karaf" />
269 <include name="instance" />
270 <include name="start" />
271 <include name="stop" />
272 <include name="status" />
273 <include name="client" />
274 <include name="shell" />
285 <connection>scm:git:ssh://git.opendaylight.org:29418/aaa.git</connection>
286 <developerConnection>scm:git:ssh://git.opendaylight.org:29418/aaa.git</developerConnection>
288 <url>https://git.opendaylight.org/gerrit/gitweb?p=aaa.git;a=summary</url>