blob: e417c06dc34201316dce9573c64e646e66002dea [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 Escoffierbf692b02009-01-19 14:22:40 +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 Escoffierbfa74d02009-07-19 16:25:18 +000020 <parent>
21 <groupId>org.apache.felix</groupId>
22 <artifactId>felix-parent</artifactId>
Clement Escoffier86215df2010-04-16 13:54:16 +000023 <version>1.2.1</version>
Clement Escoffierbfa74d02009-07-19 16:25:18 +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 Escoffier6aee0262011-01-17 08:19:07 +000030 <version>1.9.0-SNAPSHOT</version>
Clement Escoffier0b93f382009-07-03 13:16:24 +000031
Clement Escoffierbfa74d02009-07-19 16:25:18 +000032 <properties>
Clement Escoffier2fd18232011-10-05 14:03:33 +000033 <!--
Clement Escoffier24f4a5c2011-10-31 15:50:07 +000034 1.8.1:
35 * change in the MethodInterceptor interface (FELIX-3144)
36 * change in the Factory interface (FELIX-3190)
Clement Escoffier2fd18232011-10-05 14:03:33 +000037 -->
38 <ipojo.package.version>1.8.1</ipojo.package.version>
Clement Escoffier4b5d3d52011-12-03 10:23:24 +000039
40 <!-- Embedded manipulator version -->
41 <ipojo.manipulator.version>1.8.0</ipojo.manipulator.version>
Clement Escoffierbfa74d02009-07-19 16:25:18 +000042 </properties>
Clement Escoffier6191b082010-08-29 09:05:18 +000043
Clement Escoffierbfa74d02009-07-19 16:25:18 +000044 <description>
45 iPOJO Core bundle
46 </description>
47 <url>
48 http://ipojo.org
49 </url>
Clement Escoffier0b93f382009-07-03 13:16:24 +000050
Clement Escoffierbfa74d02009-07-19 16:25:18 +000051 <dependencies>
52 <dependency>
Clement Escoffier86215df2010-04-16 13:54:16 +000053 <groupId>org.osgi</groupId>
Clement Escoffierbfa74d02009-07-19 16:25:18 +000054 <artifactId>org.osgi.core</artifactId>
Clement Escoffierc097abc2011-10-19 15:07:26 +000055 <version>4.3.0</version>
Clement Escoffierbfa74d02009-07-19 16:25:18 +000056 </dependency>
57 <dependency>
Clement Escoffier86215df2010-04-16 13:54:16 +000058 <groupId>org.osgi</groupId>
Clement Escoffierbfa74d02009-07-19 16:25:18 +000059 <artifactId>org.osgi.compendium</artifactId>
Clement Escoffier86215df2010-04-16 13:54:16 +000060 <version>4.0.0</version>
Clement Escoffierbfa74d02009-07-19 16:25:18 +000061 </dependency>
62 <dependency>
63 <groupId>org.apache.felix</groupId>
64 <artifactId>org.apache.felix.ipojo.metadata</artifactId>
Clement Escoffier737b16b2011-09-25 10:58:16 +000065 <version>1.5.0-SNAPSHOT</version>
Clement Escoffierbfa74d02009-07-19 16:25:18 +000066 </dependency>
Clement Escoffier4b5d3d52011-12-03 10:23:24 +000067 <dependency>
68 <groupId>org.apache.felix</groupId>
69 <artifactId>org.apache.felix.ipojo.manipulator</artifactId>
70 <version>${ipojo.manipulator.version}</version>
71 </dependency>
Clement Escoffier769c9942009-12-26 11:15:42 +000072 <dependency>
73 <groupId>asm</groupId>
74 <artifactId>asm-all</artifactId>
Clement Escoffiera6725432011-10-05 14:55:48 +000075 <version>3.3.1</version>
Clement Escoffier769c9942009-12-26 11:15:42 +000076 <exclusions>
77 <exclusion>
78 <groupId>asm</groupId>
79 <artifactId>asm-tree</artifactId>
80 </exclusion>
81 </exclusions>
82 </dependency>
Clement Escoffierbfa74d02009-07-19 16:25:18 +000083 </dependencies>
84 <build>
85 <plugins>
86 <plugin>
Clement Escoffierc097abc2011-10-19 15:07:26 +000087 <groupId>org.apache.maven.plugins</groupId>
88 <artifactId>maven-compiler-plugin</artifactId>
89 <configuration>
90 <target>jsr14</target>
91 <source>1.5</source>
92 </configuration>
93 </plugin>
94 <plugin>
Clement Escoffierbfa74d02009-07-19 16:25:18 +000095 <groupId>org.apache.felix</groupId>
96 <artifactId>maven-bundle-plugin</artifactId>
97 <version>1.4.3</version>
98 <extensions>true</extensions>
99 <configuration>
100 <instructions>
101 <Bundle-Name>Apache Felix iPOJO</Bundle-Name>
102 <Bundle-Vendor> The Apache Software Foundation </Bundle-Vendor>
103 <Bundle-SymbolicName>org.apache.felix.ipojo;singleton:=true</Bundle-SymbolicName>
104 <Bundle-Description> iPOJO Core Framework </Bundle-Description>
105 <Bundle-Activator> org.apache.felix.ipojo.Extender
106 </Bundle-Activator>
107 <Bundle-DocURL>
108 http://felix.apache.org/site/apache-felix-ipojo.html
109 </Bundle-DocURL>
110 <IPOJO-Extension>
111 component:org.apache.felix.ipojo.ComponentFactory,
112 handler:org.apache.felix.ipojo.HandlerManagerFactory
113 </IPOJO-Extension>
114 <Import-Package>
115 org.osgi.framework;version=1.3, <!-- To support KF 2 -->
116 org.osgi.service.cm,
117 org.osgi.service.log,
Clement Escoffier4b5d3d52011-12-03 10:23:24 +0000118 !org.objectweb.asm.tree,
119 !sun.io,
120 !net.sourceforge.cobertura.*, <!-- To support code coverage -->
121
122 <!--
123 Packages used for the online-manipulator.
124 They are optionals
125 -->
126 javax.xml.parsers;resolution:=optional,
127 org.osgi.service.url;resolution:=optional,
128 org.w3c.dom;resolution:=optional,
129 org.xml.sax;resolution:=optional,
130 org.xml.sax.helpers;resolution:=optional
Clement Escoffierbfa74d02009-07-19 16:25:18 +0000131 </Import-Package>
132 <Private-Package>
133 org.apache.felix.ipojo.handlers.architecture,
134 org.apache.felix.ipojo.handlers.lifecycle.callback,
135 org.apache.felix.ipojo.handlers.lifecycle.controller
136 </Private-Package>
137 <Export-Package>
138 org.apache.felix.ipojo; version="${ipojo.package.version}",
139 org.apache.felix.ipojo.metadata; version="${ipojo.package.version}",
140 org.apache.felix.ipojo.architecture; version="${ipojo.package.version}",
141 org.apache.felix.ipojo.parser; version="${ipojo.package.version}",
142 org.apache.felix.ipojo.util; version="${ipojo.package.version}",
143 org.apache.felix.ipojo.handlers.dependency; version="${ipojo.package.version}",
Clement Escoffier029880f2009-11-24 19:39:00 +0000144 org.apache.felix.ipojo.handlers.providedservice.*; version="${ipojo.package.version}",
Clement Escoffierbfa74d02009-07-19 16:25:18 +0000145 org.apache.felix.ipojo.handlers.configuration; version="${ipojo.package.version}",
146 org.apache.felix.ipojo.context; version="${ipojo.package.version}",
Clement Escoffier4b5d3d52011-12-03 10:23:24 +0000147 <!-- Embedded manipulator -->
148 org.apache.felix.ipojo.manipulator; version="${ipojo.manipulator.version}",
149 org.apache.felix.ipojo.xml.parser; version="${ipojo.manipulator.version}",
150 org.apache.felix.ipojo.*; version="${ipojo.manipulator.version}",
151 <!-- Compendium packages -->
Clement Escoffierbfa74d02009-07-19 16:25:18 +0000152 org.osgi.service.cm,
Clement Escoffier769c9942009-12-26 11:15:42 +0000153 org.osgi.service.log,
Clement Escoffier4b5d3d52011-12-03 10:23:24 +0000154 <!-- ASM (Manipulator dependencies -->
155 org.objectweb.asm.commons;version=3.3.1,
156 org.objectweb.asm.signature;version=3.3.1,
157 org.objectweb.asm;version=3.3.1
Clement Escoffierbfa74d02009-07-19 16:25:18 +0000158 </Export-Package>
159 <Include-Resource>
160 META-INF/LICENSE=LICENSE,
Clement Escoffier1593ef52010-07-14 18:31:13 +0000161 META-INF/NOTICE=NOTICE, META-INF/LICENSE.asm=LICENSE.asm,
162 META-INF/DEPENDENCIES=DEPENDENCIES
Clement Escoffierbfa74d02009-07-19 16:25:18 +0000163 </Include-Resource>
164 <_donotcopy> (CVS|.svn|.+.bak|~.+|metadata.xml) </_donotcopy>
165 </instructions>
166 </configuration>
167 </plugin>
168 <plugin>
169 <groupId>org.apache.felix</groupId>
170 <artifactId>maven-ipojo-plugin</artifactId>
Clement Escoffierb2c5b4b2011-01-17 08:17:08 +0000171 <version>1.8.0</version>
Clement Escoffierbfa74d02009-07-19 16:25:18 +0000172 <executions>
173 <execution>
174 <goals>
175 <goal>ipojo-bundle</goal>
176 </goals>
177 <configuration>
Clement Escoffierbfa74d02009-07-19 16:25:18 +0000178 <ignoreAnnotations>true</ignoreAnnotations>
179 </configuration>
180 </execution>
181 </executions>
182 </plugin>
183 <plugin>
184 <groupId>org.codehaus.mojo</groupId>
185 <artifactId>rat-maven-plugin</artifactId>
186 <configuration>
187 <excludeSubProjects>false</excludeSubProjects>
188 <useEclipseDefaultExcludes>true</useEclipseDefaultExcludes>
189 <useMavenDefaultExcludes>true</useMavenDefaultExcludes>
190 <excludes>
191 <param>doc/**/*</param>
192 <param>maven-eclipse.xml</param>
193 <param>.checkstyle</param>
194 <param>.externalToolBuilders/*</param>
195 <param>LICENSE.asm</param>
196 <param>.fbprefs</param>
Clement Escoffier6191b082010-08-29 09:05:18 +0000197 <param>DEPENDENCIES</param>
Clement Escoffierbfa74d02009-07-19 16:25:18 +0000198 </excludes>
199 </configuration>
200 </plugin>
201 <plugin>
202 <groupId>org.apache.maven.plugins</groupId>
203 <artifactId>maven-checkstyle-plugin</artifactId>
204 <configuration>
205 <enableRulesSummary>false</enableRulesSummary>
206 <violationSeverity>warning</violationSeverity>
207 <configLocation>http://felix.apache.org/ipojo/dev/checkstyle_ipojo.xml</configLocation>
208 </configuration>
209 </plugin>
210 </plugins>
Clement Escoffier6191b082010-08-29 09:05:18 +0000211
212 <resources>
Clement Escoffier737b16b2011-09-25 10:58:16 +0000213 <resource>
214 <directory>src/main/resources</directory>
215 </resource>
216 <resource>
217 <directory>.</directory>
218 <targetPath>META-INF</targetPath>
219 <includes>
220 <include>LICENSE*</include>
221 <include>NOTICE*</include>
222 <include>DEPENDENCIES*</include>
223 </includes>
224 </resource>
225 </resources>
Clement Escoffier6191b082010-08-29 09:05:18 +0000226
Clement Escoffierbfa74d02009-07-19 16:25:18 +0000227 </build>
228</project>