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