Carsten Ziegeler | 4fec096 | 2008-01-11 16:13:31 +0000 | [diff] [blame] | 1 | <!-- |
| 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 Ziegeler | bf338dd | 2008-01-03 09:11:33 +0000 | [diff] [blame] | 9 | |
Carsten Ziegeler | 4fec096 | 2008-01-11 16:13:31 +0000 | [diff] [blame] | 10 | http://www.apache.org/licenses/LICENSE-2.0 |
Carsten Ziegeler | bf338dd | 2008-01-03 09:11:33 +0000 | [diff] [blame] | 11 | |
Carsten Ziegeler | 4fec096 | 2008-01-11 16:13:31 +0000 | [diff] [blame] | 12 | 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 Ziegeler | bf338dd | 2008-01-03 09:11:33 +0000 | [diff] [blame] | 18 | --> |
Carsten Ziegeler | 4fec096 | 2008-01-11 16:13:31 +0000 | [diff] [blame] | 19 | <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 Ziegeler | baad9d9 | 2010-02-03 07:04:11 +0000 | [diff] [blame] | 20 | <parent> |
Karl Pauls | b0a1716 | 2006-11-03 09:25:08 +0000 | [diff] [blame] | 21 | <groupId>org.apache.felix</groupId> |
Carsten Ziegeler | baad9d9 | 2010-02-03 07:04:11 +0000 | [diff] [blame] | 22 | <artifactId>felix-parent</artifactId> |
Carsten Ziegeler | 051c943 | 2015-07-20 17:25:24 +0000 | [diff] [blame] | 23 | <version>3</version> |
Carsten Ziegeler | baad9d9 | 2010-02-03 07:04:11 +0000 | [diff] [blame] | 24 | <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 Ziegeler | 7698b60 | 2014-09-11 07:35:41 +0000 | [diff] [blame] | 32 | <version>1.4.3-SNAPSHOT</version> |
Carsten Ziegeler | baad9d9 | 2010-02-03 07:04:11 +0000 | [diff] [blame] | 33 | <artifactId>org.apache.felix.eventadmin</artifactId> |
Carsten Ziegeler | 4d47f1e | 2010-08-27 07:38:17 +0000 | [diff] [blame] | 34 | <scm> |
Carsten Ziegeler | 7698b60 | 2014-09-11 07:35:41 +0000 | [diff] [blame] | 35 | <connection>scm:svn:http://svn.apache.org/repos/asf/felix/trunk/eventadmin/impl</connection> |
| 36 | <developerConnection>scm:svn:https://svn.apache.org/repos/asf/felix/trunk/eventadmin/impl</developerConnection> |
| 37 | <url>http://svn.apache.org/repos/asf/felix/eventadmin/impl</url> |
Carsten Ziegeler | 4d47f1e | 2010-08-27 07:38:17 +0000 | [diff] [blame] | 38 | </scm> |
Carsten Ziegeler | 4dce797 | 2014-08-22 06:14:43 +0000 | [diff] [blame] | 39 | |
| 40 | <properties> |
| 41 | <bundle.build.name> |
| 42 | ${basedir}/target |
| 43 | </bundle.build.name> |
| 44 | <bundle.file.name> |
| 45 | ${bundle.build.name}/${project.build.finalName}.jar |
| 46 | </bundle.file.name> |
Carsten Ziegeler | 9c8475c | 2015-07-20 17:29:40 +0000 | [diff] [blame] | 47 | <felix.java.version>6</felix.java.version> |
Carsten Ziegeler | 3a1ffb1 | 2014-09-08 17:12:58 +0000 | [diff] [blame] | 48 | <!-- This is a placeholder to enable perf tests with the perftest profile --> |
| 49 | <additional.ittests>NONE</additional.ittests> |
Carsten Ziegeler | 4dce797 | 2014-08-22 06:14:43 +0000 | [diff] [blame] | 50 | </properties> |
| 51 | |
Carsten Ziegeler | baad9d9 | 2010-02-03 07:04:11 +0000 | [diff] [blame] | 52 | <dependencies> |
| 53 | <dependency> |
| 54 | <groupId>org.osgi</groupId> |
| 55 | <artifactId>org.osgi.core</artifactId> |
Carsten Ziegeler | 2a478ae | 2014-05-27 06:59:41 +0000 | [diff] [blame] | 56 | <version>5.0.0</version> |
Carsten Ziegeler | 4adc564 | 2011-03-07 09:24:40 +0000 | [diff] [blame] | 57 | <scope>provided</scope> |
Carsten Ziegeler | baad9d9 | 2010-02-03 07:04:11 +0000 | [diff] [blame] | 58 | </dependency> |
| 59 | <dependency> |
| 60 | <groupId>org.osgi</groupId> |
| 61 | <artifactId>org.osgi.compendium</artifactId> |
Carsten Ziegeler | 2a478ae | 2014-05-27 06:59:41 +0000 | [diff] [blame] | 62 | <version>5.0.0</version> |
Carsten Ziegeler | 4adc564 | 2011-03-07 09:24:40 +0000 | [diff] [blame] | 63 | <scope>provided</scope> |
Carsten Ziegeler | baad9d9 | 2010-02-03 07:04:11 +0000 | [diff] [blame] | 64 | </dependency> |
Carsten Ziegeler | 3b10746 | 2014-08-21 09:35:03 +0000 | [diff] [blame] | 65 | <!-- Unit Testing --> |
| 66 | <dependency> |
| 67 | <groupId>junit</groupId> |
| 68 | <artifactId>junit</artifactId> |
| 69 | <version>4.10</version> |
| 70 | <scope>provided</scope> |
| 71 | </dependency> |
| 72 | <dependency> |
| 73 | <groupId>org.jmock</groupId> |
| 74 | <artifactId>jmock-junit4</artifactId> |
| 75 | <version>2.5.1</version> |
| 76 | <scope>test</scope> |
| 77 | </dependency> |
| 78 | <dependency> |
| 79 | <groupId>org.slf4j</groupId> |
| 80 | <artifactId>slf4j-simple</artifactId> |
| 81 | <version>1.5.2</version> |
| 82 | <scope>test</scope> |
| 83 | </dependency> |
| 84 | <!-- Integration Testing with Pax Exam --> |
| 85 | <dependency> |
| 86 | <groupId>org.ops4j.pax.exam</groupId> |
| 87 | <artifactId>pax-exam-container-forked</artifactId> |
| 88 | <version>4.1.0</version> |
| 89 | <scope>test</scope> |
| 90 | </dependency> |
| 91 | <dependency> |
| 92 | <groupId>org.ops4j.pax.exam</groupId> |
| 93 | <artifactId>pax-exam-junit4</artifactId> |
| 94 | <version>4.1.0</version> |
| 95 | <scope>test</scope> |
| 96 | </dependency> |
| 97 | <dependency> |
| 98 | <groupId>org.ops4j.pax.exam</groupId> |
| 99 | <artifactId>pax-exam-link-mvn</artifactId> |
| 100 | <version>4.1.0</version> |
| 101 | <scope>test</scope> |
| 102 | </dependency> |
| 103 | <dependency> |
| 104 | <groupId>org.ops4j.pax.url</groupId> |
| 105 | <artifactId>pax-url-aether</artifactId> |
| 106 | <version>2.1.0</version> |
| 107 | <scope>test</scope> |
| 108 | </dependency> |
| 109 | <dependency> |
| 110 | <groupId>org.ops4j.pax.url</groupId> |
| 111 | <artifactId>pax-url-wrap</artifactId> |
| 112 | <version>2.1.0</version> |
| 113 | <scope>test</scope> |
| 114 | </dependency> |
| 115 | <dependency> |
| 116 | <groupId>org.apache.geronimo.specs</groupId> |
| 117 | <artifactId>geronimo-atinject_1.0_spec</artifactId> |
| 118 | <version>1.0</version> |
| 119 | <scope>test</scope> |
| 120 | </dependency> |
| 121 | <dependency> |
| 122 | <groupId>org.apache.felix</groupId> |
| 123 | <artifactId>org.apache.felix.framework</artifactId> |
| 124 | <version>4.4.1</version> |
| 125 | <scope>test</scope> |
| 126 | </dependency> |
Carsten Ziegeler | baad9d9 | 2010-02-03 07:04:11 +0000 | [diff] [blame] | 127 | </dependencies> |
| 128 | <build> |
Carsten Ziegeler | 515683d | 2010-08-25 17:16:18 +0000 | [diff] [blame] | 129 | <resources> |
| 130 | <resource> |
| 131 | <directory>${basedir}/src/main/resources</directory> |
| 132 | </resource> |
Carsten Ziegeler | 515683d | 2010-08-25 17:16:18 +0000 | [diff] [blame] | 133 | </resources> |
Carsten Ziegeler | baad9d9 | 2010-02-03 07:04:11 +0000 | [diff] [blame] | 134 | <plugins> |
| 135 | <plugin> |
| 136 | <groupId>org.apache.felix</groupId> |
| 137 | <artifactId>maven-bundle-plugin</artifactId> |
Carsten Ziegeler | eb89c0a | 2014-08-22 05:51:44 +0000 | [diff] [blame] | 138 | <version>2.5.0</version> |
Carsten Ziegeler | baad9d9 | 2010-02-03 07:04:11 +0000 | [diff] [blame] | 139 | <extensions>true</extensions> |
| 140 | <configuration> |
| 141 | <instructions> |
| 142 | <Bundle-SymbolicName> |
| 143 | ${pom.artifactId} |
| 144 | </Bundle-SymbolicName> |
| 145 | <Bundle-Activator> |
| 146 | ${pom.artifactId}.impl.Activator |
| 147 | </Bundle-Activator> |
| 148 | <Bundle-Vendor>The Apache Software Foundation</Bundle-Vendor> |
| 149 | <DynamicImport-Package> |
Guillaume Nodet | a58c8f7 | 2013-11-20 09:58:32 +0000 | [diff] [blame] | 150 | org.osgi.service.log;version="[1.3,2)" |
Carsten Ziegeler | baad9d9 | 2010-02-03 07:04:11 +0000 | [diff] [blame] | 151 | </DynamicImport-Package> |
Carsten Ziegeler | 828f51f | 2010-02-03 08:27:45 +0000 | [diff] [blame] | 152 | <Import-Package> |
Carsten Ziegeler | 2a478ae | 2014-05-27 06:59:41 +0000 | [diff] [blame] | 153 | org.osgi.framework;version="[1.3,2)", |
Carsten Ziegeler | 828f51f | 2010-02-03 08:27:45 +0000 | [diff] [blame] | 154 | <!-- |
| 155 | Configuration Admin is optional and if it is |
| 156 | present, version 1.2 (from R4.0) is enough |
| 157 | --> |
| 158 | org.osgi.service.cm;version="[1.2,2)";resolution:=optional, |
| 159 | |
| 160 | <!-- |
| 161 | Metatype is optional and if it is |
| 162 | present, version 1.1 (from R4.1) is enough |
| 163 | --> |
| 164 | org.osgi.service.metatype;version="[1.1,2)";resolution:=optional, |
| 165 | |
Guillaume Nodet | a58c8f7 | 2013-11-20 09:58:32 +0000 | [diff] [blame] | 166 | <!-- |
| 167 | Optional import to back the dynamic import on org.osgi.service.log |
| 168 | --> |
| 169 | org.osgi.service.log;version="[1.3,2)";resolution:=optional, |
| 170 | |
Carsten Ziegeler | 828f51f | 2010-02-03 08:27:45 +0000 | [diff] [blame] | 171 | <!-- default --> |
| 172 | * |
| 173 | </Import-Package> |
Carsten Ziegeler | 0720399 | 2010-02-16 12:38:17 +0000 | [diff] [blame] | 174 | <Export-Package>org.osgi.service.event</Export-Package> |
Carsten Ziegeler | baad9d9 | 2010-02-03 07:04:11 +0000 | [diff] [blame] | 175 | <Private-Package>org.apache.felix.eventadmin.impl.*</Private-Package> |
Guillaume Nodet | 327e255 | 2011-09-20 15:10:23 +0000 | [diff] [blame] | 176 | <Import-Service> |
| 177 | org.osgi.service.event.EventHandler;availability:=optional;multiple:=true, |
| 178 | org.osgi.service.log.LogService;availability:=optional;multiple:=false, |
| 179 | org.osgi.service.log.LogReaderService;availability:=optional;multiple:=false |
| 180 | </Import-Service> |
| 181 | <Export-Service> |
| 182 | org.osgi.service.event.EventAdmin |
| 183 | </Export-Service> |
Carsten Ziegeler | baad9d9 | 2010-02-03 07:04:11 +0000 | [diff] [blame] | 184 | <Embed-Dependency> |
Carsten Ziegeler | 2a478ae | 2014-05-27 06:59:41 +0000 | [diff] [blame] | 185 | org.osgi.core;inline="org/osgi/util/tracker/*" |
Carsten Ziegeler | baad9d9 | 2010-02-03 07:04:11 +0000 | [diff] [blame] | 186 | </Embed-Dependency> |
| 187 | </instructions> |
| 188 | </configuration> |
| 189 | </plugin> |
Carsten Ziegeler | 3a1ffb1 | 2014-09-08 17:12:58 +0000 | [diff] [blame] | 190 | <!-- integration tests run with pax-exam --> |
| 191 | <plugin> |
| 192 | <artifactId>maven-failsafe-plugin</artifactId> |
| 193 | <version>2.12</version> |
| 194 | <executions> |
| 195 | <execution> |
| 196 | <goals> |
| 197 | <goal>integration-test</goal> |
| 198 | <goal>verify</goal> |
| 199 | </goals> |
| 200 | </execution> |
| 201 | </executions> |
| 202 | <configuration> |
| 203 | <systemProperties> |
| 204 | <property> |
| 205 | <name>project.bundle.file</name> |
| 206 | <value>${bundle.file.name}</value> |
| 207 | </property> |
| 208 | </systemProperties> |
| 209 | <includes> |
| 210 | <include>**/ittests/*IT.java</include> |
| 211 | <include>${additional.ittests}</include> |
| 212 | </includes> |
| 213 | </configuration> |
| 214 | </plugin> |
Carsten Ziegeler | 372fdf3 | 2014-08-21 09:41:24 +0000 | [diff] [blame] | 215 | </plugins> |
| 216 | </build> |
Carsten Ziegeler | 3a1ffb1 | 2014-09-08 17:12:58 +0000 | [diff] [blame] | 217 | <profiles> |
| 218 | <profile> |
| 219 | <id>perftest</id> |
| 220 | <activation> |
| 221 | <activeByDefault>false</activeByDefault> |
| 222 | </activation> |
| 223 | <properties> |
| 224 | <additional.ittests>**/perftests/*IT.java</additional.ittests> |
| 225 | </properties> |
| 226 | </profile> |
| 227 | </profiles> |
Karl Pauls | 13dcf8c | 2006-08-22 21:39:30 +0000 | [diff] [blame] | 228 | </project> |