blob: 075115212c9d0bbd45208586dab246e841e74332 [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 -->
119 org.osgi.service.cm,
120 org.osgi.service.log,
Clement Escoffieraaffec92013-03-06 15:44:12 +0000121 org.osgi.util.tracker;version=1.3,
Clement Escoffier2f1e9482012-04-21 16:04:33 +0000122 !sun.io,
Clement Escoffier4f2609b2013-03-20 07:35:37 +0000123 !net.sourceforge.cobertura.* <!-- To support code coverage -->
Clement Escoffier2f1e9482012-04-21 16:04:33 +0000124 </Import-Package>
125 <Private-Package>
126 org.apache.felix.ipojo.handlers.architecture,
127 org.apache.felix.ipojo.handlers.lifecycle.callback,
128 org.apache.felix.ipojo.handlers.lifecycle.controller,
Clement Escoffieraaffec92013-03-06 15:44:12 +0000129 org.apache.felix.ipojo.extender.internal*,
Clement Escoffier581a0422013-04-08 09:24:12 +0000130 org.objectweb.asm;-split-package:=merge-last,
131 org.apache.felix.ipojo.metadata,
132 <!-- Compendium packages -->
133 org.osgi.service.cm,
134 org.osgi.service.log
Clement Escoffier2f1e9482012-04-21 16:04:33 +0000135 </Private-Package>
136 <Export-Package>
137 org.apache.felix.ipojo; version="${ipojo.package.version}",
138 org.apache.felix.ipojo.metadata; version="${ipojo.package.version}",
139 org.apache.felix.ipojo.architecture; version="${ipojo.package.version}",
Clement Escoffiered4ca022013-03-13 15:27:20 +0000140 org.apache.felix.ipojo.extender;
141 version="${ipojo.package.version}";-split-package:=merge-first,
Clement Escoffieraaffec92013-03-06 15:44:12 +0000142 org.apache.felix.ipojo.extender.builder; version="${ipojo.package.version}",
143 org.apache.felix.ipojo.extender.queue; version="${ipojo.package.version}",
Clement Escoffier2f1e9482012-04-21 16:04:33 +0000144 org.apache.felix.ipojo.parser; version="${ipojo.package.version}",
145 org.apache.felix.ipojo.util; version="${ipojo.package.version}",
146 org.apache.felix.ipojo.handlers.dependency; version="${ipojo.package.version}",
147 org.apache.felix.ipojo.handlers.providedservice.*; version="${ipojo.package.version}",
148 org.apache.felix.ipojo.handlers.configuration; version="${ipojo.package.version}",
149 org.apache.felix.ipojo.context; version="${ipojo.package.version}",
Clement Escoffier2f1e9482012-04-21 16:04:33 +0000150 <!-- Compendium packages -->
151 org.osgi.service.cm,
152 org.osgi.service.log
153 </Export-Package>
Clement Escoffier2f1e9482012-04-21 16:04:33 +0000154 <_donotcopy>(CVS|.svn|.+.bak|~.+|metadata.xml)</_donotcopy>
155 </instructions>
156 </configuration>
157 </plugin>
158 <plugin>
159 <groupId>org.apache.felix</groupId>
160 <artifactId>maven-ipojo-plugin</artifactId>
161 <version>1.8.4</version>
162 <executions>
163 <execution>
164 <goals>
165 <goal>ipojo-bundle</goal>
166 </goals>
167 <configuration>
168 <ignoreAnnotations>true</ignoreAnnotations>
169 </configuration>
170 </execution>
171 </executions>
172 </plugin>
173 <plugin>
Clement Escoffier2f1e9482012-04-21 16:04:33 +0000174 <groupId>org.apache.maven.plugins</groupId>
175 <artifactId>maven-checkstyle-plugin</artifactId>
176 <configuration>
177 <enableRulesSummary>false</enableRulesSummary>
178 <violationSeverity>warning</violationSeverity>
179 <configLocation>http://felix.apache.org/ipojo/dev/checkstyle_ipojo.xml</configLocation>
180 </configuration>
181 </plugin>
Clement Escoffiered4ca022013-03-13 15:27:20 +0000182 <plugin>
183 <groupId>org.apache.rat</groupId>
184 <artifactId>apache-rat-plugin</artifactId>
185 <executions>
186 <execution>
187 <phase>verify</phase>
188 <goals>
189 <goal>check</goal>
190 </goals>
191 </execution>
192 </executions>
193 <configuration>
194 <!-- check src only (except remote resources additions) -->
195 <includes>
196 <include>src/**</include>
197 </includes>
198 <excludes>
199 <exclude>src/main/appended-resources/**</exclude>
200 <exclude>**/manipulation/MANIFEST.MF</exclude> <!-- This file is used by tests -->
201 </excludes>
202 </configuration>
203 </plugin>
Clement Escoffiere6237552013-03-20 09:51:42 +0000204 <plugin>
205 <groupId>org.codehaus.mojo</groupId>
206 <artifactId>animal-sniffer-maven-plugin</artifactId>
207 <version>1.7</version>
208 <configuration>
209 <signature>
210 <groupId>org.codehaus.mojo.signature</groupId>
211 <artifactId>java15</artifactId>
212 <version>1.0</version>
213 </signature>
214 </configuration>
215 <executions>
216 <execution>
217 <phase>test</phase>
218 <goals>
219 <goal>check</goal>
220 </goals>
221 </execution>
222 </executions>
223 </plugin>
Clement Escoffier2f1e9482012-04-21 16:04:33 +0000224 </plugins>
Clement Escoffier2f1e9482012-04-21 16:04:33 +0000225 </build>
Clement Escoffierbfa74d02009-07-19 16:25:18 +0000226</project>