blob: c558c37283b6871066bc3487cd8cca361c4f6302 [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 Escoffierd84914a2013-10-08 14:26:37 +000030 <version>1.11.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 Escoffier2f1e9482012-04-21 16:04:33 +000046 -->
Clement Escoffier24b42a72013-10-03 14:09:29 +000047 <ipojo.package.version>1.11.0</ipojo.package.version>
48 <ipojo.extender.version>1.11.0</ipojo.extender.version>
Clement Escoffier2f1e9482012-04-21 16:04:33 +000049 </properties>
Clement Escoffier6191b082010-08-29 09:05:18 +000050
Clement Escoffier2f1e9482012-04-21 16:04:33 +000051 <description>
52 iPOJO Core bundle
53 </description>
54 <url>
55 http://ipojo.org
56 </url>
57
58 <dependencies>
59 <dependency>
60 <groupId>org.osgi</groupId>
61 <artifactId>org.osgi.core</artifactId>
Clement Escoffierf16462f2012-11-07 11:13:42 +000062 <version>4.3.1</version>
Clement Escoffier2f1e9482012-04-21 16:04:33 +000063 </dependency>
64 <dependency>
65 <groupId>org.osgi</groupId>
66 <artifactId>org.osgi.compendium</artifactId>
Guillaume Sauthier6ed5e022013-05-30 08:09:54 +000067 <version>4.2.0</version>
Clement Escoffier2f1e9482012-04-21 16:04:33 +000068 </dependency>
Clement Escoffiere050be02013-06-12 11:38:27 +000069 <!-- We use the FilterImpl of Felix in tests -->
70 <dependency>
71 <groupId>org.apache.felix</groupId>
72 <artifactId>org.apache.felix.framework</artifactId>
73 <version>4.2.1</version>
74 <scope>test</scope>
75 </dependency>
Clement Escoffier2f1e9482012-04-21 16:04:33 +000076 <dependency>
77 <groupId>org.apache.felix</groupId>
78 <artifactId>org.apache.felix.ipojo.metadata</artifactId>
79 <version>1.6.0</version>
80 </dependency>
81 <dependency>
Clement Escoffier2f1e9482012-04-21 16:04:33 +000082 <groupId>asm</groupId>
83 <artifactId>asm-all</artifactId>
84 <version>3.3.1</version>
85 <exclusions>
86 <exclusion>
87 <groupId>asm</groupId>
88 <artifactId>asm-tree</artifactId>
89 </exclusion>
90 </exclusions>
91 </dependency>
Clement Escoffieraaffec92013-03-06 15:44:12 +000092 <dependency>
93 <groupId>org.mockito</groupId>
94 <artifactId>mockito-all</artifactId>
95 <version>1.9.5</version>
96 <scope>test</scope>
97 </dependency>
Clement Escoffier6c15d232013-05-11 15:27:05 +000098 <dependency>
99 <groupId>org.easytesting</groupId>
100 <artifactId>fest-assert</artifactId>
101 <version>1.4</version>
102 <scope>test</scope>
103 </dependency>
Clement Escoffier2f1e9482012-04-21 16:04:33 +0000104 </dependencies>
105 <build>
106 <plugins>
107 <plugin>
108 <groupId>org.apache.maven.plugins</groupId>
109 <artifactId>maven-compiler-plugin</artifactId>
Clement Escoffieraaffec92013-03-06 15:44:12 +0000110 <version>3.0</version>
Clement Escoffier2f1e9482012-04-21 16:04:33 +0000111 <configuration>
Clement Escoffierc5b8d122013-03-04 09:01:52 +0000112 <target>1.5</target>
Clement Escoffier2f1e9482012-04-21 16:04:33 +0000113 <source>1.5</source>
Clement Escoffieraaffec92013-03-06 15:44:12 +0000114 <testTarget>1.5</testTarget>
115 <testSource>1.5</testSource>
Clement Escoffier2f1e9482012-04-21 16:04:33 +0000116 </configuration>
117 </plugin>
118 <plugin>
119 <groupId>org.apache.felix</groupId>
120 <artifactId>maven-bundle-plugin</artifactId>
Clement Escoffiered4ca022013-03-13 15:27:20 +0000121 <version>2.3.7</version>
Clement Escoffier2f1e9482012-04-21 16:04:33 +0000122 <extensions>true</extensions>
123 <configuration>
124 <instructions>
125 <Bundle-Name>Apache Felix iPOJO</Bundle-Name>
126 <Bundle-Vendor>The Apache Software Foundation</Bundle-Vendor>
127 <Bundle-SymbolicName>org.apache.felix.ipojo;singleton:=true</Bundle-SymbolicName>
128 <Bundle-Description>iPOJO Core Framework</Bundle-Description>
Clement Escoffieraaffec92013-03-06 15:44:12 +0000129 <Bundle-Activator>org.apache.felix.ipojo.extender.internal.Extender</Bundle-Activator>
Clement Escoffier2f1e9482012-04-21 16:04:33 +0000130 <Bundle-DocURL>
Clement Escoffierb76fae72013-05-28 04:37:54 +0000131 http://felix.apache.org/documentation/subprojects/apache-felix-ipojo.html
Clement Escoffier2f1e9482012-04-21 16:04:33 +0000132 </Bundle-DocURL>
133 <IPOJO-Extension>
134 component:org.apache.felix.ipojo.ComponentFactory,
135 handler:org.apache.felix.ipojo.HandlerManagerFactory
136 </IPOJO-Extension>
137 <Import-Package>
Clement Escoffierc5c3a732013-10-02 07:35:33 +0000138 org.osgi.framework;version="[1.3,2)", <!-- To support KF 2 -->
139 org.osgi.framework.wiring;version="[1.0,2.0)";resolution:=optional,
140 org.osgi.service.cm;version="[1.3,2)",
141 org.osgi.service.log;version="[1.3,2)",
142 org.osgi.util.tracker;version="[1.4,2)", <!-- BundleTracker is in R4.2 -->
Clement Escoffier2f1e9482012-04-21 16:04:33 +0000143 !sun.io,
Clement Escoffier2541ae32013-04-24 15:06:07 +0000144 !net.sourceforge.cobertura.*, <!-- To support code coverage -->
145 !org.objectweb.asm.signature,
146 !org.objectweb.asm.tree
Clement Escoffier2f1e9482012-04-21 16:04:33 +0000147 </Import-Package>
148 <Private-Package>
149 org.apache.felix.ipojo.handlers.architecture,
150 org.apache.felix.ipojo.handlers.lifecycle.callback,
151 org.apache.felix.ipojo.handlers.lifecycle.controller,
Clement Escoffieraaffec92013-03-06 15:44:12 +0000152 org.apache.felix.ipojo.extender.internal*,
Clement Escoffier581a0422013-04-08 09:24:12 +0000153 org.objectweb.asm;-split-package:=merge-last,
Clement Escoffier2541ae32013-04-24 15:06:07 +0000154 org.objectweb.asm.commons;-split-package:=merge-last,
Clement Escoffier581a0422013-04-08 09:24:12 +0000155 org.apache.felix.ipojo.metadata,
Clement Escoffier31c49b82013-09-07 06:27:42 +0000156 org.apache.felix.ipojo.dependency.impl
Clement Escoffier2f1e9482012-04-21 16:04:33 +0000157 </Private-Package>
158 <Export-Package>
159 org.apache.felix.ipojo; version="${ipojo.package.version}",
Clement Escoffier2541ae32013-04-24 15:06:07 +0000160 org.apache.felix.ipojo.configuration; version="${ipojo.package.version}",
Clement Escoffier2f1e9482012-04-21 16:04:33 +0000161 org.apache.felix.ipojo.metadata; version="${ipojo.package.version}",
162 org.apache.felix.ipojo.architecture; version="${ipojo.package.version}",
Clement Escoffiered4ca022013-03-13 15:27:20 +0000163 org.apache.felix.ipojo.extender;
164 version="${ipojo.package.version}";-split-package:=merge-first,
Clement Escoffieraaffec92013-03-06 15:44:12 +0000165 org.apache.felix.ipojo.extender.builder; version="${ipojo.package.version}",
166 org.apache.felix.ipojo.extender.queue; version="${ipojo.package.version}",
Guillaume Sauthierf4440112013-10-02 14:59:20 +0000167 org.apache.felix.ipojo.extender.queue.debug; version="${ipojo.package.version}",
Clement Escoffier2f1e9482012-04-21 16:04:33 +0000168 org.apache.felix.ipojo.parser; version="${ipojo.package.version}",
169 org.apache.felix.ipojo.util; version="${ipojo.package.version}",
170 org.apache.felix.ipojo.handlers.dependency; version="${ipojo.package.version}",
171 org.apache.felix.ipojo.handlers.providedservice.*; version="${ipojo.package.version}",
172 org.apache.felix.ipojo.handlers.configuration; version="${ipojo.package.version}",
173 org.apache.felix.ipojo.context; version="${ipojo.package.version}",
Clement Escoffiere050be02013-06-12 11:38:27 +0000174 org.apache.felix.ipojo.dependency.interceptors; version="${ipojo.package.version}",
Clement Escoffier2f1e9482012-04-21 16:04:33 +0000175 <!-- Compendium packages -->
Clement Escoffier31c49b82013-09-07 06:27:42 +0000176 org.osgi.service.cm; version=1.3,
177 org.osgi.service.log; version=1.3
Clement Escoffier2f1e9482012-04-21 16:04:33 +0000178 </Export-Package>
Clement Escoffierbf884592013-05-11 15:48:09 +0000179
180 <!-- OSGi Extender Namespace -->
181 <Provide-Capability>osgi.extender;
182 osgi.extender="org.apache.felix.ipojo";
Clement Escoffierb852a2b2013-05-12 13:03:12 +0000183 version:Version="${ipojo.extender.version}"
Clement Escoffierbf884592013-05-11 15:48:09 +0000184 </Provide-Capability>
Clement Escoffier2f1e9482012-04-21 16:04:33 +0000185 <_donotcopy>(CVS|.svn|.+.bak|~.+|metadata.xml)</_donotcopy>
186 </instructions>
187 </configuration>
188 </plugin>
189 <plugin>
190 <groupId>org.apache.felix</groupId>
191 <artifactId>maven-ipojo-plugin</artifactId>
Clement Escoffiercc182022013-10-08 14:09:24 +0000192 <version>1.10.1</version>
Clement Escoffier2f1e9482012-04-21 16:04:33 +0000193 <executions>
194 <execution>
195 <goals>
196 <goal>ipojo-bundle</goal>
197 </goals>
198 <configuration>
199 <ignoreAnnotations>true</ignoreAnnotations>
200 </configuration>
201 </execution>
202 </executions>
203 </plugin>
204 <plugin>
Clement Escoffier2f1e9482012-04-21 16:04:33 +0000205 <groupId>org.apache.maven.plugins</groupId>
206 <artifactId>maven-checkstyle-plugin</artifactId>
Guillaume Sauthierc05747c2013-07-01 15:32:30 +0000207 <version>2.10</version>
Clement Escoffier2f1e9482012-04-21 16:04:33 +0000208 <configuration>
209 <enableRulesSummary>false</enableRulesSummary>
210 <violationSeverity>warning</violationSeverity>
211 <configLocation>http://felix.apache.org/ipojo/dev/checkstyle_ipojo.xml</configLocation>
212 </configuration>
213 </plugin>
Clement Escoffiered4ca022013-03-13 15:27:20 +0000214 <plugin>
215 <groupId>org.apache.rat</groupId>
216 <artifactId>apache-rat-plugin</artifactId>
217 <executions>
218 <execution>
219 <phase>verify</phase>
220 <goals>
221 <goal>check</goal>
222 </goals>
223 </execution>
224 </executions>
225 <configuration>
226 <!-- check src only (except remote resources additions) -->
227 <includes>
228 <include>src/**</include>
229 </includes>
230 <excludes>
231 <exclude>src/main/appended-resources/**</exclude>
232 <exclude>**/manipulation/MANIFEST.MF</exclude> <!-- This file is used by tests -->
233 </excludes>
234 </configuration>
235 </plugin>
Clement Escoffiere6237552013-03-20 09:51:42 +0000236 <plugin>
237 <groupId>org.codehaus.mojo</groupId>
238 <artifactId>animal-sniffer-maven-plugin</artifactId>
239 <version>1.7</version>
240 <configuration>
241 <signature>
242 <groupId>org.codehaus.mojo.signature</groupId>
243 <artifactId>java15</artifactId>
244 <version>1.0</version>
245 </signature>
246 </configuration>
247 <executions>
248 <execution>
249 <phase>test</phase>
250 <goals>
251 <goal>check</goal>
252 </goals>
253 </execution>
254 </executions>
255 </plugin>
Clement Escoffier2f1e9482012-04-21 16:04:33 +0000256 </plugins>
Clement Escoffier2f1e9482012-04-21 16:04:33 +0000257 </build>
Clement Escoffierbfa74d02009-07-19 16:25:18 +0000258</project>