blob: 90f7a4851ac3d2dcd77c0b4792f07a5a0673df69 [file] [log] [blame]
Clement Escoffier8aa13cb2008-10-14 10:44:18 +00001<!--
Clement Escoffier0630c6b2009-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 Escoffierc80b73d2009-07-03 13:16:24 +00009
Clement Escoffier0630c6b2009-07-19 16:25:18 +000010 http://www.apache.org/licenses/LICENSE-2.0
Clement Escoffierc80b73d2009-07-03 13:16:24 +000011
Clement Escoffier0630c6b2009-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 Escoffier8aa13cb2008-10-14 10:44:18 +000018-->
Clement Escoffier82d93902012-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 Escoffierd2f47ea2012-04-21 16:04:33 +000020 <parent>
Clement Escoffier0630c6b2009-07-19 16:25:18 +000021 <groupId>org.apache.felix</groupId>
Clement Escoffierd2f47ea2012-04-21 16:04:33 +000022 <artifactId>felix-parent</artifactId>
23 <version>1.2.1</version>
24 <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 Escoffier0d34f9f2012-12-18 09:53:35 +000030 <version>1.9.0-SNAPSHOT</version>
Clement Escoffierb5255aa2011-12-03 10:23:24 +000031
Clement Escoffierd2f47ea2012-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 Escoffierea2507f2012-10-28 15:20:17 +000037
38 1.8.4:
39 * change in ComponentTypeDescription (FELIX-3560)
Clement Escoffierd2f47ea2012-04-21 16:04:33 +000040 -->
Clement Escoffierea2507f2012-10-28 15:20:17 +000041 <ipojo.package.version>1.8.4</ipojo.package.version>
Clement Escoffier8563afc2010-08-29 09:05:18 +000042
Clement Escoffierd2f47ea2012-04-21 16:04:33 +000043 <!-- Embedded manipulator version -->
Clement Escoffierdbef6f72012-12-18 09:51:11 +000044 <ipojo.manipulator.version>1.8.6</ipojo.manipulator.version>
Clement Escoffierd2f47ea2012-04-21 16:04:33 +000045 </properties>
Clement Escoffier8563afc2010-08-29 09:05:18 +000046
Clement Escoffierd2f47ea2012-04-21 16:04:33 +000047 <description>
48 iPOJO Core bundle
49 </description>
50 <url>
51 http://ipojo.org
52 </url>
53
54 <dependencies>
55 <dependency>
56 <groupId>org.osgi</groupId>
57 <artifactId>org.osgi.core</artifactId>
Clement Escoffierb0e3ac52012-11-07 11:13:42 +000058 <version>4.3.1</version>
Clement Escoffierd2f47ea2012-04-21 16:04:33 +000059 </dependency>
60 <dependency>
61 <groupId>org.osgi</groupId>
62 <artifactId>org.osgi.compendium</artifactId>
63 <version>4.0.0</version>
64 </dependency>
65 <dependency>
66 <groupId>org.apache.felix</groupId>
67 <artifactId>org.apache.felix.ipojo.metadata</artifactId>
68 <version>1.6.0</version>
69 </dependency>
70 <dependency>
71 <groupId>org.apache.felix</groupId>
72 <artifactId>org.apache.felix.ipojo.manipulator</artifactId>
73 <version>${ipojo.manipulator.version}</version>
74 <!-- Switching to 1.8.2 breaks the junit4osgi tests...-->
75 </dependency>
76 <dependency>
77 <groupId>asm</groupId>
78 <artifactId>asm-all</artifactId>
79 <version>3.3.1</version>
80 <exclusions>
81 <exclusion>
82 <groupId>asm</groupId>
83 <artifactId>asm-tree</artifactId>
84 </exclusion>
85 </exclusions>
86 </dependency>
Clement Escoffierc21a6642013-03-06 15:44:12 +000087 <dependency>
88 <groupId>org.mockito</groupId>
89 <artifactId>mockito-all</artifactId>
90 <version>1.9.5</version>
91 <scope>test</scope>
92 </dependency>
Clement Escoffierd2f47ea2012-04-21 16:04:33 +000093 </dependencies>
94 <build>
95 <plugins>
96 <plugin>
97 <groupId>org.apache.maven.plugins</groupId>
98 <artifactId>maven-compiler-plugin</artifactId>
Clement Escoffierc21a6642013-03-06 15:44:12 +000099 <version>3.0</version>
Clement Escoffierd2f47ea2012-04-21 16:04:33 +0000100 <configuration>
Clement Escoffierbf8059e2013-03-04 09:01:52 +0000101 <target>1.5</target>
Clement Escoffierd2f47ea2012-04-21 16:04:33 +0000102 <source>1.5</source>
Clement Escoffierc21a6642013-03-06 15:44:12 +0000103 <testTarget>1.5</testTarget>
104 <testSource>1.5</testSource>
Clement Escoffierd2f47ea2012-04-21 16:04:33 +0000105 </configuration>
106 </plugin>
107 <plugin>
108 <groupId>org.apache.felix</groupId>
109 <artifactId>maven-bundle-plugin</artifactId>
110 <version>1.4.3</version>
111 <extensions>true</extensions>
112 <configuration>
113 <instructions>
114 <Bundle-Name>Apache Felix iPOJO</Bundle-Name>
115 <Bundle-Vendor>The Apache Software Foundation</Bundle-Vendor>
116 <Bundle-SymbolicName>org.apache.felix.ipojo;singleton:=true</Bundle-SymbolicName>
117 <Bundle-Description>iPOJO Core Framework</Bundle-Description>
Clement Escoffierc21a6642013-03-06 15:44:12 +0000118 <Bundle-Activator>org.apache.felix.ipojo.extender.internal.Extender</Bundle-Activator>
Clement Escoffierd2f47ea2012-04-21 16:04:33 +0000119 <Bundle-DocURL>
120 http://felix.apache.org/site/apache-felix-ipojo.html
121 </Bundle-DocURL>
122 <IPOJO-Extension>
123 component:org.apache.felix.ipojo.ComponentFactory,
124 handler:org.apache.felix.ipojo.HandlerManagerFactory
125 </IPOJO-Extension>
126 <Import-Package>
127 org.osgi.framework;version=1.3, <!-- To support KF 2 -->
128 org.osgi.service.cm,
129 org.osgi.service.log,
Clement Escoffierc21a6642013-03-06 15:44:12 +0000130 org.osgi.util.tracker;version=1.3,
Clement Escoffierd2f47ea2012-04-21 16:04:33 +0000131 !sun.io,
132 !net.sourceforge.cobertura.*, <!-- To support code coverage -->
133
134 <!--
135 Packages used for the online-manipulator.
136 They are optionals
137 -->
138 javax.xml.parsers;resolution:=optional,
139 org.osgi.service.url;resolution:=optional,
140 org.w3c.dom;resolution:=optional,
141 org.xml.sax;resolution:=optional,
142 org.xml.sax.helpers;resolution:=optional
143 </Import-Package>
144 <Private-Package>
145 org.apache.felix.ipojo.handlers.architecture,
146 org.apache.felix.ipojo.handlers.lifecycle.callback,
147 org.apache.felix.ipojo.handlers.lifecycle.controller,
Clement Escoffierc21a6642013-03-06 15:44:12 +0000148 org.apache.felix.ipojo.extender.internal*,
Clement Escoffiera6f011c2012-11-08 09:02:19 +0000149 META-INF.services.*,
Clement Escoffierd2f47ea2012-04-21 16:04:33 +0000150 <!-- ASM (Manipulator dependencies) -->
151 org.objectweb.asm.commons,
152 org.objectweb.asm.signature,
Clement Escoffierea2507f2012-10-28 15:20:17 +0000153 org.objectweb.asm,
154 org.objectweb.asm.tree
Clement Escoffierd2f47ea2012-04-21 16:04:33 +0000155 </Private-Package>
156 <Export-Package>
157 org.apache.felix.ipojo; version="${ipojo.package.version}",
158 org.apache.felix.ipojo.metadata; version="${ipojo.package.version}",
159 org.apache.felix.ipojo.architecture; version="${ipojo.package.version}",
Clement Escoffierc21a6642013-03-06 15:44:12 +0000160 org.apache.felix.ipojo.extender; version="${ipojo.package.version}",
161 org.apache.felix.ipojo.extender.builder; version="${ipojo.package.version}",
162 org.apache.felix.ipojo.extender.queue; version="${ipojo.package.version}",
Clement Escoffierd2f47ea2012-04-21 16:04:33 +0000163 org.apache.felix.ipojo.parser; version="${ipojo.package.version}",
164 org.apache.felix.ipojo.util; version="${ipojo.package.version}",
165 org.apache.felix.ipojo.handlers.dependency; version="${ipojo.package.version}",
166 org.apache.felix.ipojo.handlers.providedservice.*; version="${ipojo.package.version}",
167 org.apache.felix.ipojo.handlers.configuration; version="${ipojo.package.version}",
168 org.apache.felix.ipojo.context; version="${ipojo.package.version}",
169 <!-- Embedded manipulator -->
Clement Escoffier372ad232012-12-13 15:07:20 +0000170 org.apache.felix.ipojo.manipulation*; version="${ipojo.manipulator.version}",
Clement Escoffierd2f47ea2012-04-21 16:04:33 +0000171 org.apache.felix.ipojo.xml.parser; version="${ipojo.manipulator.version}",
Clement Escoffier372ad232012-12-13 15:07:20 +0000172 org.apache.felix.ipojo.manipulator*; version="${ipojo.manipulator.version}",
173 org.apache.felix.ipojo.annotations*; version="${ipojo.package.version}",
Clement Escoffierd2f47ea2012-04-21 16:04:33 +0000174 <!-- Compendium packages -->
175 org.osgi.service.cm,
176 org.osgi.service.log
177 </Export-Package>
178 <Include-Resource>
179 META-INF/LICENSE=LICENSE,
180 META-INF/NOTICE=NOTICE, META-INF/LICENSE.asm=LICENSE.asm,
181 META-INF/DEPENDENCIES=DEPENDENCIES
182 </Include-Resource>
183 <_donotcopy>(CVS|.svn|.+.bak|~.+|metadata.xml)</_donotcopy>
184 </instructions>
185 </configuration>
186 </plugin>
187 <plugin>
188 <groupId>org.apache.felix</groupId>
189 <artifactId>maven-ipojo-plugin</artifactId>
190 <version>1.8.4</version>
191 <executions>
192 <execution>
193 <goals>
194 <goal>ipojo-bundle</goal>
195 </goals>
196 <configuration>
197 <ignoreAnnotations>true</ignoreAnnotations>
198 </configuration>
199 </execution>
200 </executions>
201 </plugin>
202 <plugin>
203 <groupId>org.codehaus.mojo</groupId>
204 <artifactId>rat-maven-plugin</artifactId>
205 <configuration>
206 <excludeSubProjects>false</excludeSubProjects>
207 <useEclipseDefaultExcludes>true</useEclipseDefaultExcludes>
208 <useMavenDefaultExcludes>true</useMavenDefaultExcludes>
209 <excludes>
210 <param>doc/**/*</param>
211 <param>maven-eclipse.xml</param>
212 <param>.checkstyle</param>
213 <param>.externalToolBuilders/*</param>
214 <param>LICENSE.asm</param>
215 <param>.fbprefs</param>
216 <param>DEPENDENCIES</param>
217 </excludes>
218 </configuration>
219 </plugin>
220 <plugin>
221 <groupId>org.apache.maven.plugins</groupId>
222 <artifactId>maven-checkstyle-plugin</artifactId>
223 <configuration>
224 <enableRulesSummary>false</enableRulesSummary>
225 <violationSeverity>warning</violationSeverity>
226 <configLocation>http://felix.apache.org/ipojo/dev/checkstyle_ipojo.xml</configLocation>
227 </configuration>
228 </plugin>
229 </plugins>
230
231 <resources>
232 <resource>
233 <directory>src/main/resources</directory>
234 </resource>
235 <resource>
236 <directory>.</directory>
237 <targetPath>META-INF</targetPath>
238 <includes>
239 <include>LICENSE*</include>
240 <include>NOTICE*</include>
241 <include>DEPENDENCIES*</include>
242 </includes>
243 </resource>
244 </resources>
245
246 </build>
Clement Escoffier0630c6b2009-07-19 16:25:18 +0000247</project>