| <!-- |
| 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.3-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>5.0.0</version> |
| <scope>provided</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.osgi</groupId> |
| <artifactId>org.osgi.compendium</artifactId> |
| <version>5.0.0</version> |
| <scope>provided</scope> |
| </dependency> |
| </dependencies> |
| <build> |
| <resources> |
| <resource> |
| <directory>${basedir}/src/main/resources</directory> |
| </resource> |
| </resources> |
| <plugins> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-compiler-plugin</artifactId> |
| <configuration> |
| <source>1.6</source> |
| <target>1.6</target> |
| </configuration> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.felix</groupId> |
| <artifactId>maven-bundle-plugin</artifactId> |
| <version>2.4.0</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;version="[1.3,2)" |
| </DynamicImport-Package> |
| <Import-Package> |
| org.osgi.framework;version="[1.3,2)", |
| <!-- |
| 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, |
| |
| <!-- |
| Optional import to back the dynamic import on org.osgi.service.log |
| --> |
| org.osgi.service.log;version="[1.3,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> |
| <Embed-Dependency> |
| org.osgi.core;inline="org/osgi/util/tracker/*" |
| </Embed-Dependency> |
| </instructions> |
| </configuration> |
| </plugin> |
| </plugins> |
| </build> |
| </project> |