blob: b4e29cc4a9cbf5520e35f12b01dcb623f03278a8 [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>
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 Escoffiere497cc72012-10-28 15:34:26 +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 Escoffier6191b082010-08-29 09:05:18 +000042
Clement Escoffier2f1e9482012-04-21 16:04:33 +000043 <!-- Embedded manipulator version -->
Clement Escoffierc8bbc372012-10-28 15:20:17 +000044 <ipojo.manipulator.version>1.8.6</ipojo.manipulator.version>
Clement Escoffier2f1e9482012-04-21 16:04:33 +000045 </properties>
Clement Escoffier6191b082010-08-29 09:05:18 +000046
Clement Escoffier2f1e9482012-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 Escoffierf16462f2012-11-07 11:13:42 +000058 <version>4.3.1</version>
Clement Escoffier2f1e9482012-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>
87 </dependencies>
88 <build>
89 <plugins>
90 <plugin>
91 <groupId>org.apache.maven.plugins</groupId>
92 <artifactId>maven-compiler-plugin</artifactId>
93 <configuration>
94 <target>jsr14</target>
95 <source>1.5</source>
96 </configuration>
97 </plugin>
98 <plugin>
99 <groupId>org.apache.felix</groupId>
100 <artifactId>maven-bundle-plugin</artifactId>
101 <version>1.4.3</version>
102 <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>
109 <Bundle-Activator>org.apache.felix.ipojo.Extender
110 </Bundle-Activator>
111 <Bundle-DocURL>
112 http://felix.apache.org/site/apache-felix-ipojo.html
113 </Bundle-DocURL>
114 <IPOJO-Extension>
115 component:org.apache.felix.ipojo.ComponentFactory,
116 handler:org.apache.felix.ipojo.HandlerManagerFactory
117 </IPOJO-Extension>
118 <Import-Package>
119 org.osgi.framework;version=1.3, <!-- To support KF 2 -->
120 org.osgi.service.cm,
121 org.osgi.service.log,
Clement Escoffier2f1e9482012-04-21 16:04:33 +0000122 !sun.io,
123 !net.sourceforge.cobertura.*, <!-- To support code coverage -->
124
125 <!--
126 Packages used for the online-manipulator.
127 They are optionals
128 -->
129 javax.xml.parsers;resolution:=optional,
130 org.osgi.service.url;resolution:=optional,
131 org.w3c.dom;resolution:=optional,
132 org.xml.sax;resolution:=optional,
133 org.xml.sax.helpers;resolution:=optional
134 </Import-Package>
135 <Private-Package>
136 org.apache.felix.ipojo.handlers.architecture,
137 org.apache.felix.ipojo.handlers.lifecycle.callback,
138 org.apache.felix.ipojo.handlers.lifecycle.controller,
139 <!-- ASM (Manipulator dependencies) -->
140 org.objectweb.asm.commons,
141 org.objectweb.asm.signature,
Clement Escoffierc8bbc372012-10-28 15:20:17 +0000142 org.objectweb.asm,
143 org.objectweb.asm.tree
Clement Escoffier2f1e9482012-04-21 16:04:33 +0000144 </Private-Package>
145 <Export-Package>
146 org.apache.felix.ipojo; version="${ipojo.package.version}",
147 org.apache.felix.ipojo.metadata; version="${ipojo.package.version}",
148 org.apache.felix.ipojo.architecture; version="${ipojo.package.version}",
149 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}",
155 <!-- Embedded manipulator -->
156 org.apache.felix.ipojo.manipulator; version="${ipojo.manipulator.version}",
157 org.apache.felix.ipojo.xml.parser; version="${ipojo.manipulator.version}",
158 org.apache.felix.ipojo.*; version="${ipojo.manipulator.version}",
159 <!-- Compendium packages -->
160 org.osgi.service.cm,
161 org.osgi.service.log
162 </Export-Package>
163 <Include-Resource>
164 META-INF/LICENSE=LICENSE,
165 META-INF/NOTICE=NOTICE, META-INF/LICENSE.asm=LICENSE.asm,
166 META-INF/DEPENDENCIES=DEPENDENCIES
167 </Include-Resource>
168 <_donotcopy>(CVS|.svn|.+.bak|~.+|metadata.xml)</_donotcopy>
169 </instructions>
170 </configuration>
171 </plugin>
172 <plugin>
173 <groupId>org.apache.felix</groupId>
174 <artifactId>maven-ipojo-plugin</artifactId>
175 <version>1.8.4</version>
176 <executions>
177 <execution>
178 <goals>
179 <goal>ipojo-bundle</goal>
180 </goals>
181 <configuration>
182 <ignoreAnnotations>true</ignoreAnnotations>
183 </configuration>
184 </execution>
185 </executions>
186 </plugin>
187 <plugin>
188 <groupId>org.codehaus.mojo</groupId>
189 <artifactId>rat-maven-plugin</artifactId>
190 <configuration>
191 <excludeSubProjects>false</excludeSubProjects>
192 <useEclipseDefaultExcludes>true</useEclipseDefaultExcludes>
193 <useMavenDefaultExcludes>true</useMavenDefaultExcludes>
194 <excludes>
195 <param>doc/**/*</param>
196 <param>maven-eclipse.xml</param>
197 <param>.checkstyle</param>
198 <param>.externalToolBuilders/*</param>
199 <param>LICENSE.asm</param>
200 <param>.fbprefs</param>
201 <param>DEPENDENCIES</param>
202 </excludes>
203 </configuration>
204 </plugin>
205 <plugin>
206 <groupId>org.apache.maven.plugins</groupId>
207 <artifactId>maven-checkstyle-plugin</artifactId>
208 <configuration>
209 <enableRulesSummary>false</enableRulesSummary>
210 <violationSeverity>warning</violationSeverity>
211 <configLocation>http://felix.apache.org/ipojo/dev/checkstyle_ipojo.xml</configLocation>
212 </configuration>
213 </plugin>
214 </plugins>
215
216 <resources>
217 <resource>
218 <directory>src/main/resources</directory>
219 </resource>
220 <resource>
221 <directory>.</directory>
222 <targetPath>META-INF</targetPath>
223 <includes>
224 <include>LICENSE*</include>
225 <include>NOTICE*</include>
226 <include>DEPENDENCIES*</include>
227 </includes>
228 </resource>
229 </resources>
230
231 </build>
Clement Escoffierbfa74d02009-07-19 16:25:18 +0000232</project>