blob: 84c186ea126c193eb06fa4b55527835c82ee2603 [file] [log] [blame]
Chetan Mehrotrafd8196e2013-03-25 10:57:09 +00001<?xml version="1.0" encoding="UTF-8"?>
2<!--
3 ~ Licensed to the Apache Software Foundation (ASF) under one
4 ~ or more contributor license agreements. See the NOTICE file
5 ~ distributed with this work for additional information
6 ~ regarding copyright ownership. The ASF licenses this file
7 ~ to you under the Apache License, Version 2.0 (the
8 ~ "License"); you may not use this file except in compliance
9 ~ with the License. You may obtain a copy of the License at
10 ~
11 ~ http://www.apache.org/licenses/LICENSE-2.0
12 ~
13 ~ Unless required by applicable law or agreed to in writing,
14 ~ software distributed under the License is distributed on an
15 ~ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16 ~ KIND, either express or implied. See the License for the
17 ~ specific language governing permissions and limitations
18 ~ under the License.
19 -->
20
21<project xmlns="http://maven.apache.org/POM/4.0.0"
22 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
23 xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
24 <modelVersion>4.0.0</modelVersion>
25
26 <parent>
27 <groupId>org.apache.felix</groupId>
28 <artifactId>felix-parent</artifactId>
29 <version>2.1</version>
30 <relativePath>../../../pom/pom.xml</relativePath>
31 </parent>
32
33 <groupId>org.apache.felix.example</groupId>
34 <artifactId>org.apache.felix.example.jaas.launcher</artifactId>
35 <version>0.0.1-SNAPSHOT</version>
36 <packaging>jar</packaging>
37
38 <name>JAAS Example - Launcher Module</name>
39
40 <properties>
41 <jaas.example.version>${project.version}</jaas.example.version>
42 </properties>
43
44 <build>
45 <plugins>
46 <plugin>
47 <groupId>org.apache.sling</groupId>
48 <artifactId>maven-launchpad-plugin</artifactId>
49 <version>2.2.0</version>
50 <executions>
51 <execution>
52 <id>prepare-package-jar</id>
53 <goals>
54 <goal>prepare-package</goal>
55 </goals>
56 <configuration>
57 <includeDefaultBundles>false</includeDefaultBundles>
58 </configuration>
59 </execution>
60 <execution>
61 <id>create-bundle-jar</id>
62 <goals>
63 <goal>create-bundle-jar</goal>
64 </goals>
65 <configuration>
66 <includeDefaultBundles>false</includeDefaultBundles>
67 <resources>
68 <!-- Legal stuff -->
69 <resource>
70 <directory>${project.build.directory}/maven-shared-archive-resources</directory>
71 </resource>
72 </resources>
73 </configuration>
74 </execution>
75 </executions>
76 </plugin>
77 <plugin>
78 <groupId>org.apache.maven.plugins</groupId>
79 <artifactId>maven-jar-plugin</artifactId>
80 <executions>
81 <execution>
82 <id>create-standalone-jar</id>
83 <goals>
84 <goal>jar</goal>
85 </goals>
86 <configuration>
87 <classifier>standalone</classifier>
88 <archive>
89 <manifestFile>${project.build.outputDirectory}/META-INF/MANIFEST.MF</manifestFile>
90 <manifest>
91 <addDefaultImplementationEntries>
92 true
93 </addDefaultImplementationEntries>
94 </manifest>
95 </archive>
96 </configuration>
97 </execution>
98 </executions>
99 </plugin>
100 </plugins>
101 </build>
102
103 <dependencies>
104 <dependency>
105 <groupId>org.apache.sling</groupId>
106 <artifactId>org.apache.sling.launchpad.base</artifactId>
107 <version>2.5.0</version>
108 <classifier>app</classifier>
109 <scope>provided</scope>
110 </dependency>
111 </dependencies>
112</project>