blob: 280a2285008a267a0ade74d59408516bc30c672e [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 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 Escoffier6191b082010-08-29 09:05:18 +000042
Clement Escoffier2f1e9482012-04-21 16:04:33 +000043 <!-- Embedded manipulator version -->
Clement Escoffier0da375f2012-12-18 09:51:11 +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,
Clement Escoffiera18fef22012-11-08 09:02:19 +0000139 META-INF.services.*,
Clement Escoffier2f1e9482012-04-21 16:04:33 +0000140 <!-- ASM (Manipulator dependencies) -->
141 org.objectweb.asm.commons,
142 org.objectweb.asm.signature,
Clement Escoffierc8bbc372012-10-28 15:20:17 +0000143 org.objectweb.asm,
144 org.objectweb.asm.tree
Clement Escoffier2f1e9482012-04-21 16:04:33 +0000145 </Private-Package>
146 <Export-Package>
147 org.apache.felix.ipojo; version="${ipojo.package.version}",
148 org.apache.felix.ipojo.metadata; version="${ipojo.package.version}",
149 org.apache.felix.ipojo.architecture; version="${ipojo.package.version}",
150 org.apache.felix.ipojo.parser; version="${ipojo.package.version}",
151 org.apache.felix.ipojo.util; version="${ipojo.package.version}",
152 org.apache.felix.ipojo.handlers.dependency; version="${ipojo.package.version}",
153 org.apache.felix.ipojo.handlers.providedservice.*; version="${ipojo.package.version}",
154 org.apache.felix.ipojo.handlers.configuration; version="${ipojo.package.version}",
155 org.apache.felix.ipojo.context; version="${ipojo.package.version}",
156 <!-- Embedded manipulator -->
Clement Escoffierfe666642012-12-13 15:07:20 +0000157 org.apache.felix.ipojo.manipulation*; version="${ipojo.manipulator.version}",
Clement Escoffier2f1e9482012-04-21 16:04:33 +0000158 org.apache.felix.ipojo.xml.parser; version="${ipojo.manipulator.version}",
Clement Escoffierfe666642012-12-13 15:07:20 +0000159 org.apache.felix.ipojo.manipulator*; version="${ipojo.manipulator.version}",
160 org.apache.felix.ipojo.annotations*; version="${ipojo.package.version}",
Clement Escoffier2f1e9482012-04-21 16:04:33 +0000161 <!-- Compendium packages -->
162 org.osgi.service.cm,
163 org.osgi.service.log
164 </Export-Package>
165 <Include-Resource>
166 META-INF/LICENSE=LICENSE,
167 META-INF/NOTICE=NOTICE, META-INF/LICENSE.asm=LICENSE.asm,
168 META-INF/DEPENDENCIES=DEPENDENCIES
169 </Include-Resource>
170 <_donotcopy>(CVS|.svn|.+.bak|~.+|metadata.xml)</_donotcopy>
171 </instructions>
172 </configuration>
173 </plugin>
174 <plugin>
175 <groupId>org.apache.felix</groupId>
176 <artifactId>maven-ipojo-plugin</artifactId>
177 <version>1.8.4</version>
178 <executions>
179 <execution>
180 <goals>
181 <goal>ipojo-bundle</goal>
182 </goals>
183 <configuration>
184 <ignoreAnnotations>true</ignoreAnnotations>
185 </configuration>
186 </execution>
187 </executions>
188 </plugin>
189 <plugin>
190 <groupId>org.codehaus.mojo</groupId>
191 <artifactId>rat-maven-plugin</artifactId>
192 <configuration>
193 <excludeSubProjects>false</excludeSubProjects>
194 <useEclipseDefaultExcludes>true</useEclipseDefaultExcludes>
195 <useMavenDefaultExcludes>true</useMavenDefaultExcludes>
196 <excludes>
197 <param>doc/**/*</param>
198 <param>maven-eclipse.xml</param>
199 <param>.checkstyle</param>
200 <param>.externalToolBuilders/*</param>
201 <param>LICENSE.asm</param>
202 <param>.fbprefs</param>
203 <param>DEPENDENCIES</param>
204 </excludes>
205 </configuration>
206 </plugin>
207 <plugin>
208 <groupId>org.apache.maven.plugins</groupId>
209 <artifactId>maven-checkstyle-plugin</artifactId>
210 <configuration>
211 <enableRulesSummary>false</enableRulesSummary>
212 <violationSeverity>warning</violationSeverity>
213 <configLocation>http://felix.apache.org/ipojo/dev/checkstyle_ipojo.xml</configLocation>
214 </configuration>
215 </plugin>
216 </plugins>
217
218 <resources>
219 <resource>
220 <directory>src/main/resources</directory>
221 </resource>
222 <resource>
223 <directory>.</directory>
224 <targetPath>META-INF</targetPath>
225 <includes>
226 <include>LICENSE*</include>
227 <include>NOTICE*</include>
228 <include>DEPENDENCIES*</include>
229 </includes>
230 </resource>
231 </resources>
232
233 </build>
Clement Escoffierbfa74d02009-07-19 16:25:18 +0000234</project>