blob: 7501a8cbe6ee416ddbc496bfe5cefc81057d3c03 [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 Escoffier4f2609b2013-03-20 07:35:37 +0000130 org.objectweb.asm;-split-package:=merge-last
Clement Escoffier2f1e9482012-04-21 16:04:33 +0000131 </Private-Package>
132 <Export-Package>
133 org.apache.felix.ipojo; version="${ipojo.package.version}",
134 org.apache.felix.ipojo.metadata; version="${ipojo.package.version}",
135 org.apache.felix.ipojo.architecture; version="${ipojo.package.version}",
Clement Escoffiered4ca022013-03-13 15:27:20 +0000136 org.apache.felix.ipojo.extender;
137 version="${ipojo.package.version}";-split-package:=merge-first,
Clement Escoffieraaffec92013-03-06 15:44:12 +0000138 org.apache.felix.ipojo.extender.builder; version="${ipojo.package.version}",
139 org.apache.felix.ipojo.extender.queue; version="${ipojo.package.version}",
Clement Escoffier2f1e9482012-04-21 16:04:33 +0000140 org.apache.felix.ipojo.parser; version="${ipojo.package.version}",
141 org.apache.felix.ipojo.util; version="${ipojo.package.version}",
142 org.apache.felix.ipojo.handlers.dependency; version="${ipojo.package.version}",
143 org.apache.felix.ipojo.handlers.providedservice.*; version="${ipojo.package.version}",
144 org.apache.felix.ipojo.handlers.configuration; version="${ipojo.package.version}",
145 org.apache.felix.ipojo.context; version="${ipojo.package.version}",
Clement Escoffier2f1e9482012-04-21 16:04:33 +0000146 <!-- Compendium packages -->
147 org.osgi.service.cm,
148 org.osgi.service.log
149 </Export-Package>
Clement Escoffier2f1e9482012-04-21 16:04:33 +0000150 <_donotcopy>(CVS|.svn|.+.bak|~.+|metadata.xml)</_donotcopy>
151 </instructions>
152 </configuration>
153 </plugin>
154 <plugin>
155 <groupId>org.apache.felix</groupId>
156 <artifactId>maven-ipojo-plugin</artifactId>
157 <version>1.8.4</version>
158 <executions>
159 <execution>
160 <goals>
161 <goal>ipojo-bundle</goal>
162 </goals>
163 <configuration>
164 <ignoreAnnotations>true</ignoreAnnotations>
165 </configuration>
166 </execution>
167 </executions>
168 </plugin>
169 <plugin>
Clement Escoffier2f1e9482012-04-21 16:04:33 +0000170 <groupId>org.apache.maven.plugins</groupId>
171 <artifactId>maven-checkstyle-plugin</artifactId>
172 <configuration>
173 <enableRulesSummary>false</enableRulesSummary>
174 <violationSeverity>warning</violationSeverity>
175 <configLocation>http://felix.apache.org/ipojo/dev/checkstyle_ipojo.xml</configLocation>
176 </configuration>
177 </plugin>
Clement Escoffiered4ca022013-03-13 15:27:20 +0000178 <plugin>
179 <groupId>org.apache.rat</groupId>
180 <artifactId>apache-rat-plugin</artifactId>
181 <executions>
182 <execution>
183 <phase>verify</phase>
184 <goals>
185 <goal>check</goal>
186 </goals>
187 </execution>
188 </executions>
189 <configuration>
190 <!-- check src only (except remote resources additions) -->
191 <includes>
192 <include>src/**</include>
193 </includes>
194 <excludes>
195 <exclude>src/main/appended-resources/**</exclude>
196 <exclude>**/manipulation/MANIFEST.MF</exclude> <!-- This file is used by tests -->
197 </excludes>
198 </configuration>
199 </plugin>
Clement Escoffier2f1e9482012-04-21 16:04:33 +0000200 </plugins>
Clement Escoffier2f1e9482012-04-21 16:04:33 +0000201 </build>
Clement Escoffierbfa74d02009-07-19 16:25:18 +0000202</project>