blob: cd6543119c73c8c2c959adee45511569e7385917 [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 Escoffier27df38e2012-12-18 09:53:35 +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 Escoffier2f1e9482012-04-21 16:04:33 +000040 -->
Clement Escoffierc8bbc372012-10-28 15:20:17 +000041 <ipojo.package.version>1.8.4</ipojo.package.version>
Clement Escoffier2f1e9482012-04-21 16:04:33 +000042 </properties>
Clement Escoffier6191b082010-08-29 09:05:18 +000043
Clement Escoffier2f1e9482012-04-21 16:04:33 +000044 <description>
45 iPOJO Core bundle
46 </description>
47 <url>
48 http://ipojo.org
49 </url>
50
51 <dependencies>
52 <dependency>
53 <groupId>org.osgi</groupId>
54 <artifactId>org.osgi.core</artifactId>
Clement Escoffierf16462f2012-11-07 11:13:42 +000055 <version>4.3.1</version>
Clement Escoffier2f1e9482012-04-21 16:04:33 +000056 </dependency>
57 <dependency>
58 <groupId>org.osgi</groupId>
59 <artifactId>org.osgi.compendium</artifactId>
60 <version>4.0.0</version>
61 </dependency>
62 <dependency>
63 <groupId>org.apache.felix</groupId>
64 <artifactId>org.apache.felix.ipojo.metadata</artifactId>
65 <version>1.6.0</version>
66 </dependency>
67 <dependency>
Clement Escoffier2f1e9482012-04-21 16:04:33 +000068 <groupId>asm</groupId>
69 <artifactId>asm-all</artifactId>
70 <version>3.3.1</version>
71 <exclusions>
72 <exclusion>
73 <groupId>asm</groupId>
74 <artifactId>asm-tree</artifactId>
75 </exclusion>
76 </exclusions>
77 </dependency>
Clement Escoffieraaffec92013-03-06 15:44:12 +000078 <dependency>
79 <groupId>org.mockito</groupId>
80 <artifactId>mockito-all</artifactId>
81 <version>1.9.5</version>
82 <scope>test</scope>
83 </dependency>
Clement Escoffier2f1e9482012-04-21 16:04:33 +000084 </dependencies>
85 <build>
86 <plugins>
87 <plugin>
88 <groupId>org.apache.maven.plugins</groupId>
89 <artifactId>maven-compiler-plugin</artifactId>
Clement Escoffieraaffec92013-03-06 15:44:12 +000090 <version>3.0</version>
Clement Escoffier2f1e9482012-04-21 16:04:33 +000091 <configuration>
Clement Escoffierc5b8d122013-03-04 09:01:52 +000092 <target>1.5</target>
Clement Escoffier2f1e9482012-04-21 16:04:33 +000093 <source>1.5</source>
Clement Escoffieraaffec92013-03-06 15:44:12 +000094 <testTarget>1.5</testTarget>
95 <testSource>1.5</testSource>
Clement Escoffier2f1e9482012-04-21 16:04:33 +000096 </configuration>
97 </plugin>
98 <plugin>
99 <groupId>org.apache.felix</groupId>
100 <artifactId>maven-bundle-plugin</artifactId>
Clement Escoffiered4ca022013-03-13 15:27:20 +0000101 <version>2.3.7</version>
Clement Escoffier2f1e9482012-04-21 16:04:33 +0000102 <extensions>true</extensions>
103 <configuration>
104 <instructions>
105 <Bundle-Name>Apache Felix iPOJO</Bundle-Name>
106 <Bundle-Vendor>The Apache Software Foundation</Bundle-Vendor>
107 <Bundle-SymbolicName>org.apache.felix.ipojo;singleton:=true</Bundle-SymbolicName>
108 <Bundle-Description>iPOJO Core Framework</Bundle-Description>
Clement Escoffieraaffec92013-03-06 15:44:12 +0000109 <Bundle-Activator>org.apache.felix.ipojo.extender.internal.Extender</Bundle-Activator>
Clement Escoffier2f1e9482012-04-21 16:04:33 +0000110 <Bundle-DocURL>
111 http://felix.apache.org/site/apache-felix-ipojo.html
112 </Bundle-DocURL>
113 <IPOJO-Extension>
114 component:org.apache.felix.ipojo.ComponentFactory,
115 handler:org.apache.felix.ipojo.HandlerManagerFactory
116 </IPOJO-Extension>
117 <Import-Package>
118 org.osgi.framework;version=1.3, <!-- To support KF 2 -->
Clement Escoffier2541ae32013-04-24 15:06:07 +0000119 org.osgi.framework.wiring;resolution:=optional,
Clement Escoffier2f1e9482012-04-21 16:04:33 +0000120 org.osgi.service.cm,
121 org.osgi.service.log,
Clement Escoffieraaffec92013-03-06 15:44:12 +0000122 org.osgi.util.tracker;version=1.3,
Clement Escoffier2f1e9482012-04-21 16:04:33 +0000123 !sun.io,
Clement Escoffier2541ae32013-04-24 15:06:07 +0000124 !net.sourceforge.cobertura.*, <!-- To support code coverage -->
125 !org.objectweb.asm.signature,
126 !org.objectweb.asm.tree
Clement Escoffier2f1e9482012-04-21 16:04:33 +0000127 </Import-Package>
128 <Private-Package>
129 org.apache.felix.ipojo.handlers.architecture,
130 org.apache.felix.ipojo.handlers.lifecycle.callback,
131 org.apache.felix.ipojo.handlers.lifecycle.controller,
Clement Escoffieraaffec92013-03-06 15:44:12 +0000132 org.apache.felix.ipojo.extender.internal*,
Clement Escoffier581a0422013-04-08 09:24:12 +0000133 org.objectweb.asm;-split-package:=merge-last,
Clement Escoffier2541ae32013-04-24 15:06:07 +0000134 org.objectweb.asm.commons;-split-package:=merge-last,
Clement Escoffier581a0422013-04-08 09:24:12 +0000135 org.apache.felix.ipojo.metadata,
136 <!-- Compendium packages -->
137 org.osgi.service.cm,
138 org.osgi.service.log
Clement Escoffier2f1e9482012-04-21 16:04:33 +0000139 </Private-Package>
140 <Export-Package>
141 org.apache.felix.ipojo; version="${ipojo.package.version}",
Clement Escoffier2541ae32013-04-24 15:06:07 +0000142 org.apache.felix.ipojo.configuration; version="${ipojo.package.version}",
Clement Escoffier2f1e9482012-04-21 16:04:33 +0000143 org.apache.felix.ipojo.metadata; version="${ipojo.package.version}",
144 org.apache.felix.ipojo.architecture; version="${ipojo.package.version}",
Clement Escoffiered4ca022013-03-13 15:27:20 +0000145 org.apache.felix.ipojo.extender;
146 version="${ipojo.package.version}";-split-package:=merge-first,
Clement Escoffieraaffec92013-03-06 15:44:12 +0000147 org.apache.felix.ipojo.extender.builder; version="${ipojo.package.version}",
148 org.apache.felix.ipojo.extender.queue; version="${ipojo.package.version}",
Clement Escoffier2f1e9482012-04-21 16:04:33 +0000149 org.apache.felix.ipojo.parser; version="${ipojo.package.version}",
150 org.apache.felix.ipojo.util; version="${ipojo.package.version}",
151 org.apache.felix.ipojo.handlers.dependency; version="${ipojo.package.version}",
152 org.apache.felix.ipojo.handlers.providedservice.*; version="${ipojo.package.version}",
153 org.apache.felix.ipojo.handlers.configuration; version="${ipojo.package.version}",
154 org.apache.felix.ipojo.context; version="${ipojo.package.version}",
Clement Escoffier2f1e9482012-04-21 16:04:33 +0000155 <!-- Compendium packages -->
156 org.osgi.service.cm,
157 org.osgi.service.log
158 </Export-Package>
Clement Escoffier2f1e9482012-04-21 16:04:33 +0000159 <_donotcopy>(CVS|.svn|.+.bak|~.+|metadata.xml)</_donotcopy>
160 </instructions>
161 </configuration>
162 </plugin>
163 <plugin>
164 <groupId>org.apache.felix</groupId>
165 <artifactId>maven-ipojo-plugin</artifactId>
166 <version>1.8.4</version>
167 <executions>
168 <execution>
169 <goals>
170 <goal>ipojo-bundle</goal>
171 </goals>
172 <configuration>
173 <ignoreAnnotations>true</ignoreAnnotations>
174 </configuration>
175 </execution>
176 </executions>
177 </plugin>
178 <plugin>
Clement Escoffier2f1e9482012-04-21 16:04:33 +0000179 <groupId>org.apache.maven.plugins</groupId>
180 <artifactId>maven-checkstyle-plugin</artifactId>
181 <configuration>
182 <enableRulesSummary>false</enableRulesSummary>
183 <violationSeverity>warning</violationSeverity>
184 <configLocation>http://felix.apache.org/ipojo/dev/checkstyle_ipojo.xml</configLocation>
185 </configuration>
186 </plugin>
Clement Escoffiered4ca022013-03-13 15:27:20 +0000187 <plugin>
188 <groupId>org.apache.rat</groupId>
189 <artifactId>apache-rat-plugin</artifactId>
190 <executions>
191 <execution>
192 <phase>verify</phase>
193 <goals>
194 <goal>check</goal>
195 </goals>
196 </execution>
197 </executions>
198 <configuration>
199 <!-- check src only (except remote resources additions) -->
200 <includes>
201 <include>src/**</include>
202 </includes>
203 <excludes>
204 <exclude>src/main/appended-resources/**</exclude>
205 <exclude>**/manipulation/MANIFEST.MF</exclude> <!-- This file is used by tests -->
206 </excludes>
207 </configuration>
208 </plugin>
Clement Escoffiere6237552013-03-20 09:51:42 +0000209 <plugin>
210 <groupId>org.codehaus.mojo</groupId>
211 <artifactId>animal-sniffer-maven-plugin</artifactId>
212 <version>1.7</version>
213 <configuration>
214 <signature>
215 <groupId>org.codehaus.mojo.signature</groupId>
216 <artifactId>java15</artifactId>
217 <version>1.0</version>
218 </signature>
219 </configuration>
220 <executions>
221 <execution>
222 <phase>test</phase>
223 <goals>
224 <goal>check</goal>
225 </goals>
226 </execution>
227 </executions>
228 </plugin>
Clement Escoffier2f1e9482012-04-21 16:04:33 +0000229 </plugins>
Clement Escoffier2f1e9482012-04-21 16:04:33 +0000230 </build>
Clement Escoffierbfa74d02009-07-19 16:25:18 +0000231</project>