blob: 515e7400abf137486c9e249cc290b73d96696cbf [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 Ziegelerc712e0a2011-07-13 14:06:13 +000023 <version>2.1</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 Ziegeler7698b602014-09-11 07:35:41 +000032 <version>1.4.3-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 Ziegeler7698b602014-09-11 07:35:41 +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 Ziegeler3a1ffb12014-09-08 17:12:58 +000047 <!-- This is a placeholder to enable perf tests with the perftest profile -->
48 <additional.ittests>NONE</additional.ittests>
Carsten Ziegeler4dce7972014-08-22 06:14:43 +000049 </properties>
50
Carsten Ziegelerbaad9d92010-02-03 07:04:11 +000051 <dependencies>
52 <dependency>
53 <groupId>org.osgi</groupId>
54 <artifactId>org.osgi.core</artifactId>
Carsten Ziegeler2a478ae2014-05-27 06:59:41 +000055 <version>5.0.0</version>
Carsten Ziegeler4adc5642011-03-07 09:24:40 +000056 <scope>provided</scope>
Carsten Ziegelerbaad9d92010-02-03 07:04:11 +000057 </dependency>
58 <dependency>
59 <groupId>org.osgi</groupId>
60 <artifactId>org.osgi.compendium</artifactId>
Carsten Ziegeler2a478ae2014-05-27 06:59:41 +000061 <version>5.0.0</version>
Carsten Ziegeler4adc5642011-03-07 09:24:40 +000062 <scope>provided</scope>
Carsten Ziegelerbaad9d92010-02-03 07:04:11 +000063 </dependency>
Carsten Ziegeler3b107462014-08-21 09:35:03 +000064 <!-- 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 Ziegelerbaad9d92010-02-03 07:04:11 +0000126 </dependencies>
127 <build>
Carsten Ziegeler515683d2010-08-25 17:16:18 +0000128 <resources>
129 <resource>
130 <directory>${basedir}/src/main/resources</directory>
131 </resource>
Carsten Ziegeler515683d2010-08-25 17:16:18 +0000132 </resources>
Carsten Ziegelerbaad9d92010-02-03 07:04:11 +0000133 <plugins>
134 <plugin>
Carsten Ziegeler2a478ae2014-05-27 06:59:41 +0000135 <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 Ziegelerbaad9d92010-02-03 07:04:11 +0000143 <groupId>org.apache.felix</groupId>
144 <artifactId>maven-bundle-plugin</artifactId>
Carsten Ziegelereb89c0a2014-08-22 05:51:44 +0000145 <version>2.5.0</version>
Carsten Ziegelerbaad9d92010-02-03 07:04:11 +0000146 <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 Nodeta58c8f72013-11-20 09:58:32 +0000157 org.osgi.service.log;version="[1.3,2)"
Carsten Ziegelerbaad9d92010-02-03 07:04:11 +0000158 </DynamicImport-Package>
Carsten Ziegeler828f51f2010-02-03 08:27:45 +0000159 <Import-Package>
Carsten Ziegeler2a478ae2014-05-27 06:59:41 +0000160 org.osgi.framework;version="[1.3,2)",
Carsten Ziegeler828f51f2010-02-03 08:27:45 +0000161 <!--
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 Nodeta58c8f72013-11-20 09:58:32 +0000173 <!--
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 Ziegeler828f51f2010-02-03 08:27:45 +0000178 <!-- default -->
179 *
180 </Import-Package>
Carsten Ziegeler07203992010-02-16 12:38:17 +0000181 <Export-Package>org.osgi.service.event</Export-Package>
Carsten Ziegelerbaad9d92010-02-03 07:04:11 +0000182 <Private-Package>org.apache.felix.eventadmin.impl.*</Private-Package>
Guillaume Nodet327e2552011-09-20 15:10:23 +0000183 <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 Ziegelerbaad9d92010-02-03 07:04:11 +0000191 <Embed-Dependency>
Carsten Ziegeler2a478ae2014-05-27 06:59:41 +0000192 org.osgi.core;inline="org/osgi/util/tracker/*"
Carsten Ziegelerbaad9d92010-02-03 07:04:11 +0000193 </Embed-Dependency>
194 </instructions>
195 </configuration>
196 </plugin>
Carsten Ziegeler3a1ffb12014-09-08 17:12:58 +0000197 <!-- 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 Ziegeler372fdf32014-08-21 09:41:24 +0000222 </plugins>
223 </build>
Carsten Ziegeler3a1ffb12014-09-08 17:12:58 +0000224 <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 Pauls13dcf8c2006-08-22 21:39:30 +0000235</project>