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