blob: 2ec343b7346665b8236f2b450b91ef380f38c07e [file] [log] [blame]
Carsten Ziegeler46892482007-12-28 15:44:49 +00001<!--
2 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
9
10 http://www.apache.org/licenses/LICENSE-2.0
11
12 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.
18-->
Carsten Ziegelerbdf1a002007-12-28 15:31:02 +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">
Karl Paulsd69e8af2006-08-12 09:51:20 +000020 <modelVersion>4.0.0</modelVersion>
Michael E. Rodriguez406386d2007-03-20 02:56:45 +000021
22 <parent>
23 <groupId>org.apache</groupId>
24 <artifactId>apache</artifactId>
Stuart McCulloch7d48f762009-04-15 10:05:13 +000025 <version>5</version>
Michael E. Rodriguez406386d2007-03-20 02:56:45 +000026 </parent>
27
Karl Paulsd69e8af2006-08-12 09:51:20 +000028 <groupId>org.apache.felix</groupId>
Stuart McCulloch6bd14612009-04-21 06:59:39 +000029 <artifactId>felix-parent</artifactId>
Karl Paulsd69e8af2006-08-12 09:51:20 +000030 <packaging>pom</packaging>
Marcel Offermans0ed87292006-08-17 19:10:30 +000031 <name>Apache Felix</name>
Guillaume Nodet6eef98d2009-09-22 07:16:56 +000032 <version>1.2.2-SNAPSHOT</version>
Richard S. Hall1764f302007-06-18 20:50:24 +000033 <url>http://felix.apache.org/</url>
Karl Pauls589e2b32007-07-11 18:29:29 +000034 <inceptionYear>2006</inceptionYear>
Carsten Ziegelera845c772009-03-10 07:30:54 +000035 <description>Apache Felix is an OSGi implementation.</description>
Marcel Offermans0ed87292006-08-17 19:10:30 +000036
37 <issueManagement>
38 <system>Jira</system>
39 <url>http://issues.apache.org/jira/browse/FELIX</url>
Richard S. Hall1ca96a92007-02-12 15:46:10 +000040 </issueManagement>
Marcel Offermans0ed87292006-08-17 19:10:30 +000041
42 <mailingLists>
43 <mailingList>
44 <name>Felix Dev</name>
Richard S. Hall1764f302007-06-18 20:50:24 +000045 <subscribe>dev-subscribe@felix.apache.org</subscribe>
46 <unsubscribe>dev-unsubscribe@felix.apache.org</unsubscribe>
Marcel Offermans0ed87292006-08-17 19:10:30 +000047 <post>-</post>
Richard S. Hall1764f302007-06-18 20:50:24 +000048 <archive>http://www.mail-archive.com/dev%40felix.apache.org/</archive>
Marcel Offermans0ed87292006-08-17 19:10:30 +000049 </mailingList>
50 <mailingList>
51 <name>Felix Commits</name>
Richard S. Hall1764f302007-06-18 20:50:24 +000052 <subscribe>commits-subscribe@felix.apache.org</subscribe>
53 <unsubscribe>commits-unsubscribe@felix.apache.org</unsubscribe>
Marcel Offermans0ed87292006-08-17 19:10:30 +000054 <post>-</post>
Richard S. Hall1764f302007-06-18 20:50:24 +000055 <archive>http://www.mail-archive.com/commits%40felix.apache.org/</archive>
Marcel Offermans0ed87292006-08-17 19:10:30 +000056 </mailingList>
57 </mailingLists>
58
Marcel Offermans0ed87292006-08-17 19:10:30 +000059 <scm>
Guillaume Nodet6eef98d2009-09-22 07:16:56 +000060 <connection>scm:svn:http://svn.apache.org/repos/asf/felix/trunk</connection>
61 <developerConnection>scm:svn:http://svn.apache.org/repos/asf/felix/trunk</developerConnection>
62 <url>http://svn.apache.org/viewvc/felix/trunk/?root=Apache-SVN</url>
Marcel Offermans0ed87292006-08-17 19:10:30 +000063 </scm>
Karl Paulsd69e8af2006-08-12 09:51:20 +000064
Stephane Frenotab672472006-08-29 13:29:31 +000065 <profiles>
Carsten Ziegeler00eaded2007-12-14 17:22:20 +000066 <profile>
67 <id>release</id>
68 <build>
69 <plugins>
Carsten Ziegelerf4ed56a2009-02-11 09:04:22 +000070 <!-- Attach sources for all builds -->
71 <plugin>
72 <groupId>org.apache.maven.plugins</groupId>
73 <artifactId>maven-source-plugin</artifactId>
74 <inherited>true</inherited>
75 <executions>
76 <execution>
77 <id>attach-sources</id>
78 <goals>
79 <goal>jar</goal>
80 </goals>
81 </execution>
82 </executions>
83 </plugin>
Stuart McCulloch9295c232009-04-21 07:37:59 +000084 <!-- We want to deploy the artifact to a staging location for perusal -->
85 <plugin>
86 <groupId>org.apache.maven.plugins</groupId>
87 <artifactId>maven-deploy-plugin</artifactId>
88 <inherited>true</inherited>
89 <configuration>
90 <updateReleaseInfo>true</updateReleaseInfo>
91 </configuration>
92 </plugin>
Carsten Ziegeler00eaded2007-12-14 17:22:20 +000093 <plugin>
94 <groupId>org.apache.maven.plugins</groupId>
95 <artifactId>maven-gpg-plugin</artifactId>
96 <executions>
97 <execution>
98 <id>sign-artifacts</id>
99 <phase>verify</phase>
100 <goals>
101 <goal>sign</goal>
102 </goals>
103 </execution>
104 </executions>
105 </plugin>
106 <plugin>
107 <groupId>org.apache.maven.plugins</groupId>
108 <artifactId>maven-assembly-plugin</artifactId>
Carsten Ziegeler00eaded2007-12-14 17:22:20 +0000109 <executions>
110 <execution>
111 <id>make-assembly</id>
112 <phase>package</phase>
113 <goals>
Stuart McCulloch0242e462009-04-20 19:08:02 +0000114 <goal>single</goal>
Carsten Ziegeler00eaded2007-12-14 17:22:20 +0000115 </goals>
Stuart McCulloch0242e462009-04-20 19:08:02 +0000116 <configuration>
Guillaume Nodet52667ba2009-09-21 11:42:08 +0000117 <descriptorRefs>
118 <descriptorRef>bin</descriptorRef>
119 <descriptorRef>project</descriptorRef>
120 </descriptorRefs>
Stuart McCulloch320e0632009-04-21 07:48:17 +0000121 <!-- we don't want to attach all the assemblies, such as bz2 -->
Stuart McCulloch0242e462009-04-20 19:08:02 +0000122 <attach>false</attach>
123 </configuration>
Carsten Ziegeler00eaded2007-12-14 17:22:20 +0000124 </execution>
125 </executions>
126 </plugin>
Stuart McCullochfdb035e2009-04-21 06:51:00 +0000127 <plugin>
Stuart McCulloch320e0632009-04-21 07:48:17 +0000128 <!-- only attach the project and bin assemblies, in tar.gz and zip flavors -->
Stuart McCullochfdb035e2009-04-21 06:51:00 +0000129 <groupId>org.codehaus.mojo</groupId>
130 <artifactId>build-helper-maven-plugin</artifactId>
131 <executions>
132 <execution>
133 <id>attach-assemblies</id>
134 <phase>package</phase>
135 <goals>
136 <goal>attach-artifact</goal>
137 </goals>
138 <configuration>
139 <artifacts>
140 <artifact>
141 <file>${project.build.directory}/${project.artifactId}-${project.version}-project.tar.gz</file>
142 <classifier>project</classifier>
143 <type>tar.gz</type>
144 </artifact>
145 <artifact>
146 <file>${project.build.directory}/${project.artifactId}-${project.version}-project.zip</file>
147 <classifier>project</classifier>
148 <type>zip</type>
149 </artifact>
150 <artifact>
151 <file>${project.build.directory}/${project.artifactId}-${project.version}-bin.tar.gz</file>
152 <classifier>bin</classifier>
153 <type>tar.gz</type>
154 </artifact>
155 <artifact>
156 <file>${project.build.directory}/${project.artifactId}-${project.version}-bin.zip</file>
157 <classifier>bin</classifier>
158 <type>zip</type>
159 </artifact>
160 </artifacts>
161 </configuration>
162 </execution>
163 </executions>
164 </plugin>
Carsten Ziegeler00eaded2007-12-14 17:22:20 +0000165 </plugins>
166 </build>
167 </profile>
Stephane Frenotab672472006-08-29 13:29:31 +0000168 </profiles>
169
Karl Paulsd69e8af2006-08-12 09:51:20 +0000170 <distributionManagement>
Marcel Offermans0ed87292006-08-17 19:10:30 +0000171 <site>
172 <id>felix website</id>
Marcel Offermansf6737032006-08-17 19:49:13 +0000173 <url>file:///${user.dir}/target/site-deployed/</url>
Marcel Offermans0ed87292006-08-17 19:10:30 +0000174 </site>
Karl Paulsd69e8af2006-08-12 09:51:20 +0000175 </distributionManagement>
176
177 <pluginRepositories>
178 <pluginRepository>
179 <id>apache.snapshots</id>
180 <name>snapshot plugins</name>
Stuart McCulloch7d48f762009-04-15 10:05:13 +0000181 <url>http://repository.apache.org/snapshots</url>
Richard S. Halla897e0e2007-02-13 05:55:13 +0000182 <releases>
183 <enabled>false</enabled>
184 </releases>
185 <snapshots>
186 <enabled>true</enabled>
187 </snapshots>
Karl Paulsd69e8af2006-08-12 09:51:20 +0000188 </pluginRepository>
189 </pluginRepositories>
190
191 <!-- definitions for testing -->
192 <dependencies>
193 <dependency>
194 <groupId>junit</groupId>
195 <artifactId>junit</artifactId>
Stuart McCulloch5d01e102009-04-07 10:35:19 +0000196 <version>4.0</version>
Karl Paulsd69e8af2006-08-12 09:51:20 +0000197 <scope>test</scope>
198 </dependency>
199 <dependency>
Stuart McCulloch5d01e102009-04-07 10:35:19 +0000200 <groupId>org.easymock</groupId>
Karl Paulsd69e8af2006-08-12 09:51:20 +0000201 <artifactId>easymock</artifactId>
Stuart McCulloch5d01e102009-04-07 10:35:19 +0000202 <version>2.4</version>
203 <scope>test</scope>
204 </dependency>
205 <dependency>
206 <groupId>org.mockito</groupId>
207 <artifactId>mockito-all</artifactId>
208 <version>1.7</version>
Karl Paulsd69e8af2006-08-12 09:51:20 +0000209 <scope>test</scope>
210 </dependency>
211 </dependencies>
212 <build>
Richard S. Hall061dffd2007-04-28 15:11:03 +0000213 <pluginManagement>
214 <plugins>
215 <plugin>
216 <groupId>org.apache.maven.plugins</groupId>
217 <artifactId>maven-compiler-plugin</artifactId>
218 <version>2.0.2</version>
219 </plugin>
220 <plugin>
221 <groupId>org.apache.maven.plugins</groupId>
222 <artifactId>maven-surefire-plugin</artifactId>
Carsten Ziegelerf4ed56a2009-02-11 09:04:22 +0000223 <version>2.4.3</version>
Richard S. Hall061dffd2007-04-28 15:11:03 +0000224 </plugin>
225 <plugin>
226 <groupId>org.apache.maven.plugins</groupId>
227 <artifactId>maven-jar-plugin</artifactId>
Carsten Ziegelerf4ed56a2009-02-11 09:04:22 +0000228 <version>2.2</version>
Richard S. Hall061dffd2007-04-28 15:11:03 +0000229 </plugin>
230 <plugin>
231 <groupId>org.apache.maven.plugins</groupId>
232 <artifactId>maven-plugin-plugin</artifactId>
Carsten Ziegelerf4ed56a2009-02-11 09:04:22 +0000233 <version>2.4.3</version>
Richard S. Hall061dffd2007-04-28 15:11:03 +0000234 </plugin>
235 <plugin>
236 <groupId>org.apache.maven.plugins</groupId>
237 <artifactId>maven-install-plugin</artifactId>
Carsten Ziegelerf8f471c2008-01-11 15:57:45 +0000238 <version>2.2</version>
Richard S. Hall061dffd2007-04-28 15:11:03 +0000239 </plugin>
240 <plugin>
241 <groupId>org.apache.maven.plugins</groupId>
242 <artifactId>maven-deploy-plugin</artifactId>
Carsten Ziegelerf4ed56a2009-02-11 09:04:22 +0000243 <version>2.4</version>
Richard S. Hall061dffd2007-04-28 15:11:03 +0000244 </plugin>
245 <plugin>
246 <groupId>org.apache.maven.plugins</groupId>
247 <artifactId>maven-site-plugin</artifactId>
Carsten Ziegelerf4ed56a2009-02-11 09:04:22 +0000248 <version>2.0-beta-7</version>
Richard S. Hall061dffd2007-04-28 15:11:03 +0000249 </plugin>
250 <plugin>
251 <groupId>org.apache.maven.plugins</groupId>
252 <artifactId>maven-project-info-reports-plugin</artifactId>
Carsten Ziegelerf4ed56a2009-02-11 09:04:22 +0000253 <version>2.1</version>
Richard S. Hall061dffd2007-04-28 15:11:03 +0000254 </plugin>
255 <plugin>
256 <groupId>org.apache.maven.plugins</groupId>
257 <artifactId>maven-jxr-plugin</artifactId>
258 <version>2.1</version>
259 </plugin>
260 <plugin>
261 <groupId>org.apache.maven.plugins</groupId>
262 <artifactId>maven-surefire-report-plugin</artifactId>
Carsten Ziegelerf4ed56a2009-02-11 09:04:22 +0000263 <version>2.4.3</version>
Richard S. Hall061dffd2007-04-28 15:11:03 +0000264 </plugin>
265 <plugin>
266 <groupId>org.apache.maven.plugins</groupId>
267 <artifactId>maven-javadoc-plugin</artifactId>
Carsten Ziegelerf4ed56a2009-02-11 09:04:22 +0000268 <version>2.5</version>
269 </plugin>
270 <plugin>
271 <groupId>org.apache.maven.plugins</groupId>
272 <artifactId>maven-source-plugin</artifactId>
273 <version>2.0.4</version>
Richard S. Hall061dffd2007-04-28 15:11:03 +0000274 </plugin>
Karl Pauls589e2b32007-07-11 18:29:29 +0000275<!-- <plugin>
276 <groupId>org.apache.maven.plugins</groupId>
277 <artifactId>maven-remote-resources-plugin</artifactId>
Carsten Ziegelerf8f471c2008-01-11 15:57:45 +0000278 <version>1.0-alpha-6</version>
Karl Pauls589e2b32007-07-11 18:29:29 +0000279 </plugin> -->
Carsten Ziegeler00eaded2007-12-14 17:22:20 +0000280 <plugin>
281 <groupId>org.apache.maven.plugins</groupId>
282 <artifactId>maven-release-plugin</artifactId>
Carsten Ziegelerf4ed56a2009-02-11 09:04:22 +0000283 <version>2.0-beta-8</version>
Carsten Ziegeler00eaded2007-12-14 17:22:20 +0000284 </plugin>
285 <plugin>
286 <groupId>org.apache.maven.plugins</groupId>
287 <artifactId>maven-gpg-plugin</artifactId>
288 <version>1.0-alpha-4</version>
289 </plugin>
290 <plugin>
291 <groupId>org.apache.maven.plugins</groupId>
292 <artifactId>maven-assembly-plugin</artifactId>
Carsten Ziegeler9cef1f92009-03-06 10:11:00 +0000293 <version>2.2-beta-1</version>
Carsten Ziegeler00eaded2007-12-14 17:22:20 +0000294 </plugin>
Stuart McCullochfdb035e2009-04-21 06:51:00 +0000295 <plugin>
296 <groupId>org.codehaus.mojo</groupId>
297 <artifactId>build-helper-maven-plugin</artifactId>
298 <version>1.2</version>
299 </plugin>
Richard S. Hall061dffd2007-04-28 15:11:03 +0000300 </plugins>
301 </pluginManagement>
Karl Paulsd69e8af2006-08-12 09:51:20 +0000302 <plugins>
303 <plugin>
304 <groupId>org.apache.maven.plugins</groupId>
305 <artifactId>maven-compiler-plugin</artifactId>
306 <configuration>
Stuart McCulloch98f7c402007-09-21 03:38:03 +0000307 <target>1.3</target>
Karl Paulsd69e8af2006-08-12 09:51:20 +0000308 </configuration>
309 </plugin>
310 <plugin>
311 <groupId>org.apache.maven.plugins</groupId>
Stuart McCullochfdb035e2009-04-21 06:51:00 +0000312 <artifactId>maven-resources-plugin</artifactId>
313 <configuration>
314 <encoding>UTF-8</encoding>
315 </configuration>
316 </plugin>
317 <plugin>
318 <groupId>org.apache.maven.plugins</groupId>
Karl Paulsd69e8af2006-08-12 09:51:20 +0000319 <artifactId>maven-surefire-plugin</artifactId>
320 </plugin>
Stephane Frenotab672472006-08-29 13:29:31 +0000321 <!-- plugin>
Karl Paulsd69e8af2006-08-12 09:51:20 +0000322 <groupId>org.apache.maven.plugins</groupId>
323 <artifactId>maven-surefire-report-plugin</artifactId>
Stephane Frenotab672472006-08-29 13:29:31 +0000324 </plugin -->
Karl Pauls589e2b32007-07-11 18:29:29 +0000325 <!-- We want to package up license resources in the JARs produced
326 <plugin>
327 <groupId>org.apache.maven.plugins</groupId>
328 <artifactId>maven-remote-resources-plugin</artifactId>
329 <executions>
330 <execution>
331 <goals>
332 <goal>process</goal>
333 </goals>
334 <configuration>
335 <resourceBundles>
336 <resourceBundle>org.apache:apache-jar-resource-bundle:1.0</resourceBundle>
337 </resourceBundles>
338 </configuration>
339 </execution>
340 </executions>
341 </plugin>-->
Carsten Ziegeler00eaded2007-12-14 17:22:20 +0000342 <plugin>
343 <groupId>org.apache.maven.plugins</groupId>
344 <artifactId>maven-release-plugin</artifactId>
345 <configuration>
346 <tagBase>https://svn.apache.org/repos/asf/felix/releases</tagBase>
347 <useReleaseProfile>false</useReleaseProfile>
Stuart McCulloch0242e462009-04-20 19:08:02 +0000348 <arguments>-Prelease</arguments>
Carsten Ziegeler00eaded2007-12-14 17:22:20 +0000349 <goals>deploy</goals>
350 </configuration>
351 </plugin>
Karl Paulsd69e8af2006-08-12 09:51:20 +0000352 </plugins>
Carsten Ziegelerc7a70c22007-12-20 09:30:29 +0000353 <resources>
354 <resource>
355 <directory>src/main/resources</directory>
356 </resource>
357 <resource>
358 <directory>.</directory>
359 <targetPath>META-INF</targetPath>
360 <includes>
Carsten Ziegeler80794822008-01-07 16:15:52 +0000361 <include>LICENSE*</include>
362 <include>NOTICE*</include>
Carsten Ziegelerc7a70c22007-12-20 09:30:29 +0000363 </includes>
364 </resource>
365 </resources>
Karl Paulsd69e8af2006-08-12 09:51:20 +0000366 </build>
367 <reporting>
368 <plugins>
369 <plugin>
370 <groupId>org.apache.maven.plugins</groupId>
Marcel Offermans0ed87292006-08-17 19:10:30 +0000371 <artifactId>maven-site-plugin</artifactId>
372 <configuration>
Marcel Offermans5dcb02c2006-08-17 20:58:34 +0000373 <templateDirectory>${user.dir}/src/site/</templateDirectory>
Marcel Offermans0ed87292006-08-17 19:10:30 +0000374 <template>maven-site.vm</template>
375 </configuration>
Karl Paulsd69e8af2006-08-12 09:51:20 +0000376 </plugin>
Marcel Offermans0ed87292006-08-17 19:10:30 +0000377 <plugin>
378 <groupId>org.apache.maven.plugins</groupId>
Richard S. Hall061dffd2007-04-28 15:11:03 +0000379 <artifactId>maven-surefire-report-plugin</artifactId>
Marcel Offermans0ed87292006-08-17 19:10:30 +0000380 </plugin>
381 <plugin>
Richard S. Hall061dffd2007-04-28 15:11:03 +0000382 <groupId>org.apache.maven.plugins</groupId>
383 <artifactId>maven-jxr-plugin</artifactId>
Marcel Offermans0ed87292006-08-17 19:10:30 +0000384 </plugin>
385 <plugin>
386 <groupId>org.apache.maven.plugins</groupId>
387 <artifactId>maven-project-info-reports-plugin</artifactId>
388 <reportSets>
389 <reportSet>
390 <reports>
391 <report>index</report>
392 <report>dependencies</report>
393 <report>project-team</report>
394 <report>mailing-list</report>
395 <report>issue-tracking</report>
396 <report>license</report>
397 <report>scm</report>
398 </reports>
399 </reportSet>
400 </reportSets>
401 </plugin>
402 <!--plugin>
403 <groupId>org.apache.maven.plugins</groupId>
404 <artifactId>maven-javadoc-plugin</artifactId>
405 <configuration>
406 <aggregate>true</aggregate>
407 </configuration>
408 </plugin-->
Karl Paulsd69e8af2006-08-12 09:51:20 +0000409 </plugins>
410 </reporting>
Stuart McCulloch756832e2008-02-10 17:37:50 +0000411</project>