blob: 0e6cd50abdd651555460933991a393e905a55bd1 [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 Escoffierfc26c542013-05-15 15:40:52 +000030 <version>1.9.0-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
41 1.1.0:
42 * 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>
64 <version>4.0.0</version>
65 </dependency>
66 <dependency>
67 <groupId>org.apache.felix</groupId>
68 <artifactId>org.apache.felix.ipojo.metadata</artifactId>
69 <version>1.6.0</version>
70 </dependency>
71 <dependency>
Clement Escoffier2f1e9482012-04-21 16:04:33 +000072 <groupId>asm</groupId>
73 <artifactId>asm-all</artifactId>
74 <version>3.3.1</version>
75 <exclusions>
76 <exclusion>
77 <groupId>asm</groupId>
78 <artifactId>asm-tree</artifactId>
79 </exclusion>
80 </exclusions>
81 </dependency>
Clement Escoffieraaffec92013-03-06 15:44:12 +000082 <dependency>
83 <groupId>org.mockito</groupId>
84 <artifactId>mockito-all</artifactId>
85 <version>1.9.5</version>
86 <scope>test</scope>
87 </dependency>
Clement Escoffier6c15d232013-05-11 15:27:05 +000088 <dependency>
89 <groupId>org.easytesting</groupId>
90 <artifactId>fest-assert</artifactId>
91 <version>1.4</version>
92 <scope>test</scope>
93 </dependency>
Clement Escoffier2f1e9482012-04-21 16:04:33 +000094 </dependencies>
95 <build>
96 <plugins>
97 <plugin>
98 <groupId>org.apache.maven.plugins</groupId>
99 <artifactId>maven-compiler-plugin</artifactId>
Clement Escoffieraaffec92013-03-06 15:44:12 +0000100 <version>3.0</version>
Clement Escoffier2f1e9482012-04-21 16:04:33 +0000101 <configuration>
Clement Escoffierc5b8d122013-03-04 09:01:52 +0000102 <target>1.5</target>
Clement Escoffier2f1e9482012-04-21 16:04:33 +0000103 <source>1.5</source>
Clement Escoffieraaffec92013-03-06 15:44:12 +0000104 <testTarget>1.5</testTarget>
105 <testSource>1.5</testSource>
Clement Escoffier2f1e9482012-04-21 16:04:33 +0000106 </configuration>
107 </plugin>
108 <plugin>
109 <groupId>org.apache.felix</groupId>
110 <artifactId>maven-bundle-plugin</artifactId>
Clement Escoffiered4ca022013-03-13 15:27:20 +0000111 <version>2.3.7</version>
Clement Escoffier2f1e9482012-04-21 16:04:33 +0000112 <extensions>true</extensions>
113 <configuration>
114 <instructions>
115 <Bundle-Name>Apache Felix iPOJO</Bundle-Name>
116 <Bundle-Vendor>The Apache Software Foundation</Bundle-Vendor>
117 <Bundle-SymbolicName>org.apache.felix.ipojo;singleton:=true</Bundle-SymbolicName>
118 <Bundle-Description>iPOJO Core Framework</Bundle-Description>
Clement Escoffieraaffec92013-03-06 15:44:12 +0000119 <Bundle-Activator>org.apache.felix.ipojo.extender.internal.Extender</Bundle-Activator>
Clement Escoffier2f1e9482012-04-21 16:04:33 +0000120 <Bundle-DocURL>
121 http://felix.apache.org/site/apache-felix-ipojo.html
122 </Bundle-DocURL>
123 <IPOJO-Extension>
124 component:org.apache.felix.ipojo.ComponentFactory,
125 handler:org.apache.felix.ipojo.HandlerManagerFactory
126 </IPOJO-Extension>
127 <Import-Package>
128 org.osgi.framework;version=1.3, <!-- To support KF 2 -->
Clement Escoffier2541ae32013-04-24 15:06:07 +0000129 org.osgi.framework.wiring;resolution:=optional,
Clement Escoffier2f1e9482012-04-21 16:04:33 +0000130 org.osgi.service.cm,
131 org.osgi.service.log,
Clement Escoffieraaffec92013-03-06 15:44:12 +0000132 org.osgi.util.tracker;version=1.3,
Clement Escoffier2f1e9482012-04-21 16:04:33 +0000133 !sun.io,
Clement Escoffier2541ae32013-04-24 15:06:07 +0000134 !net.sourceforge.cobertura.*, <!-- To support code coverage -->
135 !org.objectweb.asm.signature,
136 !org.objectweb.asm.tree
Clement Escoffier2f1e9482012-04-21 16:04:33 +0000137 </Import-Package>
138 <Private-Package>
139 org.apache.felix.ipojo.handlers.architecture,
140 org.apache.felix.ipojo.handlers.lifecycle.callback,
141 org.apache.felix.ipojo.handlers.lifecycle.controller,
Clement Escoffieraaffec92013-03-06 15:44:12 +0000142 org.apache.felix.ipojo.extender.internal*,
Clement Escoffier581a0422013-04-08 09:24:12 +0000143 org.objectweb.asm;-split-package:=merge-last,
Clement Escoffier2541ae32013-04-24 15:06:07 +0000144 org.objectweb.asm.commons;-split-package:=merge-last,
Clement Escoffier581a0422013-04-08 09:24:12 +0000145 org.apache.felix.ipojo.metadata,
146 <!-- Compendium packages -->
147 org.osgi.service.cm,
148 org.osgi.service.log
Clement Escoffier2f1e9482012-04-21 16:04:33 +0000149 </Private-Package>
150 <Export-Package>
151 org.apache.felix.ipojo; version="${ipojo.package.version}",
Clement Escoffier2541ae32013-04-24 15:06:07 +0000152 org.apache.felix.ipojo.configuration; version="${ipojo.package.version}",
Clement Escoffier2f1e9482012-04-21 16:04:33 +0000153 org.apache.felix.ipojo.metadata; version="${ipojo.package.version}",
154 org.apache.felix.ipojo.architecture; version="${ipojo.package.version}",
Clement Escoffiered4ca022013-03-13 15:27:20 +0000155 org.apache.felix.ipojo.extender;
156 version="${ipojo.package.version}";-split-package:=merge-first,
Clement Escoffieraaffec92013-03-06 15:44:12 +0000157 org.apache.felix.ipojo.extender.builder; version="${ipojo.package.version}",
158 org.apache.felix.ipojo.extender.queue; version="${ipojo.package.version}",
Clement Escoffier2f1e9482012-04-21 16:04:33 +0000159 org.apache.felix.ipojo.parser; version="${ipojo.package.version}",
160 org.apache.felix.ipojo.util; version="${ipojo.package.version}",
161 org.apache.felix.ipojo.handlers.dependency; version="${ipojo.package.version}",
162 org.apache.felix.ipojo.handlers.providedservice.*; version="${ipojo.package.version}",
163 org.apache.felix.ipojo.handlers.configuration; version="${ipojo.package.version}",
164 org.apache.felix.ipojo.context; version="${ipojo.package.version}",
Clement Escoffier2f1e9482012-04-21 16:04:33 +0000165 <!-- Compendium packages -->
166 org.osgi.service.cm,
167 org.osgi.service.log
168 </Export-Package>
Clement Escoffierbf884592013-05-11 15:48:09 +0000169
170 <!-- OSGi Extender Namespace -->
171 <Provide-Capability>osgi.extender;
172 osgi.extender="org.apache.felix.ipojo";
Clement Escoffierb852a2b2013-05-12 13:03:12 +0000173 version:Version="${ipojo.extender.version}"
Clement Escoffierbf884592013-05-11 15:48:09 +0000174 </Provide-Capability>
Clement Escoffier2f1e9482012-04-21 16:04:33 +0000175 <_donotcopy>(CVS|.svn|.+.bak|~.+|metadata.xml)</_donotcopy>
176 </instructions>
177 </configuration>
178 </plugin>
179 <plugin>
180 <groupId>org.apache.felix</groupId>
181 <artifactId>maven-ipojo-plugin</artifactId>
Clement Escoffier9888f532013-05-15 13:58:22 +0000182 <version>1.10.0</version>
Clement Escoffier2f1e9482012-04-21 16:04:33 +0000183 <executions>
184 <execution>
185 <goals>
186 <goal>ipojo-bundle</goal>
187 </goals>
188 <configuration>
189 <ignoreAnnotations>true</ignoreAnnotations>
190 </configuration>
191 </execution>
192 </executions>
193 </plugin>
194 <plugin>
Clement Escoffier2f1e9482012-04-21 16:04:33 +0000195 <groupId>org.apache.maven.plugins</groupId>
196 <artifactId>maven-checkstyle-plugin</artifactId>
197 <configuration>
198 <enableRulesSummary>false</enableRulesSummary>
199 <violationSeverity>warning</violationSeverity>
200 <configLocation>http://felix.apache.org/ipojo/dev/checkstyle_ipojo.xml</configLocation>
201 </configuration>
202 </plugin>
Clement Escoffiered4ca022013-03-13 15:27:20 +0000203 <plugin>
204 <groupId>org.apache.rat</groupId>
205 <artifactId>apache-rat-plugin</artifactId>
206 <executions>
207 <execution>
208 <phase>verify</phase>
209 <goals>
210 <goal>check</goal>
211 </goals>
212 </execution>
213 </executions>
214 <configuration>
215 <!-- check src only (except remote resources additions) -->
216 <includes>
217 <include>src/**</include>
218 </includes>
219 <excludes>
220 <exclude>src/main/appended-resources/**</exclude>
221 <exclude>**/manipulation/MANIFEST.MF</exclude> <!-- This file is used by tests -->
222 </excludes>
223 </configuration>
224 </plugin>
Clement Escoffiere6237552013-03-20 09:51:42 +0000225 <plugin>
226 <groupId>org.codehaus.mojo</groupId>
227 <artifactId>animal-sniffer-maven-plugin</artifactId>
228 <version>1.7</version>
229 <configuration>
230 <signature>
231 <groupId>org.codehaus.mojo.signature</groupId>
232 <artifactId>java15</artifactId>
233 <version>1.0</version>
234 </signature>
235 </configuration>
236 <executions>
237 <execution>
238 <phase>test</phase>
239 <goals>
240 <goal>check</goal>
241 </goals>
242 </execution>
243 </executions>
244 </plugin>
Clement Escoffier2f1e9482012-04-21 16:04:33 +0000245 </plugins>
Clement Escoffier2f1e9482012-04-21 16:04:33 +0000246 </build>
Clement Escoffierbfa74d02009-07-19 16:25:18 +0000247</project>