blob: db6f0b3b8f1e263daf1e375d2b6e685123ce6e7c [file] [log] [blame]
Carsten Ziegeler4fec0962008-01-11 16:13:31 +00001<!--
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 Ziegelerbf338dd2008-01-03 09:11:33 +00009
Carsten Ziegeler4fec0962008-01-11 16:13:31 +000010 http://www.apache.org/licenses/LICENSE-2.0
Carsten Ziegelerbf338dd2008-01-03 09:11:33 +000011
Carsten Ziegeler4fec0962008-01-11 16:13:31 +000012 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 Ziegelerbf338dd2008-01-03 09:11:33 +000018-->
Carsten Ziegeler4fec0962008-01-11 16:13:31 +000019<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 Ziegelerbaad9d92010-02-03 07:04:11 +000020 <parent>
Karl Paulsb0a17162006-11-03 09:25:08 +000021 <groupId>org.apache.felix</groupId>
Carsten Ziegelerbaad9d92010-02-03 07:04:11 +000022 <artifactId>felix-parent</artifactId>
Carsten Ziegeler051c9432015-07-20 17:25:24 +000023 <version>3</version>
Carsten Ziegelerbaad9d92010-02-03 07:04:11 +000024 <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 Ziegelerc5585fe2015-08-07 00:58:35 +000032 <version>1.4.5-SNAPSHOT</version>
Carsten Ziegelerbaad9d92010-02-03 07:04:11 +000033 <artifactId>org.apache.felix.eventadmin</artifactId>
Carsten Ziegeler4d47f1e2010-08-27 07:38:17 +000034 <scm>
Carsten Ziegelerc5585fe2015-08-07 00:58:35 +000035 <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 Ziegeler4d47f1e2010-08-27 07:38:17 +000038 </scm>
Carsten Ziegeler4dce7972014-08-22 06:14:43 +000039
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 Ziegeler9c8475c2015-07-20 17:29:40 +000047 <felix.java.version>6</felix.java.version>
Carsten Ziegeler3a1ffb12014-09-08 17:12:58 +000048 <!-- This is a placeholder to enable perf tests with the perftest profile -->
49 <additional.ittests>NONE</additional.ittests>
Carsten Ziegeler4dce7972014-08-22 06:14:43 +000050 </properties>
51
Carsten Ziegelerbaad9d92010-02-03 07:04:11 +000052 <dependencies>
53 <dependency>
54 <groupId>org.osgi</groupId>
55 <artifactId>org.osgi.core</artifactId>
Carsten Ziegeler2a478ae2014-05-27 06:59:41 +000056 <version>5.0.0</version>
Carsten Ziegeler4adc5642011-03-07 09:24:40 +000057 <scope>provided</scope>
Carsten Ziegelerbaad9d92010-02-03 07:04:11 +000058 </dependency>
59 <dependency>
60 <groupId>org.osgi</groupId>
61 <artifactId>org.osgi.compendium</artifactId>
Carsten Ziegeler2a478ae2014-05-27 06:59:41 +000062 <version>5.0.0</version>
Carsten Ziegeler4adc5642011-03-07 09:24:40 +000063 <scope>provided</scope>
Carsten Ziegelerbaad9d92010-02-03 07:04:11 +000064 </dependency>
Carsten Ziegeler3b107462014-08-21 09:35:03 +000065 <!-- 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 Ziegelerbaad9d92010-02-03 07:04:11 +0000127 </dependencies>
128 <build>
Carsten Ziegeler515683d2010-08-25 17:16:18 +0000129 <resources>
130 <resource>
131 <directory>${basedir}/src/main/resources</directory>
132 </resource>
Carsten Ziegeler515683d2010-08-25 17:16:18 +0000133 </resources>
Carsten Ziegelerbaad9d92010-02-03 07:04:11 +0000134 <plugins>
135 <plugin>
136 <groupId>org.apache.felix</groupId>
137 <artifactId>maven-bundle-plugin</artifactId>
Carsten Ziegelereb89c0a2014-08-22 05:51:44 +0000138 <version>2.5.0</version>
Carsten Ziegelerbaad9d92010-02-03 07:04:11 +0000139 <extensions>true</extensions>
140 <configuration>
141 <instructions>
142 <Bundle-SymbolicName>
Carsten Ziegeler16da6a42015-08-07 00:57:14 +0000143 ${project.artifactId}
Carsten Ziegelerbaad9d92010-02-03 07:04:11 +0000144 </Bundle-SymbolicName>
145 <Bundle-Activator>
Carsten Ziegeler16da6a42015-08-07 00:57:14 +0000146 ${project.artifactId}.impl.Activator
Carsten Ziegelerbaad9d92010-02-03 07:04:11 +0000147 </Bundle-Activator>
148 <Bundle-Vendor>The Apache Software Foundation</Bundle-Vendor>
149 <DynamicImport-Package>
Guillaume Nodeta58c8f72013-11-20 09:58:32 +0000150 org.osgi.service.log;version="[1.3,2)"
Carsten Ziegelerbaad9d92010-02-03 07:04:11 +0000151 </DynamicImport-Package>
Carsten Ziegeler828f51f2010-02-03 08:27:45 +0000152 <Import-Package>
Carsten Ziegeler2a478ae2014-05-27 06:59:41 +0000153 org.osgi.framework;version="[1.3,2)",
Carsten Ziegeler828f51f2010-02-03 08:27:45 +0000154 <!--
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 Nodeta58c8f72013-11-20 09:58:32 +0000166 <!--
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 Ziegeler828f51f2010-02-03 08:27:45 +0000171 <!-- default -->
172 *
173 </Import-Package>
Carsten Ziegeler07203992010-02-16 12:38:17 +0000174 <Export-Package>org.osgi.service.event</Export-Package>
Carsten Ziegelerbaad9d92010-02-03 07:04:11 +0000175 <Private-Package>org.apache.felix.eventadmin.impl.*</Private-Package>
Guillaume Nodet327e2552011-09-20 15:10:23 +0000176 <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 Ziegelerbaad9d92010-02-03 07:04:11 +0000184 <Embed-Dependency>
Carsten Ziegeler2a478ae2014-05-27 06:59:41 +0000185 org.osgi.core;inline="org/osgi/util/tracker/*"
Carsten Ziegelerbaad9d92010-02-03 07:04:11 +0000186 </Embed-Dependency>
187 </instructions>
188 </configuration>
189 </plugin>
Carsten Ziegeler3a1ffb12014-09-08 17:12:58 +0000190 <!-- 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 Ziegeler372fdf32014-08-21 09:41:24 +0000215 </plugins>
216 </build>
Carsten Ziegeler3a1ffb12014-09-08 17:12:58 +0000217 <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 Pauls13dcf8c2006-08-22 21:39:30 +0000228</project>