blob: 12f6fcbffe823a51b7c287a03742671bfd5627f6 [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 Ziegelerce9e5b22014-08-22 06:16:04 +000032 <version>1.4.1-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 Ziegelerce9e5b22014-08-22 06:16:04 +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>
47 </properties>
48
Carsten Ziegelerbaad9d92010-02-03 07:04:11 +000049 <dependencies>
50 <dependency>
51 <groupId>org.osgi</groupId>
52 <artifactId>org.osgi.core</artifactId>
Carsten Ziegeler2a478ae2014-05-27 06:59:41 +000053 <version>5.0.0</version>
Carsten Ziegeler4adc5642011-03-07 09:24:40 +000054 <scope>provided</scope>
Carsten Ziegelerbaad9d92010-02-03 07:04:11 +000055 </dependency>
56 <dependency>
57 <groupId>org.osgi</groupId>
58 <artifactId>org.osgi.compendium</artifactId>
Carsten Ziegeler2a478ae2014-05-27 06:59:41 +000059 <version>5.0.0</version>
Carsten Ziegeler4adc5642011-03-07 09:24:40 +000060 <scope>provided</scope>
Carsten Ziegelerbaad9d92010-02-03 07:04:11 +000061 </dependency>
Carsten Ziegeler3b107462014-08-21 09:35:03 +000062 <!-- 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 Ziegelerbaad9d92010-02-03 07:04:11 +0000124 </dependencies>
125 <build>
Carsten Ziegeler515683d2010-08-25 17:16:18 +0000126 <resources>
127 <resource>
128 <directory>${basedir}/src/main/resources</directory>
129 </resource>
Carsten Ziegeler515683d2010-08-25 17:16:18 +0000130 </resources>
Carsten Ziegelerbaad9d92010-02-03 07:04:11 +0000131 <plugins>
132 <plugin>
Carsten Ziegeler2a478ae2014-05-27 06:59:41 +0000133 <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 Ziegelerbaad9d92010-02-03 07:04:11 +0000141 <groupId>org.apache.felix</groupId>
142 <artifactId>maven-bundle-plugin</artifactId>
Carsten Ziegelereb89c0a2014-08-22 05:51:44 +0000143 <version>2.5.0</version>
Carsten Ziegelerbaad9d92010-02-03 07:04:11 +0000144 <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 Nodeta58c8f72013-11-20 09:58:32 +0000155 org.osgi.service.log;version="[1.3,2)"
Carsten Ziegelerbaad9d92010-02-03 07:04:11 +0000156 </DynamicImport-Package>
Carsten Ziegeler828f51f2010-02-03 08:27:45 +0000157 <Import-Package>
Carsten Ziegeler2a478ae2014-05-27 06:59:41 +0000158 org.osgi.framework;version="[1.3,2)",
Carsten Ziegeler828f51f2010-02-03 08:27:45 +0000159 <!--
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 Nodeta58c8f72013-11-20 09:58:32 +0000171 <!--
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 Ziegeler828f51f2010-02-03 08:27:45 +0000176 <!-- default -->
177 *
178 </Import-Package>
Carsten Ziegeler07203992010-02-16 12:38:17 +0000179 <Export-Package>org.osgi.service.event</Export-Package>
Carsten Ziegelerbaad9d92010-02-03 07:04:11 +0000180 <Private-Package>org.apache.felix.eventadmin.impl.*</Private-Package>
Guillaume Nodet327e2552011-09-20 15:10:23 +0000181 <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 Ziegelerbaad9d92010-02-03 07:04:11 +0000189 <Embed-Dependency>
Carsten Ziegeler2a478ae2014-05-27 06:59:41 +0000190 org.osgi.core;inline="org/osgi/util/tracker/*"
Carsten Ziegelerbaad9d92010-02-03 07:04:11 +0000191 </Embed-Dependency>
192 </instructions>
193 </configuration>
194 </plugin>
Carsten Ziegeler3b107462014-08-21 09:35:03 +0000195 <!-- 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 Ziegeler4dce7972014-08-22 06:14:43 +0000210 <name>project.bundle.file</name>
211 <value>${bundle.file.name}</value>
Carsten Ziegeler3b107462014-08-21 09:35:03 +0000212 </property>
213 </systemProperties>
214 <includes>
215 <include>**/*IT.java</include>
216 </includes>
217 </configuration>
218 </plugin>
Carsten Ziegeler372fdf32014-08-21 09:41:24 +0000219 </plugins>
220 </build>
Karl Pauls13dcf8c2006-08-22 21:39:30 +0000221</project>