<!-- 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>7</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 R7 EventAdmin service. </description> <version>1.6.4</version> <artifactId>org.apache.felix.eventadmin</artifactId> <scm> <connection>scm:git:https://github.com/apache/felix-dev.git</connection> <developerConnection>scm:git:https://github.com/apache/felix-dev.git</developerConnection> <url>https://gitbox.apache.org/repos/asf?p=felix-dev.git</url> <tag>org.apache.felix.eventadmin-1.6.4</tag> </scm> <properties> <bundle.build.name> ${basedir}/target </bundle.build.name> <bundle.file.name> ${bundle.build.name}/${project.build.finalName}.jar </bundle.file.name> <!-- This is a placeholder to enable perf tests with the perftest profile --> <additional.ittests>NONE</additional.ittests> </properties> <dependencies> <dependency> <groupId>org.osgi</groupId> <artifactId>osgi.core</artifactId> <version>6.0.0</version> <scope>provided</scope> </dependency> <dependency> <groupId>org.osgi</groupId> <artifactId>org.osgi.service.event</artifactId> <version>1.4.0</version> <scope>provided</scope> </dependency> <dependency> <groupId>org.osgi</groupId> <artifactId>org.osgi.service.metatype</artifactId> <version>1.3.0</version> <scope>provided</scope> </dependency> <dependency> <groupId>org.osgi</groupId> <artifactId>org.osgi.service.log</artifactId> <version>1.3.0</version> <scope>provided</scope> </dependency> <dependency> <groupId>org.osgi</groupId> <artifactId>org.osgi.service.cm</artifactId> <version>1.5.0</version> <scope>provided</scope> </dependency> <!-- Unit Testing --> <dependency> <groupId>junit</groupId> <artifactId>junit</artifactId> <version>4.13</version> <scope>test</scope> </dependency> <dependency> <groupId>org.jmock</groupId> <artifactId>jmock-junit4</artifactId> <version>2.12.0</version> <scope>test</scope> </dependency> <dependency> <groupId>org.slf4j</groupId> <artifactId>slf4j-simple</artifactId> <version>1.7.5</version> <scope>test</scope> </dependency> <!-- Integration Testing with Pax Exam --> <dependency> <groupId>org.ops4j.pax.exam</groupId> <artifactId>pax-exam-container-forked</artifactId> <version>4.13.1</version> <scope>test</scope> </dependency> <dependency> <groupId>org.ops4j.pax.exam</groupId> <artifactId>pax-exam-junit4</artifactId> <version>4.13.1</version> <scope>test</scope> </dependency> <dependency> <groupId>org.ops4j.pax.exam</groupId> <artifactId>pax-exam-link-mvn</artifactId> <version>4.13.1</version> <scope>test</scope> </dependency> <dependency> <groupId>org.ops4j.pax.url</groupId> <artifactId>pax-url-aether</artifactId> <version>2.6.2</version> <scope>test</scope> </dependency> <dependency> <groupId>org.ops4j.pax.url</groupId> <artifactId>pax-url-wrap</artifactId> <version>2.6.2</version> <scope>test</scope> </dependency> <dependency> <groupId>org.apache.geronimo.specs</groupId> <artifactId>geronimo-atinject_1.0_spec</artifactId> <version>1.2</version> <scope>test</scope> </dependency> <dependency> <groupId>org.apache.felix</groupId> <artifactId>org.apache.felix.framework</artifactId> <version>6.0.3</version> <scope>test</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>4.2.1</version> <extensions>true</extensions> <configuration> <instructions> <Bundle-SymbolicName> ${project.artifactId} </Bundle-SymbolicName> <Bundle-Activator> ${project.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> <!-- 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> <Provide-Capability> osgi.implementation;osgi.implementation="osgi.event";uses:="org.osgi.service.event";version:Version="1.4", osgi.service;objectClass:List<String>="org.osgi.service.event.EventAdmin";uses:="org.osgi.service.event" </Provide-Capability> <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> </instructions> </configuration> </plugin> <!-- integration tests run with pax-exam --> <plugin> <artifactId>maven-failsafe-plugin</artifactId> <executions> <execution> <goals> <goal>integration-test</goal> <goal>verify</goal> </goals> </execution> </executions> <configuration> <systemProperties> <property> <name>project.bundle.file</name> <value>${bundle.file.name}</value> </property> </systemProperties> <includes> <include>**/ittests/*IT.java</include> <include>${additional.ittests}</include> </includes> </configuration> </plugin> </plugins> </build> <profiles> <profile> <id>perftest</id> <activation> <activeByDefault>false</activeByDefault> </activation> <properties> <additional.ittests>**/perftests/*IT.java</additional.ittests> </properties> </profile> </profiles> </project>