| <!-- |
| Licensed to the Apache Software Foundation (ASF) under one |
| or more contributor license agreements. See the NOTICE file |
| distributed with this work for additional information |
| regarding copyright ownership. The ASF licenses this file |
| to you under the Apache License, Version 2.0 (the |
| "License"); you may not use this file except in compliance |
| with the License. You may obtain a copy of the License at |
| |
| http://www.apache.org/licenses/LICENSE-2.0 |
| |
| Unless required by applicable law or agreed to in writing, |
| software distributed under the License is distributed on an |
| "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY |
| KIND, either express or implied. See the License for the |
| specific language governing permissions and limitations |
| under the License. |
| --> |
| <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"> |
| <parent> |
| <groupId>org.apache.felix</groupId> |
| <artifactId>felix-parent</artifactId> |
| <version>2.1</version> |
| <relativePath>../../pom/pom.xml</relativePath> |
| </parent> |
| <modelVersion>4.0.0</modelVersion> |
| <packaging>bundle</packaging> |
| <name>Apache Felix EventAdmin</name> |
| <description> |
| This bundle provides an implementation of the OSGi R4 EventAdmin service. |
| </description> |
| <version>1.3.1-SNAPSHOT</version> |
| <artifactId>org.apache.felix.eventadmin</artifactId> |
| <scm> |
| <connection>scm:svn:http://svn.apache.org/repos/asf/felix/trunk/eventadmin/impl</connection> |
| <developerConnection>scm:svn:https://svn.apache.org/repos/asf/felix/trunk/eventadmin/impl</developerConnection> |
| <url>http://svn.apache.org/repos/asf/felix/eventadmin/impl</url> |
| </scm> |
| <dependencies> |
| <dependency> |
| <groupId>org.osgi</groupId> |
| <artifactId>org.osgi.core</artifactId> |
| <version>4.0.0</version> |
| <scope>provided</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.osgi</groupId> |
| <artifactId>org.osgi.compendium</artifactId> |
| <version>4.3.0</version> |
| <scope>provided</scope> |
| </dependency> |
| <dependency> |
| <groupId>concurrent</groupId> |
| <artifactId>concurrent</artifactId> |
| <version>1.3.4</version> |
| <scope>provided</scope> |
| </dependency> |
| </dependencies> |
| <build> |
| <resources> |
| <resource> |
| <directory>${basedir}/src/main/resources</directory> |
| </resource> |
| </resources> |
| <plugins> |
| <plugin> |
| <groupId>org.apache.felix</groupId> |
| <artifactId>maven-bundle-plugin</artifactId> |
| <version>2.3.7</version> |
| <extensions>true</extensions> |
| <configuration> |
| <instructions> |
| <Bundle-SymbolicName> |
| ${pom.artifactId} |
| </Bundle-SymbolicName> |
| <Bundle-Activator> |
| ${pom.artifactId}.impl.Activator |
| </Bundle-Activator> |
| <Bundle-Vendor>The Apache Software Foundation</Bundle-Vendor> |
| <DynamicImport-Package> |
| org.osgi.service.log |
| </DynamicImport-Package> |
| <Import-Package> |
| <!-- |
| Configuration Admin is optional and if it is |
| present, version 1.2 (from R4.0) is enough |
| --> |
| org.osgi.service.cm;version="[1.2,2)";resolution:=optional, |
| |
| <!-- |
| Metatype is optional and if it is |
| present, version 1.1 (from R4.1) is enough |
| --> |
| org.osgi.service.metatype;version="[1.1,2)";resolution:=optional, |
| |
| <!-- default --> |
| * |
| </Import-Package> |
| <Export-Package>org.osgi.service.event</Export-Package> |
| <Private-Package>org.apache.felix.eventadmin.impl.*</Private-Package> |
| <Import-Service> |
| org.osgi.service.event.EventHandler;availability:=optional;multiple:=true, |
| org.osgi.service.log.LogService;availability:=optional;multiple:=false, |
| org.osgi.service.log.LogReaderService;availability:=optional;multiple:=false |
| </Import-Service> |
| <Export-Service> |
| org.osgi.service.event.EventAdmin |
| </Export-Service> |
| <!-- Include concurrent lib but not sub packages --> |
| <Embed-Dependency> |
| concurrent;inline="EDU/oswego/cs/dl/util/concurrent/[A-Z]*", |
| org.osgi.compendium;inline="org/osgi/util/tracker/*" |
| </Embed-Dependency> |
| </instructions> |
| </configuration> |
| </plugin> |
| </plugins> |
| </build> |
| </project> |