blob: 884e34542f244e73e454d5864e00d6cdcf4f7ed4 [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 Escoffier1e35ff12014-05-12 11:47:05 +000030 <version>1.12.1-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 Escoffier2f1e9482012-04-21 16:04:33 +000056 -->
Clement Escoffier9b0f3f32014-05-07 19:04:33 +000057 <ipojo.package.version>1.12.0</ipojo.package.version>
58 <ipojo.extender.version>1.12.0</ipojo.extender.version>
Clement Escoffier2f1e9482012-04-21 16:04:33 +000059 </properties>
Clement Escoffier6191b082010-08-29 09:05:18 +000060
Clement Escoffier2f1e9482012-04-21 16:04:33 +000061 <description>
62 iPOJO Core bundle
63 </description>
64 <url>
65 http://ipojo.org
66 </url>
67
68 <dependencies>
69 <dependency>
70 <groupId>org.osgi</groupId>
71 <artifactId>org.osgi.core</artifactId>
Clement Escoffierf16462f2012-11-07 11:13:42 +000072 <version>4.3.1</version>
Guillaume Sauthier51571f62014-04-10 09:56:31 +000073 <scope>provided</scope>
Clement Escoffier2f1e9482012-04-21 16:04:33 +000074 </dependency>
75 <dependency>
76 <groupId>org.osgi</groupId>
77 <artifactId>org.osgi.compendium</artifactId>
Guillaume Sauthier6ed5e022013-05-30 08:09:54 +000078 <version>4.2.0</version>
Guillaume Sauthier51571f62014-04-10 09:56:31 +000079 <scope>provided</scope>
Clement Escoffier2f1e9482012-04-21 16:04:33 +000080 </dependency>
Clement Escoffiere050be02013-06-12 11:38:27 +000081 <!-- We use the FilterImpl of Felix in tests -->
82 <dependency>
83 <groupId>org.apache.felix</groupId>
84 <artifactId>org.apache.felix.framework</artifactId>
85 <version>4.2.1</version>
86 <scope>test</scope>
87 </dependency>
Clement Escoffier2f1e9482012-04-21 16:04:33 +000088 <dependency>
89 <groupId>org.apache.felix</groupId>
90 <artifactId>org.apache.felix.ipojo.metadata</artifactId>
91 <version>1.6.0</version>
92 </dependency>
93 <dependency>
Clement Escoffiere946a382014-03-09 19:42:46 +000094 <groupId>org.apache.felix</groupId>
95 <artifactId>org.apache.felix.ipojo.annotations</artifactId>
Clement Escoffier0babc1e2014-05-12 11:46:43 +000096 <version>1.12.0</version>
Clement Escoffiere946a382014-03-09 19:42:46 +000097 </dependency>
98 <dependency>
Clement Escoffier615c9f22014-05-04 12:36:09 +000099 <groupId>org.ow2.asm</groupId>
Clement Escoffier2f1e9482012-04-21 16:04:33 +0000100 <artifactId>asm-all</artifactId>
Clement Escoffier615c9f22014-05-04 12:36:09 +0000101 <version>5.0.2</version>
Clement Escoffier2f1e9482012-04-21 16:04:33 +0000102 <exclusions>
103 <exclusion>
Clement Escoffier615c9f22014-05-04 12:36:09 +0000104 <groupId>org.ow2.asm</groupId>
Clement Escoffier2f1e9482012-04-21 16:04:33 +0000105 <artifactId>asm-tree</artifactId>
106 </exclusion>
107 </exclusions>
108 </dependency>
Clement Escoffieraaffec92013-03-06 15:44:12 +0000109 <dependency>
110 <groupId>org.mockito</groupId>
111 <artifactId>mockito-all</artifactId>
112 <version>1.9.5</version>
113 <scope>test</scope>
114 </dependency>
Clement Escoffier6c15d232013-05-11 15:27:05 +0000115 <dependency>
116 <groupId>org.easytesting</groupId>
117 <artifactId>fest-assert</artifactId>
118 <version>1.4</version>
119 <scope>test</scope>
120 </dependency>
Clement Escoffier2f1e9482012-04-21 16:04:33 +0000121 </dependencies>
122 <build>
123 <plugins>
124 <plugin>
125 <groupId>org.apache.maven.plugins</groupId>
126 <artifactId>maven-compiler-plugin</artifactId>
Clement Escoffieraaffec92013-03-06 15:44:12 +0000127 <version>3.0</version>
Clement Escoffier2f1e9482012-04-21 16:04:33 +0000128 <configuration>
Clement Escoffierc5b8d122013-03-04 09:01:52 +0000129 <target>1.5</target>
Clement Escoffier2f1e9482012-04-21 16:04:33 +0000130 <source>1.5</source>
Clement Escoffieraaffec92013-03-06 15:44:12 +0000131 <testTarget>1.5</testTarget>
132 <testSource>1.5</testSource>
Clement Escoffier2f1e9482012-04-21 16:04:33 +0000133 </configuration>
134 </plugin>
135 <plugin>
136 <groupId>org.apache.felix</groupId>
137 <artifactId>maven-bundle-plugin</artifactId>
Clement Escoffiered4ca022013-03-13 15:27:20 +0000138 <version>2.3.7</version>
Clement Escoffier2f1e9482012-04-21 16:04:33 +0000139 <extensions>true</extensions>
Clement Escoffierc5a08c62014-12-10 07:42:00 +0000140 <executions>
141 <execution>
142 <id>package-main-artifact</id>
143 <phase>package</phase>
144 <goals>
145 <goal>bundle</goal>
146 </goals>
147 <configuration>
148 <instructions>
149 <Bundle-Name>Apache Felix iPOJO</Bundle-Name>
150 <Bundle-Vendor>The Apache Software Foundation</Bundle-Vendor>
151 <Bundle-SymbolicName>org.apache.felix.ipojo;singleton:=true</Bundle-SymbolicName>
152 <Bundle-Description>iPOJO Core Framework</Bundle-Description>
153 <Bundle-Activator>org.apache.felix.ipojo.extender.internal.Extender</Bundle-Activator>
154 <Bundle-DocURL>
155 http://felix.apache.org/documentation/subprojects/apache-felix-ipojo.html
156 </Bundle-DocURL>
157 <IPOJO-Extension>
158 component:org.apache.felix.ipojo.ComponentFactory,
159 handler:org.apache.felix.ipojo.HandlerManagerFactory
160 </IPOJO-Extension>
161 <Import-Package>
162 org.osgi.framework;version="[1.3,2)", <!-- To support KF 2 -->
163 org.osgi.framework.wiring;version="[1.0,2.0)";resolution:=optional,
164 org.osgi.service.cm;version="[1.3,2)",
165 org.osgi.service.log;version="[1.3,2)",
166 org.osgi.util.tracker;version="[1.4,2)", <!-- BundleTracker is in R4.2 -->
167 !sun.io,
168 !net.sourceforge.cobertura.*, <!-- To support code coverage -->
169 !org.objectweb.asm.signature,
170 !org.objectweb.asm.tree
171 </Import-Package>
172 <Private-Package>
173 org.apache.felix.ipojo.handlers.architecture,
174 org.apache.felix.ipojo.handlers.lifecycle.callback,
175 org.apache.felix.ipojo.handlers.lifecycle.controller,
176 org.apache.felix.ipojo.handlers.context,
177 org.apache.felix.ipojo.extender.internal*,
178 org.objectweb.asm;-split-package:=merge-last,
179 org.objectweb.asm.commons;-split-package:=merge-last,
180 org.apache.felix.ipojo.metadata,
181 org.apache.felix.ipojo.dependency.impl
182 </Private-Package>
183 <Export-Package>
184 org.apache.felix.ipojo; version="${ipojo.package.version}",
185 org.apache.felix.ipojo.configuration; version="${ipojo.package.version}",
186 org.apache.felix.ipojo.metadata; version="${ipojo.package.version}",
187 org.apache.felix.ipojo.architecture; version="${ipojo.package.version}",
188 org.apache.felix.ipojo.extender;
189 version="${ipojo.package.version}";-split-package:=merge-first,
190 org.apache.felix.ipojo.extender.builder; version="${ipojo.package.version}",
191 org.apache.felix.ipojo.extender.queue; version="${ipojo.package.version}",
192 org.apache.felix.ipojo.extender.queue.debug; version="${ipojo.package.version}",
193 org.apache.felix.ipojo.parser; version="${ipojo.package.version}",
194 org.apache.felix.ipojo.util; version="${ipojo.package.version}",
195 org.apache.felix.ipojo.handlers.dependency; version="${ipojo.package.version}",
196 org.apache.felix.ipojo.handlers.providedservice.*; version="${ipojo.package.version}",
197 org.apache.felix.ipojo.handlers.configuration; version="${ipojo.package.version}",
198 org.apache.felix.ipojo.context; version="${ipojo.package.version}",
199 org.apache.felix.ipojo.dependency.interceptors; version="${ipojo.package.version}",
200 org.apache.felix.ipojo.annotations; version="${ipojo.package.version}",
201 <!-- Compendium packages -->
202 org.osgi.service.cm; version=1.3,
203 org.osgi.service.log; version=1.3
204 </Export-Package>
Clement Escoffierbf884592013-05-11 15:48:09 +0000205
Clement Escoffierc5a08c62014-12-10 07:42:00 +0000206 <!-- OSGi Extender Namespace -->
207 <Provide-Capability>osgi.extender;
208 osgi.extender="org.apache.felix.ipojo";
209 version:Version="${ipojo.extender.version}"
210 </Provide-Capability>
211 <_donotcopy>(CVS|.svn|.+.bak|~.+|metadata.xml)</_donotcopy>
212 </instructions>
213 </configuration>
214 </execution>
215 <execution>
216 <id>package-bare-artifact</id>
217 <phase>package</phase>
218 <goals>
219 <goal>bundle</goal>
220 </goals>
221 <configuration>
222 <classifier>bare</classifier>
223 <instructions>
224 <Bundle-Name>Apache Felix iPOJO</Bundle-Name>
225 <Bundle-Vendor>The Apache Software Foundation</Bundle-Vendor>
226 <Bundle-SymbolicName>org.apache.felix.ipojo;singleton:=true</Bundle-SymbolicName>
227 <Bundle-Description>iPOJO Core Framework</Bundle-Description>
228 <Bundle-Activator>org.apache.felix.ipojo.extender.internal.Extender</Bundle-Activator>
229 <Bundle-DocURL>
230 http://felix.apache.org/documentation/subprojects/apache-felix-ipojo.html
231 </Bundle-DocURL>
232 <IPOJO-Extension>
233 component:org.apache.felix.ipojo.ComponentFactory,
234 handler:org.apache.felix.ipojo.HandlerManagerFactory
235 </IPOJO-Extension>
236 <Import-Package>
237 org.osgi.framework;version="[1.3,2)", <!-- To support KF 2 -->
238 org.osgi.framework.wiring;version="[1.0,2.0)";resolution:=optional,
239 org.osgi.service.cm;version="[1.3,2)",
240 org.osgi.service.log;version="[1.3,2)",
241 org.osgi.util.tracker;version="[1.4,2)", <!-- BundleTracker is in R4.2 -->
242 !sun.io,
243 !net.sourceforge.cobertura.*, <!-- To support code coverage -->
244 !org.objectweb.asm.signature,
245 !org.objectweb.asm.tree
246 </Import-Package>
247 <Private-Package>
248 org.apache.felix.ipojo.handlers.architecture,
249 org.apache.felix.ipojo.handlers.lifecycle.callback,
250 org.apache.felix.ipojo.handlers.lifecycle.controller,
251 org.apache.felix.ipojo.handlers.context,
252 org.apache.felix.ipojo.extender.internal*,
253 org.objectweb.asm;-split-package:=merge-last,
254 org.objectweb.asm.commons;-split-package:=merge-last,
255 org.apache.felix.ipojo.metadata,
256 org.apache.felix.ipojo.dependency.impl
257 </Private-Package>
258 <Export-Package>
259 org.apache.felix.ipojo; version="${ipojo.package.version}",
260 org.apache.felix.ipojo.configuration; version="${ipojo.package.version}",
261 org.apache.felix.ipojo.metadata; version="${ipojo.package.version}",
262 org.apache.felix.ipojo.architecture; version="${ipojo.package.version}",
263 org.apache.felix.ipojo.extender;
264 version="${ipojo.package.version}";-split-package:=merge-first,
265 org.apache.felix.ipojo.extender.builder; version="${ipojo.package.version}",
266 org.apache.felix.ipojo.extender.queue; version="${ipojo.package.version}",
267 org.apache.felix.ipojo.extender.queue.debug; version="${ipojo.package.version}",
268 org.apache.felix.ipojo.parser; version="${ipojo.package.version}",
269 org.apache.felix.ipojo.util; version="${ipojo.package.version}",
270 org.apache.felix.ipojo.handlers.dependency; version="${ipojo.package.version}",
271 org.apache.felix.ipojo.handlers.providedservice.*; version="${ipojo.package.version}",
272 org.apache.felix.ipojo.handlers.configuration; version="${ipojo.package.version}",
273 org.apache.felix.ipojo.context; version="${ipojo.package.version}",
274 org.apache.felix.ipojo.dependency.interceptors; version="${ipojo.package.version}",
275 org.apache.felix.ipojo.annotations; version="${ipojo.package.version}"
276 <!-- the bare bundle does not includes any packages form the compendium -->
277 </Export-Package>
278
279 <!-- OSGi Extender Namespace -->
280 <Provide-Capability>osgi.extender;
281 osgi.extender="org.apache.felix.ipojo";
282 version:Version="${ipojo.extender.version}"
283 </Provide-Capability>
284 <_donotcopy>(CVS|.svn|.+.bak|~.+|metadata.xml)</_donotcopy>
285 </instructions>
286 </configuration>
287 </execution>
288 </executions>
289
Clement Escoffier2f1e9482012-04-21 16:04:33 +0000290 </plugin>
291 <plugin>
292 <groupId>org.apache.felix</groupId>
293 <artifactId>maven-ipojo-plugin</artifactId>
Clement Escoffier0babc1e2014-05-12 11:46:43 +0000294 <version>1.12.0</version>
Clement Escoffier2f1e9482012-04-21 16:04:33 +0000295 <executions>
296 <execution>
Clement Escoffierc5a08c62014-12-10 07:42:00 +0000297 <id>main-artifact-manipulation</id>
Clement Escoffier2f1e9482012-04-21 16:04:33 +0000298 <goals>
299 <goal>ipojo-bundle</goal>
300 </goals>
301 <configuration>
302 <ignoreAnnotations>true</ignoreAnnotations>
303 </configuration>
304 </execution>
Clement Escoffierc5a08c62014-12-10 07:42:00 +0000305 <execution>
306 <id>bare-artifact-manipulation</id>
307 <goals>
308 <goal>ipojo-bundle</goal>
309 </goals>
310 <configuration>
311 <!--<classifier>bare</classifier>-->
312 <input-classifier>bare</input-classifier>
313 <ignoreAnnotations>true</ignoreAnnotations>
314 </configuration>
315 </execution>
Clement Escoffier2f1e9482012-04-21 16:04:33 +0000316 </executions>
317 </plugin>
318 <plugin>
Clement Escoffier2f1e9482012-04-21 16:04:33 +0000319 <groupId>org.apache.maven.plugins</groupId>
320 <artifactId>maven-checkstyle-plugin</artifactId>
Guillaume Sauthierc05747c2013-07-01 15:32:30 +0000321 <version>2.10</version>
Clement Escoffier2f1e9482012-04-21 16:04:33 +0000322 <configuration>
323 <enableRulesSummary>false</enableRulesSummary>
324 <violationSeverity>warning</violationSeverity>
325 <configLocation>http://felix.apache.org/ipojo/dev/checkstyle_ipojo.xml</configLocation>
326 </configuration>
327 </plugin>
Clement Escoffiered4ca022013-03-13 15:27:20 +0000328 <plugin>
329 <groupId>org.apache.rat</groupId>
330 <artifactId>apache-rat-plugin</artifactId>
331 <executions>
332 <execution>
333 <phase>verify</phase>
334 <goals>
335 <goal>check</goal>
336 </goals>
337 </execution>
338 </executions>
339 <configuration>
340 <!-- check src only (except remote resources additions) -->
341 <includes>
342 <include>src/**</include>
343 </includes>
344 <excludes>
345 <exclude>src/main/appended-resources/**</exclude>
346 <exclude>**/manipulation/MANIFEST.MF</exclude> <!-- This file is used by tests -->
347 </excludes>
348 </configuration>
349 </plugin>
Clement Escoffiere6237552013-03-20 09:51:42 +0000350 <plugin>
351 <groupId>org.codehaus.mojo</groupId>
352 <artifactId>animal-sniffer-maven-plugin</artifactId>
353 <version>1.7</version>
354 <configuration>
355 <signature>
356 <groupId>org.codehaus.mojo.signature</groupId>
357 <artifactId>java15</artifactId>
358 <version>1.0</version>
359 </signature>
360 </configuration>
361 <executions>
362 <execution>
363 <phase>test</phase>
364 <goals>
365 <goal>check</goal>
366 </goals>
367 </execution>
368 </executions>
369 </plugin>
Clement Escoffier2f1e9482012-04-21 16:04:33 +0000370 </plugins>
Clement Escoffier2f1e9482012-04-21 16:04:33 +0000371 </build>
Clement Escoffierbfa74d02009-07-19 16:25:18 +0000372</project>