blob: 654c0b50b36285c9573da9337b57c71b46ddf263 [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 Escoffier73842a12013-06-16 07:11:54 +000030 <version>1.10.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 Escoffier2f1e9482012-04-21 16:04:33 +000043 -->
Clement Escoffier9888f532013-05-15 13:58:22 +000044 <ipojo.package.version>1.10.0</ipojo.package.version>
45 <ipojo.extender.version>1.10.0</ipojo.extender.version>
Clement Escoffier2f1e9482012-04-21 16:04:33 +000046 </properties>
Clement Escoffier6191b082010-08-29 09:05:18 +000047
Clement Escoffier2f1e9482012-04-21 16:04:33 +000048 <description>
49 iPOJO Core bundle
50 </description>
51 <url>
52 http://ipojo.org
53 </url>
54
55 <dependencies>
56 <dependency>
57 <groupId>org.osgi</groupId>
58 <artifactId>org.osgi.core</artifactId>
Clement Escoffierf16462f2012-11-07 11:13:42 +000059 <version>4.3.1</version>
Clement Escoffier2f1e9482012-04-21 16:04:33 +000060 </dependency>
61 <dependency>
62 <groupId>org.osgi</groupId>
63 <artifactId>org.osgi.compendium</artifactId>
Guillaume Sauthier6ed5e022013-05-30 08:09:54 +000064 <version>4.2.0</version>
Clement Escoffier2f1e9482012-04-21 16:04:33 +000065 </dependency>
Clement Escoffiere050be02013-06-12 11:38:27 +000066 <!-- We use the FilterImpl of Felix in tests -->
67 <dependency>
68 <groupId>org.apache.felix</groupId>
69 <artifactId>org.apache.felix.framework</artifactId>
70 <version>4.2.1</version>
71 <scope>test</scope>
72 </dependency>
Clement Escoffier2f1e9482012-04-21 16:04:33 +000073 <dependency>
74 <groupId>org.apache.felix</groupId>
75 <artifactId>org.apache.felix.ipojo.metadata</artifactId>
76 <version>1.6.0</version>
77 </dependency>
78 <dependency>
Clement Escoffier2f1e9482012-04-21 16:04:33 +000079 <groupId>asm</groupId>
80 <artifactId>asm-all</artifactId>
81 <version>3.3.1</version>
82 <exclusions>
83 <exclusion>
84 <groupId>asm</groupId>
85 <artifactId>asm-tree</artifactId>
86 </exclusion>
87 </exclusions>
88 </dependency>
Clement Escoffieraaffec92013-03-06 15:44:12 +000089 <dependency>
90 <groupId>org.mockito</groupId>
91 <artifactId>mockito-all</artifactId>
92 <version>1.9.5</version>
93 <scope>test</scope>
94 </dependency>
Clement Escoffier6c15d232013-05-11 15:27:05 +000095 <dependency>
96 <groupId>org.easytesting</groupId>
97 <artifactId>fest-assert</artifactId>
98 <version>1.4</version>
99 <scope>test</scope>
100 </dependency>
Clement Escoffier2f1e9482012-04-21 16:04:33 +0000101 </dependencies>
102 <build>
103 <plugins>
104 <plugin>
105 <groupId>org.apache.maven.plugins</groupId>
106 <artifactId>maven-compiler-plugin</artifactId>
Clement Escoffieraaffec92013-03-06 15:44:12 +0000107 <version>3.0</version>
Clement Escoffier2f1e9482012-04-21 16:04:33 +0000108 <configuration>
Clement Escoffierc5b8d122013-03-04 09:01:52 +0000109 <target>1.5</target>
Clement Escoffier2f1e9482012-04-21 16:04:33 +0000110 <source>1.5</source>
Clement Escoffieraaffec92013-03-06 15:44:12 +0000111 <testTarget>1.5</testTarget>
112 <testSource>1.5</testSource>
Clement Escoffier2f1e9482012-04-21 16:04:33 +0000113 </configuration>
114 </plugin>
115 <plugin>
116 <groupId>org.apache.felix</groupId>
117 <artifactId>maven-bundle-plugin</artifactId>
Clement Escoffiered4ca022013-03-13 15:27:20 +0000118 <version>2.3.7</version>
Clement Escoffier2f1e9482012-04-21 16:04:33 +0000119 <extensions>true</extensions>
120 <configuration>
121 <instructions>
122 <Bundle-Name>Apache Felix iPOJO</Bundle-Name>
123 <Bundle-Vendor>The Apache Software Foundation</Bundle-Vendor>
124 <Bundle-SymbolicName>org.apache.felix.ipojo;singleton:=true</Bundle-SymbolicName>
125 <Bundle-Description>iPOJO Core Framework</Bundle-Description>
Clement Escoffieraaffec92013-03-06 15:44:12 +0000126 <Bundle-Activator>org.apache.felix.ipojo.extender.internal.Extender</Bundle-Activator>
Clement Escoffier2f1e9482012-04-21 16:04:33 +0000127 <Bundle-DocURL>
Clement Escoffierb76fae72013-05-28 04:37:54 +0000128 http://felix.apache.org/documentation/subprojects/apache-felix-ipojo.html
Clement Escoffier2f1e9482012-04-21 16:04:33 +0000129 </Bundle-DocURL>
130 <IPOJO-Extension>
131 component:org.apache.felix.ipojo.ComponentFactory,
132 handler:org.apache.felix.ipojo.HandlerManagerFactory
133 </IPOJO-Extension>
134 <Import-Package>
Clement Escoffierc5c3a732013-10-02 07:35:33 +0000135 org.osgi.framework;version="[1.3,2)", <!-- To support KF 2 -->
136 org.osgi.framework.wiring;version="[1.0,2.0)";resolution:=optional,
137 org.osgi.service.cm;version="[1.3,2)",
138 org.osgi.service.log;version="[1.3,2)",
139 org.osgi.util.tracker;version="[1.4,2)", <!-- BundleTracker is in R4.2 -->
Clement Escoffier2f1e9482012-04-21 16:04:33 +0000140 !sun.io,
Clement Escoffier2541ae32013-04-24 15:06:07 +0000141 !net.sourceforge.cobertura.*, <!-- To support code coverage -->
142 !org.objectweb.asm.signature,
143 !org.objectweb.asm.tree
Clement Escoffier2f1e9482012-04-21 16:04:33 +0000144 </Import-Package>
145 <Private-Package>
146 org.apache.felix.ipojo.handlers.architecture,
147 org.apache.felix.ipojo.handlers.lifecycle.callback,
148 org.apache.felix.ipojo.handlers.lifecycle.controller,
Clement Escoffieraaffec92013-03-06 15:44:12 +0000149 org.apache.felix.ipojo.extender.internal*,
Clement Escoffier581a0422013-04-08 09:24:12 +0000150 org.objectweb.asm;-split-package:=merge-last,
Clement Escoffier2541ae32013-04-24 15:06:07 +0000151 org.objectweb.asm.commons;-split-package:=merge-last,
Clement Escoffier581a0422013-04-08 09:24:12 +0000152 org.apache.felix.ipojo.metadata,
Clement Escoffier31c49b82013-09-07 06:27:42 +0000153 org.apache.felix.ipojo.dependency.impl
Clement Escoffier2f1e9482012-04-21 16:04:33 +0000154 </Private-Package>
155 <Export-Package>
156 org.apache.felix.ipojo; version="${ipojo.package.version}",
Clement Escoffier2541ae32013-04-24 15:06:07 +0000157 org.apache.felix.ipojo.configuration; version="${ipojo.package.version}",
Clement Escoffier2f1e9482012-04-21 16:04:33 +0000158 org.apache.felix.ipojo.metadata; version="${ipojo.package.version}",
159 org.apache.felix.ipojo.architecture; version="${ipojo.package.version}",
Clement Escoffiered4ca022013-03-13 15:27:20 +0000160 org.apache.felix.ipojo.extender;
161 version="${ipojo.package.version}";-split-package:=merge-first,
Clement Escoffieraaffec92013-03-06 15:44:12 +0000162 org.apache.felix.ipojo.extender.builder; version="${ipojo.package.version}",
163 org.apache.felix.ipojo.extender.queue; version="${ipojo.package.version}",
Guillaume Sauthierf4440112013-10-02 14:59:20 +0000164 org.apache.felix.ipojo.extender.queue.debug; version="${ipojo.package.version}",
Clement Escoffier2f1e9482012-04-21 16:04:33 +0000165 org.apache.felix.ipojo.parser; version="${ipojo.package.version}",
166 org.apache.felix.ipojo.util; version="${ipojo.package.version}",
167 org.apache.felix.ipojo.handlers.dependency; version="${ipojo.package.version}",
168 org.apache.felix.ipojo.handlers.providedservice.*; version="${ipojo.package.version}",
169 org.apache.felix.ipojo.handlers.configuration; version="${ipojo.package.version}",
170 org.apache.felix.ipojo.context; version="${ipojo.package.version}",
Clement Escoffiere050be02013-06-12 11:38:27 +0000171 org.apache.felix.ipojo.dependency.interceptors; version="${ipojo.package.version}",
Clement Escoffier2f1e9482012-04-21 16:04:33 +0000172 <!-- Compendium packages -->
Clement Escoffier31c49b82013-09-07 06:27:42 +0000173 org.osgi.service.cm; version=1.3,
174 org.osgi.service.log; version=1.3
Clement Escoffier2f1e9482012-04-21 16:04:33 +0000175 </Export-Package>
Clement Escoffierbf884592013-05-11 15:48:09 +0000176
177 <!-- OSGi Extender Namespace -->
178 <Provide-Capability>osgi.extender;
179 osgi.extender="org.apache.felix.ipojo";
Clement Escoffierb852a2b2013-05-12 13:03:12 +0000180 version:Version="${ipojo.extender.version}"
Clement Escoffierbf884592013-05-11 15:48:09 +0000181 </Provide-Capability>
Clement Escoffier2f1e9482012-04-21 16:04:33 +0000182 <_donotcopy>(CVS|.svn|.+.bak|~.+|metadata.xml)</_donotcopy>
183 </instructions>
184 </configuration>
185 </plugin>
186 <plugin>
187 <groupId>org.apache.felix</groupId>
188 <artifactId>maven-ipojo-plugin</artifactId>
Clement Escoffier9f8c0c62013-06-21 16:33:12 +0000189 <version>1.10.0</version>
Clement Escoffier2f1e9482012-04-21 16:04:33 +0000190 <executions>
191 <execution>
192 <goals>
193 <goal>ipojo-bundle</goal>
194 </goals>
195 <configuration>
196 <ignoreAnnotations>true</ignoreAnnotations>
197 </configuration>
198 </execution>
199 </executions>
200 </plugin>
201 <plugin>
Clement Escoffier2f1e9482012-04-21 16:04:33 +0000202 <groupId>org.apache.maven.plugins</groupId>
203 <artifactId>maven-checkstyle-plugin</artifactId>
Guillaume Sauthierc05747c2013-07-01 15:32:30 +0000204 <version>2.10</version>
Clement Escoffier2f1e9482012-04-21 16:04:33 +0000205 <configuration>
206 <enableRulesSummary>false</enableRulesSummary>
207 <violationSeverity>warning</violationSeverity>
208 <configLocation>http://felix.apache.org/ipojo/dev/checkstyle_ipojo.xml</configLocation>
209 </configuration>
210 </plugin>
Clement Escoffiered4ca022013-03-13 15:27:20 +0000211 <plugin>
212 <groupId>org.apache.rat</groupId>
213 <artifactId>apache-rat-plugin</artifactId>
214 <executions>
215 <execution>
216 <phase>verify</phase>
217 <goals>
218 <goal>check</goal>
219 </goals>
220 </execution>
221 </executions>
222 <configuration>
223 <!-- check src only (except remote resources additions) -->
224 <includes>
225 <include>src/**</include>
226 </includes>
227 <excludes>
228 <exclude>src/main/appended-resources/**</exclude>
229 <exclude>**/manipulation/MANIFEST.MF</exclude> <!-- This file is used by tests -->
230 </excludes>
231 </configuration>
232 </plugin>
Clement Escoffiere6237552013-03-20 09:51:42 +0000233 <plugin>
234 <groupId>org.codehaus.mojo</groupId>
235 <artifactId>animal-sniffer-maven-plugin</artifactId>
236 <version>1.7</version>
237 <configuration>
238 <signature>
239 <groupId>org.codehaus.mojo.signature</groupId>
240 <artifactId>java15</artifactId>
241 <version>1.0</version>
242 </signature>
243 </configuration>
244 <executions>
245 <execution>
246 <phase>test</phase>
247 <goals>
248 <goal>check</goal>
249 </goals>
250 </execution>
251 </executions>
252 </plugin>
Clement Escoffier2f1e9482012-04-21 16:04:33 +0000253 </plugins>
Clement Escoffier2f1e9482012-04-21 16:04:33 +0000254 </build>
Clement Escoffierbfa74d02009-07-19 16:25:18 +0000255</project>