blob: 9deebc4b44ddad49137b23bd4bc4e75343f8a820 [file] [log] [blame]
Clement Escoffierfb9045d2008-10-14 10:44:18 +00001<!--
Clement Escoffierbfa74d02009-07-19 16:25:18 +00002 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
Clement Escoffier0b93f382009-07-03 13:16:24 +00009
Clement Escoffierbfa74d02009-07-19 16:25:18 +000010 http://www.apache.org/licenses/LICENSE-2.0
Clement Escoffier0b93f382009-07-03 13:16:24 +000011
Clement Escoffierbfa74d02009-07-19 16:25:18 +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.
Clement Escoffierfb9045d2008-10-14 10:44:18 +000018-->
Clement Escoffier3beb6042012-04-21 16:06:23 +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">
Clement Escoffier2f1e9482012-04-21 16:04:33 +000020 <parent>
Clement Escoffierbfa74d02009-07-19 16:25:18 +000021 <groupId>org.apache.felix</groupId>
Clement Escoffier2f1e9482012-04-21 16:04:33 +000022 <artifactId>felix-parent</artifactId>
Clement Escoffiered4ca022013-03-13 15:27:20 +000023 <version>2.1</version>
Clement Escoffier2f1e9482012-04-21 16:04:33 +000024 <relativePath>../../../pom/pom.xml</relativePath>
25 </parent>
26 <modelVersion>4.0.0</modelVersion>
27 <packaging>bundle</packaging>
28 <name>Apache Felix iPOJO</name>
29 <artifactId>org.apache.felix.ipojo</artifactId>
Clement Escoffierd87e55b2014-12-16 13:29:36 +000030 <version>1.12.2-SNAPSHOT</version>
Clement Escoffier4b5d3d52011-12-03 10:23:24 +000031
Clement Escoffier2f1e9482012-04-21 16:04:33 +000032 <properties>
33 <!--
34 1.8.2:
35 * change in the MethodInterceptor interface (FELIX-3144)
36 * change in the Factory interface (FELIX-3190)
Clement Escoffierc8bbc372012-10-28 15:20:17 +000037
38 1.8.4:
39 * change in ComponentTypeDescription (FELIX-3560)
Clement Escoffier9888f532013-05-15 13:58:22 +000040
Clement Escoffierc34ba5c2013-05-16 08:12:53 +000041 1.10.0:
Clement Escoffier9888f532013-05-15 13:58:22 +000042 * next minor version
Clement Escoffier24b42a72013-10-03 14:09:29 +000043
44 1.11.0:
45 * several changes - annotations, enum, refactoring of the dependency handler
Clement Escoffiere75706c2014-01-19 15:37:58 +000046
47 1.11.1:
48 * minor changes such as synchronization protocols
Clement Escoffiere946a382014-03-09 19:42:46 +000049
50 1.11.2:
51 * add the InstanceBundleContextAware interface
Clement Escoffier9b0f3f32014-05-07 19:04:33 +000052
53 1.12.0:
54 * change in the manipulator (frame / java 8 support). Despite it's not really an API change, it breaks
55 the compatibility.
Clement Escoffierf4a9e9a2014-12-16 10:38:30 +000056
57 1.12.1:
58 * small changes in the API
Clement Escoffier2f1e9482012-04-21 16:04:33 +000059 -->
Clement Escoffierf4a9e9a2014-12-16 10:38:30 +000060 <ipojo.package.version>1.12.1</ipojo.package.version>
61 <ipojo.extender.version>1.12.1</ipojo.extender.version>
Clement Escoffier2f1e9482012-04-21 16:04:33 +000062 </properties>
Clement Escoffier6191b082010-08-29 09:05:18 +000063
Clement Escoffier2f1e9482012-04-21 16:04:33 +000064 <description>
65 iPOJO Core bundle
66 </description>
67 <url>
68 http://ipojo.org
69 </url>
70
71 <dependencies>
72 <dependency>
73 <groupId>org.osgi</groupId>
74 <artifactId>org.osgi.core</artifactId>
Clement Escoffierf16462f2012-11-07 11:13:42 +000075 <version>4.3.1</version>
Guillaume Sauthier51571f62014-04-10 09:56:31 +000076 <scope>provided</scope>
Clement Escoffier2f1e9482012-04-21 16:04:33 +000077 </dependency>
78 <dependency>
79 <groupId>org.osgi</groupId>
80 <artifactId>org.osgi.compendium</artifactId>
Guillaume Sauthier6ed5e022013-05-30 08:09:54 +000081 <version>4.2.0</version>
Guillaume Sauthier51571f62014-04-10 09:56:31 +000082 <scope>provided</scope>
Clement Escoffier2f1e9482012-04-21 16:04:33 +000083 </dependency>
Clement Escoffiere050be02013-06-12 11:38:27 +000084 <!-- We use the FilterImpl of Felix in tests -->
85 <dependency>
86 <groupId>org.apache.felix</groupId>
87 <artifactId>org.apache.felix.framework</artifactId>
88 <version>4.2.1</version>
89 <scope>test</scope>
90 </dependency>
Clement Escoffier2f1e9482012-04-21 16:04:33 +000091 <dependency>
92 <groupId>org.apache.felix</groupId>
93 <artifactId>org.apache.felix.ipojo.metadata</artifactId>
94 <version>1.6.0</version>
95 </dependency>
96 <dependency>
Clement Escoffiere946a382014-03-09 19:42:46 +000097 <groupId>org.apache.felix</groupId>
98 <artifactId>org.apache.felix.ipojo.annotations</artifactId>
Clement Escoffier90f9a5b2014-12-16 13:28:01 +000099 <version>1.12.1</version>
Clement Escoffiere946a382014-03-09 19:42:46 +0000100 </dependency>
101 <dependency>
Clement Escoffier615c9f22014-05-04 12:36:09 +0000102 <groupId>org.ow2.asm</groupId>
Clement Escoffier2f1e9482012-04-21 16:04:33 +0000103 <artifactId>asm-all</artifactId>
Clement Escoffier615c9f22014-05-04 12:36:09 +0000104 <version>5.0.2</version>
Clement Escoffier2f1e9482012-04-21 16:04:33 +0000105 <exclusions>
106 <exclusion>
Clement Escoffier615c9f22014-05-04 12:36:09 +0000107 <groupId>org.ow2.asm</groupId>
Clement Escoffier2f1e9482012-04-21 16:04:33 +0000108 <artifactId>asm-tree</artifactId>
109 </exclusion>
110 </exclusions>
111 </dependency>
Clement Escoffieraaffec92013-03-06 15:44:12 +0000112 <dependency>
113 <groupId>org.mockito</groupId>
114 <artifactId>mockito-all</artifactId>
115 <version>1.9.5</version>
116 <scope>test</scope>
117 </dependency>
Clement Escoffier6c15d232013-05-11 15:27:05 +0000118 <dependency>
119 <groupId>org.easytesting</groupId>
120 <artifactId>fest-assert</artifactId>
121 <version>1.4</version>
122 <scope>test</scope>
123 </dependency>
Clement Escoffier2f1e9482012-04-21 16:04:33 +0000124 </dependencies>
125 <build>
126 <plugins>
127 <plugin>
128 <groupId>org.apache.maven.plugins</groupId>
129 <artifactId>maven-compiler-plugin</artifactId>
Clement Escoffieraaffec92013-03-06 15:44:12 +0000130 <version>3.0</version>
Clement Escoffier2f1e9482012-04-21 16:04:33 +0000131 <configuration>
Clement Escoffierc5b8d122013-03-04 09:01:52 +0000132 <target>1.5</target>
Clement Escoffier2f1e9482012-04-21 16:04:33 +0000133 <source>1.5</source>
Clement Escoffieraaffec92013-03-06 15:44:12 +0000134 <testTarget>1.5</testTarget>
135 <testSource>1.5</testSource>
Clement Escoffier2f1e9482012-04-21 16:04:33 +0000136 </configuration>
137 </plugin>
138 <plugin>
139 <groupId>org.apache.felix</groupId>
140 <artifactId>maven-bundle-plugin</artifactId>
Clement Escoffiered4ca022013-03-13 15:27:20 +0000141 <version>2.3.7</version>
Clement Escoffier2f1e9482012-04-21 16:04:33 +0000142 <extensions>true</extensions>
Clement Escoffierc5a08c62014-12-10 07:42:00 +0000143 <executions>
144 <execution>
145 <id>package-main-artifact</id>
146 <phase>package</phase>
147 <goals>
148 <goal>bundle</goal>
149 </goals>
150 <configuration>
151 <instructions>
152 <Bundle-Name>Apache Felix iPOJO</Bundle-Name>
153 <Bundle-Vendor>The Apache Software Foundation</Bundle-Vendor>
154 <Bundle-SymbolicName>org.apache.felix.ipojo;singleton:=true</Bundle-SymbolicName>
155 <Bundle-Description>iPOJO Core Framework</Bundle-Description>
156 <Bundle-Activator>org.apache.felix.ipojo.extender.internal.Extender</Bundle-Activator>
157 <Bundle-DocURL>
158 http://felix.apache.org/documentation/subprojects/apache-felix-ipojo.html
159 </Bundle-DocURL>
160 <IPOJO-Extension>
161 component:org.apache.felix.ipojo.ComponentFactory,
162 handler:org.apache.felix.ipojo.HandlerManagerFactory
163 </IPOJO-Extension>
164 <Import-Package>
165 org.osgi.framework;version="[1.3,2)", <!-- To support KF 2 -->
166 org.osgi.framework.wiring;version="[1.0,2.0)";resolution:=optional,
167 org.osgi.service.cm;version="[1.3,2)",
168 org.osgi.service.log;version="[1.3,2)",
169 org.osgi.util.tracker;version="[1.4,2)", <!-- BundleTracker is in R4.2 -->
170 !sun.io,
171 !net.sourceforge.cobertura.*, <!-- To support code coverage -->
172 !org.objectweb.asm.signature,
173 !org.objectweb.asm.tree
174 </Import-Package>
175 <Private-Package>
176 org.apache.felix.ipojo.handlers.architecture,
177 org.apache.felix.ipojo.handlers.lifecycle.callback,
178 org.apache.felix.ipojo.handlers.lifecycle.controller,
179 org.apache.felix.ipojo.handlers.context,
180 org.apache.felix.ipojo.extender.internal*,
181 org.objectweb.asm;-split-package:=merge-last,
182 org.objectweb.asm.commons;-split-package:=merge-last,
183 org.apache.felix.ipojo.metadata,
184 org.apache.felix.ipojo.dependency.impl
185 </Private-Package>
186 <Export-Package>
187 org.apache.felix.ipojo; version="${ipojo.package.version}",
188 org.apache.felix.ipojo.configuration; version="${ipojo.package.version}",
189 org.apache.felix.ipojo.metadata; version="${ipojo.package.version}",
190 org.apache.felix.ipojo.architecture; version="${ipojo.package.version}",
191 org.apache.felix.ipojo.extender;
192 version="${ipojo.package.version}";-split-package:=merge-first,
193 org.apache.felix.ipojo.extender.builder; version="${ipojo.package.version}",
194 org.apache.felix.ipojo.extender.queue; version="${ipojo.package.version}",
195 org.apache.felix.ipojo.extender.queue.debug; version="${ipojo.package.version}",
196 org.apache.felix.ipojo.parser; version="${ipojo.package.version}",
197 org.apache.felix.ipojo.util; version="${ipojo.package.version}",
198 org.apache.felix.ipojo.handlers.dependency; version="${ipojo.package.version}",
199 org.apache.felix.ipojo.handlers.providedservice.*; version="${ipojo.package.version}",
200 org.apache.felix.ipojo.handlers.configuration; version="${ipojo.package.version}",
201 org.apache.felix.ipojo.context; version="${ipojo.package.version}",
202 org.apache.felix.ipojo.dependency.interceptors; version="${ipojo.package.version}",
203 org.apache.felix.ipojo.annotations; version="${ipojo.package.version}",
204 <!-- Compendium packages -->
205 org.osgi.service.cm; version=1.3,
206 org.osgi.service.log; version=1.3
207 </Export-Package>
Clement Escoffierbf884592013-05-11 15:48:09 +0000208
Clement Escoffierc5a08c62014-12-10 07:42:00 +0000209 <!-- OSGi Extender Namespace -->
210 <Provide-Capability>osgi.extender;
211 osgi.extender="org.apache.felix.ipojo";
212 version:Version="${ipojo.extender.version}"
213 </Provide-Capability>
214 <_donotcopy>(CVS|.svn|.+.bak|~.+|metadata.xml)</_donotcopy>
215 </instructions>
216 </configuration>
217 </execution>
218 <execution>
219 <id>package-bare-artifact</id>
220 <phase>package</phase>
221 <goals>
222 <goal>bundle</goal>
223 </goals>
224 <configuration>
225 <classifier>bare</classifier>
226 <instructions>
227 <Bundle-Name>Apache Felix iPOJO</Bundle-Name>
228 <Bundle-Vendor>The Apache Software Foundation</Bundle-Vendor>
229 <Bundle-SymbolicName>org.apache.felix.ipojo;singleton:=true</Bundle-SymbolicName>
230 <Bundle-Description>iPOJO Core Framework</Bundle-Description>
231 <Bundle-Activator>org.apache.felix.ipojo.extender.internal.Extender</Bundle-Activator>
232 <Bundle-DocURL>
233 http://felix.apache.org/documentation/subprojects/apache-felix-ipojo.html
234 </Bundle-DocURL>
235 <IPOJO-Extension>
236 component:org.apache.felix.ipojo.ComponentFactory,
237 handler:org.apache.felix.ipojo.HandlerManagerFactory
238 </IPOJO-Extension>
239 <Import-Package>
240 org.osgi.framework;version="[1.3,2)", <!-- To support KF 2 -->
241 org.osgi.framework.wiring;version="[1.0,2.0)";resolution:=optional,
242 org.osgi.service.cm;version="[1.3,2)",
243 org.osgi.service.log;version="[1.3,2)",
244 org.osgi.util.tracker;version="[1.4,2)", <!-- BundleTracker is in R4.2 -->
245 !sun.io,
246 !net.sourceforge.cobertura.*, <!-- To support code coverage -->
247 !org.objectweb.asm.signature,
248 !org.objectweb.asm.tree
249 </Import-Package>
250 <Private-Package>
251 org.apache.felix.ipojo.handlers.architecture,
252 org.apache.felix.ipojo.handlers.lifecycle.callback,
253 org.apache.felix.ipojo.handlers.lifecycle.controller,
254 org.apache.felix.ipojo.handlers.context,
255 org.apache.felix.ipojo.extender.internal*,
256 org.objectweb.asm;-split-package:=merge-last,
257 org.objectweb.asm.commons;-split-package:=merge-last,
258 org.apache.felix.ipojo.metadata,
259 org.apache.felix.ipojo.dependency.impl
260 </Private-Package>
261 <Export-Package>
262 org.apache.felix.ipojo; version="${ipojo.package.version}",
263 org.apache.felix.ipojo.configuration; version="${ipojo.package.version}",
264 org.apache.felix.ipojo.metadata; version="${ipojo.package.version}",
265 org.apache.felix.ipojo.architecture; version="${ipojo.package.version}",
266 org.apache.felix.ipojo.extender;
267 version="${ipojo.package.version}";-split-package:=merge-first,
268 org.apache.felix.ipojo.extender.builder; version="${ipojo.package.version}",
269 org.apache.felix.ipojo.extender.queue; version="${ipojo.package.version}",
270 org.apache.felix.ipojo.extender.queue.debug; version="${ipojo.package.version}",
271 org.apache.felix.ipojo.parser; version="${ipojo.package.version}",
272 org.apache.felix.ipojo.util; version="${ipojo.package.version}",
273 org.apache.felix.ipojo.handlers.dependency; version="${ipojo.package.version}",
274 org.apache.felix.ipojo.handlers.providedservice.*; version="${ipojo.package.version}",
275 org.apache.felix.ipojo.handlers.configuration; version="${ipojo.package.version}",
276 org.apache.felix.ipojo.context; version="${ipojo.package.version}",
277 org.apache.felix.ipojo.dependency.interceptors; version="${ipojo.package.version}",
278 org.apache.felix.ipojo.annotations; version="${ipojo.package.version}"
279 <!-- the bare bundle does not includes any packages form the compendium -->
280 </Export-Package>
281
282 <!-- OSGi Extender Namespace -->
283 <Provide-Capability>osgi.extender;
284 osgi.extender="org.apache.felix.ipojo";
285 version:Version="${ipojo.extender.version}"
286 </Provide-Capability>
287 <_donotcopy>(CVS|.svn|.+.bak|~.+|metadata.xml)</_donotcopy>
288 </instructions>
289 </configuration>
290 </execution>
291 </executions>
292
Clement Escoffier2f1e9482012-04-21 16:04:33 +0000293 </plugin>
294 <plugin>
295 <groupId>org.apache.felix</groupId>
296 <artifactId>maven-ipojo-plugin</artifactId>
Clement Escoffier0babc1e2014-05-12 11:46:43 +0000297 <version>1.12.0</version>
Clement Escoffier2f1e9482012-04-21 16:04:33 +0000298 <executions>
299 <execution>
Clement Escoffierc5a08c62014-12-10 07:42:00 +0000300 <id>main-artifact-manipulation</id>
Clement Escoffier2f1e9482012-04-21 16:04:33 +0000301 <goals>
302 <goal>ipojo-bundle</goal>
303 </goals>
304 <configuration>
305 <ignoreAnnotations>true</ignoreAnnotations>
306 </configuration>
307 </execution>
Clement Escoffierc5a08c62014-12-10 07:42:00 +0000308 <execution>
309 <id>bare-artifact-manipulation</id>
310 <goals>
311 <goal>ipojo-bundle</goal>
312 </goals>
313 <configuration>
314 <!--<classifier>bare</classifier>-->
315 <input-classifier>bare</input-classifier>
316 <ignoreAnnotations>true</ignoreAnnotations>
317 </configuration>
318 </execution>
Clement Escoffier2f1e9482012-04-21 16:04:33 +0000319 </executions>
320 </plugin>
321 <plugin>
Clement Escoffier2f1e9482012-04-21 16:04:33 +0000322 <groupId>org.apache.maven.plugins</groupId>
323 <artifactId>maven-checkstyle-plugin</artifactId>
Guillaume Sauthierc05747c2013-07-01 15:32:30 +0000324 <version>2.10</version>
Clement Escoffier2f1e9482012-04-21 16:04:33 +0000325 <configuration>
326 <enableRulesSummary>false</enableRulesSummary>
327 <violationSeverity>warning</violationSeverity>
328 <configLocation>http://felix.apache.org/ipojo/dev/checkstyle_ipojo.xml</configLocation>
329 </configuration>
330 </plugin>
Clement Escoffiered4ca022013-03-13 15:27:20 +0000331 <plugin>
332 <groupId>org.apache.rat</groupId>
333 <artifactId>apache-rat-plugin</artifactId>
334 <executions>
335 <execution>
336 <phase>verify</phase>
337 <goals>
338 <goal>check</goal>
339 </goals>
340 </execution>
341 </executions>
342 <configuration>
343 <!-- check src only (except remote resources additions) -->
344 <includes>
345 <include>src/**</include>
346 </includes>
347 <excludes>
348 <exclude>src/main/appended-resources/**</exclude>
349 <exclude>**/manipulation/MANIFEST.MF</exclude> <!-- This file is used by tests -->
350 </excludes>
351 </configuration>
352 </plugin>
Clement Escoffiere6237552013-03-20 09:51:42 +0000353 <plugin>
354 <groupId>org.codehaus.mojo</groupId>
355 <artifactId>animal-sniffer-maven-plugin</artifactId>
356 <version>1.7</version>
357 <configuration>
358 <signature>
359 <groupId>org.codehaus.mojo.signature</groupId>
360 <artifactId>java15</artifactId>
361 <version>1.0</version>
362 </signature>
363 </configuration>
364 <executions>
365 <execution>
366 <phase>test</phase>
367 <goals>
368 <goal>check</goal>
369 </goals>
370 </execution>
371 </executions>
372 </plugin>
Clement Escoffier2f1e9482012-04-21 16:04:33 +0000373 </plugins>
Clement Escoffier2f1e9482012-04-21 16:04:33 +0000374 </build>
Clement Escoffierbfa74d02009-07-19 16:25:18 +0000375</project>