blob: cec0658add95d7b6bc4f2b59c7e1336f252459ae [file] [log] [blame]
Carsten Ziegeler4fec0962008-01-11 16:13:31 +00001<!--
2 Licensed to the Apache Software Foundation (ASF) under one
3 or more contributor license agreements. See the NOTICE file
4 distributed with this work for additional information
5 regarding copyright ownership. The ASF licenses this file
6 to you under the Apache License, Version 2.0 (the
7 "License"); you may not use this file except in compliance
8 with the License. You may obtain a copy of the License at
Carsten Ziegelerbf338dd2008-01-03 09:11:33 +00009
Carsten Ziegeler4fec0962008-01-11 16:13:31 +000010 http://www.apache.org/licenses/LICENSE-2.0
Carsten Ziegelerbf338dd2008-01-03 09:11:33 +000011
Carsten Ziegeler4fec0962008-01-11 16:13:31 +000012 Unless required by applicable law or agreed to in writing,
13 software distributed under the License is distributed on an
14 "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
15 KIND, either express or implied. See the License for the
16 specific language governing permissions and limitations
17 under the License.
Carsten Ziegelerbf338dd2008-01-03 09:11:33 +000018-->
Carsten Ziegeler4fec0962008-01-11 16:13:31 +000019<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/maven-v4_0_0.xsd">
Carsten Ziegelerbaad9d92010-02-03 07:04:11 +000020 <parent>
Karl Paulsb0a17162006-11-03 09:25:08 +000021 <groupId>org.apache.felix</groupId>
Carsten Ziegelerbaad9d92010-02-03 07:04:11 +000022 <artifactId>felix-parent</artifactId>
Carsten Ziegeler4adc5642011-03-07 09:24:40 +000023 <version>2-SNAPSHOT</version>
Carsten Ziegelerbaad9d92010-02-03 07:04:11 +000024 <relativePath>../../pom/pom.xml</relativePath>
25 </parent>
26 <modelVersion>4.0.0</modelVersion>
27 <packaging>bundle</packaging>
28 <name>Apache Felix EventAdmin</name>
29 <description>
30 This bundle provides an implementation of the OSGi R4 EventAdmin service.
31 </description>
Carsten Ziegelerae246b12011-03-03 10:36:38 +000032 <version>1.2.11-SNAPSHOT</version>
Carsten Ziegelerbaad9d92010-02-03 07:04:11 +000033 <artifactId>org.apache.felix.eventadmin</artifactId>
Carsten Ziegeler4d47f1e2010-08-27 07:38:17 +000034 <scm>
Carsten Ziegelerae246b12011-03-03 10:36:38 +000035 <connection>scm:svn:http://svn.apache.org/repos/asf/felix/trunk/eventadmin/impl</connection>
36 <developerConnection>scm:svn:http://svn.apache.org/repos/asf/felix/trunk/eventadmin/impl</developerConnection>
37 <url>http://svn.apache.org/repos/asf/felix/eventadmin/impl</url>
Carsten Ziegeler4d47f1e2010-08-27 07:38:17 +000038 </scm>
Carsten Ziegelerbaad9d92010-02-03 07:04:11 +000039 <dependencies>
40 <dependency>
41 <groupId>org.osgi</groupId>
42 <artifactId>org.osgi.core</artifactId>
43 <version>4.0.0</version>
Carsten Ziegeler4adc5642011-03-07 09:24:40 +000044 <scope>provided</scope>
Carsten Ziegelerbaad9d92010-02-03 07:04:11 +000045 </dependency>
46 <dependency>
47 <groupId>org.osgi</groupId>
48 <artifactId>org.osgi.compendium</artifactId>
49 <version>4.2.0</version>
Carsten Ziegeler4adc5642011-03-07 09:24:40 +000050 <scope>provided</scope>
Carsten Ziegelerbaad9d92010-02-03 07:04:11 +000051 </dependency>
52 <dependency>
53 <groupId>concurrent</groupId>
54 <artifactId>concurrent</artifactId>
55 <version>1.3.4</version>
Carsten Ziegeler4adc5642011-03-07 09:24:40 +000056 <scope>provided</scope>
Carsten Ziegelerbaad9d92010-02-03 07:04:11 +000057 </dependency>
58 </dependencies>
59 <build>
Carsten Ziegeler515683d2010-08-25 17:16:18 +000060 <resources>
61 <resource>
62 <directory>${basedir}/src/main/resources</directory>
63 </resource>
64 <resource>
65 <targetPath>META-INF</targetPath>
66 <directory>${basedir}</directory>
67 <includes>
68 <include>LICENSE*</include>
69 <include>NOTICE</include>
70 <include>DEPENDENCIES</include>
71 </includes>
72 </resource>
73 </resources>
Carsten Ziegelerbaad9d92010-02-03 07:04:11 +000074 <plugins>
75 <plugin>
76 <groupId>org.apache.felix</groupId>
77 <artifactId>maven-bundle-plugin</artifactId>
Carsten Ziegeler4e7b0522011-04-15 07:21:07 +000078 <version>2.3.4</version>
Carsten Ziegelerbaad9d92010-02-03 07:04:11 +000079 <extensions>true</extensions>
80 <configuration>
81 <instructions>
82 <Bundle-SymbolicName>
83 ${pom.artifactId}
84 </Bundle-SymbolicName>
85 <Bundle-Activator>
86 ${pom.artifactId}.impl.Activator
87 </Bundle-Activator>
88 <Bundle-Vendor>The Apache Software Foundation</Bundle-Vendor>
89 <DynamicImport-Package>
90 org.osgi.service.log
91 </DynamicImport-Package>
Carsten Ziegeler828f51f2010-02-03 08:27:45 +000092 <Import-Package>
Carsten Ziegeler828f51f2010-02-03 08:27:45 +000093 <!--
94 Configuration Admin is optional and if it is
95 present, version 1.2 (from R4.0) is enough
96 -->
97 org.osgi.service.cm;version="[1.2,2)";resolution:=optional,
98
99 <!--
100 Metatype is optional and if it is
101 present, version 1.1 (from R4.1) is enough
102 -->
103 org.osgi.service.metatype;version="[1.1,2)";resolution:=optional,
104
105 <!-- default -->
106 *
107 </Import-Package>
Carsten Ziegeler07203992010-02-16 12:38:17 +0000108 <Export-Package>org.osgi.service.event</Export-Package>
Carsten Ziegelerbaad9d92010-02-03 07:04:11 +0000109 <Private-Package>org.apache.felix.eventadmin.impl.*</Private-Package>
110 <Import-Service>
111 org.osgi.service.event.EventHandler, org.osgi.service.log.LogService, org.osgi.service.log.LogReaderService
112 </Import-Service>
113 <Export-Service>
114 org.osgi.service.event.EventAdmin
115 </Export-Service>
Carsten Ziegeler4e7b0522011-04-15 07:21:07 +0000116 <!-- Include concurrent lib but not sub packages -->
Carsten Ziegelerbaad9d92010-02-03 07:04:11 +0000117 <Embed-Dependency>
Carsten Ziegeler4e7b0522011-04-15 07:21:07 +0000118 concurrent;inline="EDU/oswego/cs/dl/util/concurrent/[A-Z]*"
Carsten Ziegelerbaad9d92010-02-03 07:04:11 +0000119 </Embed-Dependency>
120 </instructions>
121 </configuration>
122 </plugin>
123 </plugins>
124 </build>
Karl Pauls13dcf8c2006-08-22 21:39:30 +0000125</project>