blob: ad74806efeffb8c8ddd9154a700e88e32edeaa5d [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 McCulloch8d6abb12009-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 McCulloch6027b382009-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>
Stuart McCulloch249306b2009-04-21 07:37:59 +000032 <version>1.2.0-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 Ziegeleracaec1c2009-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>
Stuart McCullochfb33d6b2009-04-21 07:07:12 +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 Ziegeler4d6f4212009-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 McCulloch249306b2009-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>
109 <configuration>
110 <descriptorRefs>
111 <descriptorRef>bin</descriptorRef>
112 <descriptorRef>project</descriptorRef>
113 </descriptorRefs>
114 </configuration>
115 <executions>
116 <execution>
117 <id>make-assembly</id>
118 <phase>package</phase>
119 <goals>
Stuart McCulloch133524b2009-04-20 19:08:02 +0000120 <goal>single</goal>
Carsten Ziegeler00eaded2007-12-14 17:22:20 +0000121 </goals>
Stuart McCulloch133524b2009-04-20 19:08:02 +0000122 <configuration>
Stuart McCullochf4026db2009-04-21 07:48:17 +0000123 <!-- we don't want to attach all the assemblies, such as bz2 -->
Stuart McCulloch133524b2009-04-20 19:08:02 +0000124 <attach>false</attach>
125 </configuration>
Carsten Ziegeler00eaded2007-12-14 17:22:20 +0000126 </execution>
127 </executions>
128 </plugin>
Stuart McCullochf71c1ba2009-04-21 06:51:00 +0000129 <plugin>
Stuart McCullochf4026db2009-04-21 07:48:17 +0000130 <!-- only attach the project and bin assemblies, in tar.gz and zip flavors -->
Stuart McCullochf71c1ba2009-04-21 06:51:00 +0000131 <groupId>org.codehaus.mojo</groupId>
132 <artifactId>build-helper-maven-plugin</artifactId>
133 <executions>
134 <execution>
135 <id>attach-assemblies</id>
136 <phase>package</phase>
137 <goals>
138 <goal>attach-artifact</goal>
139 </goals>
140 <configuration>
141 <artifacts>
142 <artifact>
143 <file>${project.build.directory}/${project.artifactId}-${project.version}-project.tar.gz</file>
144 <classifier>project</classifier>
145 <type>tar.gz</type>
146 </artifact>
147 <artifact>
148 <file>${project.build.directory}/${project.artifactId}-${project.version}-project.zip</file>
149 <classifier>project</classifier>
150 <type>zip</type>
151 </artifact>
152 <artifact>
153 <file>${project.build.directory}/${project.artifactId}-${project.version}-bin.tar.gz</file>
154 <classifier>bin</classifier>
155 <type>tar.gz</type>
156 </artifact>
157 <artifact>
158 <file>${project.build.directory}/${project.artifactId}-${project.version}-bin.zip</file>
159 <classifier>bin</classifier>
160 <type>zip</type>
161 </artifact>
162 </artifacts>
163 </configuration>
164 </execution>
165 </executions>
166 </plugin>
Carsten Ziegeler00eaded2007-12-14 17:22:20 +0000167 </plugins>
168 </build>
169 </profile>
Stephane Frenotab672472006-08-29 13:29:31 +0000170 </profiles>
171
Karl Paulsd69e8af2006-08-12 09:51:20 +0000172 <distributionManagement>
Marcel Offermans0ed87292006-08-17 19:10:30 +0000173 <site>
174 <id>felix website</id>
Marcel Offermansf6737032006-08-17 19:49:13 +0000175 <url>file:///${user.dir}/target/site-deployed/</url>
Marcel Offermans0ed87292006-08-17 19:10:30 +0000176 </site>
Karl Paulsd69e8af2006-08-12 09:51:20 +0000177 </distributionManagement>
178
179 <pluginRepositories>
180 <pluginRepository>
181 <id>apache.snapshots</id>
182 <name>snapshot plugins</name>
Stuart McCulloch8d6abb12009-04-15 10:05:13 +0000183 <url>http://repository.apache.org/snapshots</url>
Richard S. Halla897e0e2007-02-13 05:55:13 +0000184 <releases>
185 <enabled>false</enabled>
186 </releases>
187 <snapshots>
188 <enabled>true</enabled>
189 </snapshots>
Karl Paulsd69e8af2006-08-12 09:51:20 +0000190 </pluginRepository>
191 </pluginRepositories>
192
193 <!-- definitions for testing -->
194 <dependencies>
195 <dependency>
196 <groupId>junit</groupId>
197 <artifactId>junit</artifactId>
Stuart McCulloch22cc8452009-04-07 10:35:19 +0000198 <version>4.0</version>
Karl Paulsd69e8af2006-08-12 09:51:20 +0000199 <scope>test</scope>
200 </dependency>
201 <dependency>
Stuart McCulloch22cc8452009-04-07 10:35:19 +0000202 <groupId>org.easymock</groupId>
Karl Paulsd69e8af2006-08-12 09:51:20 +0000203 <artifactId>easymock</artifactId>
Stuart McCulloch22cc8452009-04-07 10:35:19 +0000204 <version>2.4</version>
205 <scope>test</scope>
206 </dependency>
207 <dependency>
208 <groupId>org.mockito</groupId>
209 <artifactId>mockito-all</artifactId>
210 <version>1.7</version>
Karl Paulsd69e8af2006-08-12 09:51:20 +0000211 <scope>test</scope>
212 </dependency>
213 </dependencies>
214 <build>
Richard S. Hall061dffd2007-04-28 15:11:03 +0000215 <pluginManagement>
216 <plugins>
217 <plugin>
218 <groupId>org.apache.maven.plugins</groupId>
219 <artifactId>maven-compiler-plugin</artifactId>
220 <version>2.0.2</version>
221 </plugin>
222 <plugin>
223 <groupId>org.apache.maven.plugins</groupId>
224 <artifactId>maven-surefire-plugin</artifactId>
Carsten Ziegeler4d6f4212009-02-11 09:04:22 +0000225 <version>2.4.3</version>
Richard S. Hall061dffd2007-04-28 15:11:03 +0000226 </plugin>
227 <plugin>
228 <groupId>org.apache.maven.plugins</groupId>
229 <artifactId>maven-jar-plugin</artifactId>
Carsten Ziegeler4d6f4212009-02-11 09:04:22 +0000230 <version>2.2</version>
Richard S. Hall061dffd2007-04-28 15:11:03 +0000231 </plugin>
232 <plugin>
233 <groupId>org.apache.maven.plugins</groupId>
234 <artifactId>maven-plugin-plugin</artifactId>
Carsten Ziegeler4d6f4212009-02-11 09:04:22 +0000235 <version>2.4.3</version>
Richard S. Hall061dffd2007-04-28 15:11:03 +0000236 </plugin>
237 <plugin>
238 <groupId>org.apache.maven.plugins</groupId>
239 <artifactId>maven-install-plugin</artifactId>
Carsten Ziegelerf8f471c2008-01-11 15:57:45 +0000240 <version>2.2</version>
Richard S. Hall061dffd2007-04-28 15:11:03 +0000241 </plugin>
242 <plugin>
243 <groupId>org.apache.maven.plugins</groupId>
244 <artifactId>maven-deploy-plugin</artifactId>
Carsten Ziegeler4d6f4212009-02-11 09:04:22 +0000245 <version>2.4</version>
Richard S. Hall061dffd2007-04-28 15:11:03 +0000246 </plugin>
247 <plugin>
248 <groupId>org.apache.maven.plugins</groupId>
249 <artifactId>maven-site-plugin</artifactId>
Carsten Ziegeler4d6f4212009-02-11 09:04:22 +0000250 <version>2.0-beta-7</version>
Richard S. Hall061dffd2007-04-28 15:11:03 +0000251 </plugin>
252 <plugin>
253 <groupId>org.apache.maven.plugins</groupId>
254 <artifactId>maven-project-info-reports-plugin</artifactId>
Carsten Ziegeler4d6f4212009-02-11 09:04:22 +0000255 <version>2.1</version>
Richard S. Hall061dffd2007-04-28 15:11:03 +0000256 </plugin>
257 <plugin>
258 <groupId>org.apache.maven.plugins</groupId>
259 <artifactId>maven-jxr-plugin</artifactId>
260 <version>2.1</version>
261 </plugin>
262 <plugin>
263 <groupId>org.apache.maven.plugins</groupId>
264 <artifactId>maven-surefire-report-plugin</artifactId>
Carsten Ziegeler4d6f4212009-02-11 09:04:22 +0000265 <version>2.4.3</version>
Richard S. Hall061dffd2007-04-28 15:11:03 +0000266 </plugin>
267 <plugin>
268 <groupId>org.apache.maven.plugins</groupId>
269 <artifactId>maven-javadoc-plugin</artifactId>
Carsten Ziegeler4d6f4212009-02-11 09:04:22 +0000270 <version>2.5</version>
271 </plugin>
272 <plugin>
273 <groupId>org.apache.maven.plugins</groupId>
274 <artifactId>maven-source-plugin</artifactId>
275 <version>2.0.4</version>
Richard S. Hall061dffd2007-04-28 15:11:03 +0000276 </plugin>
Karl Pauls589e2b32007-07-11 18:29:29 +0000277<!-- <plugin>
278 <groupId>org.apache.maven.plugins</groupId>
279 <artifactId>maven-remote-resources-plugin</artifactId>
Carsten Ziegelerf8f471c2008-01-11 15:57:45 +0000280 <version>1.0-alpha-6</version>
Karl Pauls589e2b32007-07-11 18:29:29 +0000281 </plugin> -->
Carsten Ziegeler00eaded2007-12-14 17:22:20 +0000282 <plugin>
283 <groupId>org.apache.maven.plugins</groupId>
284 <artifactId>maven-release-plugin</artifactId>
Carsten Ziegeler4d6f4212009-02-11 09:04:22 +0000285 <version>2.0-beta-8</version>
Carsten Ziegeler00eaded2007-12-14 17:22:20 +0000286 </plugin>
287 <plugin>
288 <groupId>org.apache.maven.plugins</groupId>
289 <artifactId>maven-gpg-plugin</artifactId>
290 <version>1.0-alpha-4</version>
291 </plugin>
292 <plugin>
293 <groupId>org.apache.maven.plugins</groupId>
294 <artifactId>maven-assembly-plugin</artifactId>
Carsten Ziegelerdc7a4b82009-03-06 10:11:00 +0000295 <version>2.2-beta-1</version>
Carsten Ziegeler00eaded2007-12-14 17:22:20 +0000296 </plugin>
Stuart McCullochf71c1ba2009-04-21 06:51:00 +0000297 <plugin>
298 <groupId>org.codehaus.mojo</groupId>
299 <artifactId>build-helper-maven-plugin</artifactId>
300 <version>1.2</version>
301 </plugin>
Richard S. Hall061dffd2007-04-28 15:11:03 +0000302 </plugins>
303 </pluginManagement>
Karl Paulsd69e8af2006-08-12 09:51:20 +0000304 <plugins>
305 <plugin>
306 <groupId>org.apache.maven.plugins</groupId>
307 <artifactId>maven-compiler-plugin</artifactId>
308 <configuration>
Stuart McCulloch98f7c402007-09-21 03:38:03 +0000309 <target>1.3</target>
Karl Paulsd69e8af2006-08-12 09:51:20 +0000310 </configuration>
311 </plugin>
312 <plugin>
313 <groupId>org.apache.maven.plugins</groupId>
Stuart McCullochf71c1ba2009-04-21 06:51:00 +0000314 <artifactId>maven-resources-plugin</artifactId>
315 <configuration>
316 <encoding>UTF-8</encoding>
317 </configuration>
318 </plugin>
319 <plugin>
320 <groupId>org.apache.maven.plugins</groupId>
Karl Paulsd69e8af2006-08-12 09:51:20 +0000321 <artifactId>maven-surefire-plugin</artifactId>
322 </plugin>
Stephane Frenotab672472006-08-29 13:29:31 +0000323 <!-- plugin>
Karl Paulsd69e8af2006-08-12 09:51:20 +0000324 <groupId>org.apache.maven.plugins</groupId>
325 <artifactId>maven-surefire-report-plugin</artifactId>
Stephane Frenotab672472006-08-29 13:29:31 +0000326 </plugin -->
Karl Pauls589e2b32007-07-11 18:29:29 +0000327 <!-- We want to package up license resources in the JARs produced
328 <plugin>
329 <groupId>org.apache.maven.plugins</groupId>
330 <artifactId>maven-remote-resources-plugin</artifactId>
331 <executions>
332 <execution>
333 <goals>
334 <goal>process</goal>
335 </goals>
336 <configuration>
337 <resourceBundles>
338 <resourceBundle>org.apache:apache-jar-resource-bundle:1.0</resourceBundle>
339 </resourceBundles>
340 </configuration>
341 </execution>
342 </executions>
343 </plugin>-->
Carsten Ziegeler00eaded2007-12-14 17:22:20 +0000344 <plugin>
345 <groupId>org.apache.maven.plugins</groupId>
346 <artifactId>maven-release-plugin</artifactId>
347 <configuration>
348 <tagBase>https://svn.apache.org/repos/asf/felix/releases</tagBase>
349 <useReleaseProfile>false</useReleaseProfile>
Stuart McCulloch133524b2009-04-20 19:08:02 +0000350 <arguments>-Prelease</arguments>
Carsten Ziegeler00eaded2007-12-14 17:22:20 +0000351 <goals>deploy</goals>
352 </configuration>
353 </plugin>
Karl Paulsd69e8af2006-08-12 09:51:20 +0000354 </plugins>
Carsten Ziegelerc7a70c22007-12-20 09:30:29 +0000355 <resources>
356 <resource>
357 <directory>src/main/resources</directory>
358 </resource>
359 <resource>
360 <directory>.</directory>
361 <targetPath>META-INF</targetPath>
362 <includes>
Carsten Ziegeler80794822008-01-07 16:15:52 +0000363 <include>LICENSE*</include>
364 <include>NOTICE*</include>
Carsten Ziegelerc7a70c22007-12-20 09:30:29 +0000365 </includes>
366 </resource>
367 </resources>
Karl Paulsd69e8af2006-08-12 09:51:20 +0000368 </build>
369 <reporting>
370 <plugins>
371 <plugin>
372 <groupId>org.apache.maven.plugins</groupId>
Marcel Offermans0ed87292006-08-17 19:10:30 +0000373 <artifactId>maven-site-plugin</artifactId>
374 <configuration>
Marcel Offermans5dcb02c2006-08-17 20:58:34 +0000375 <templateDirectory>${user.dir}/src/site/</templateDirectory>
Marcel Offermans0ed87292006-08-17 19:10:30 +0000376 <template>maven-site.vm</template>
377 </configuration>
Karl Paulsd69e8af2006-08-12 09:51:20 +0000378 </plugin>
Marcel Offermans0ed87292006-08-17 19:10:30 +0000379 <plugin>
380 <groupId>org.apache.maven.plugins</groupId>
Richard S. Hall061dffd2007-04-28 15:11:03 +0000381 <artifactId>maven-surefire-report-plugin</artifactId>
Marcel Offermans0ed87292006-08-17 19:10:30 +0000382 </plugin>
383 <plugin>
Richard S. Hall061dffd2007-04-28 15:11:03 +0000384 <groupId>org.apache.maven.plugins</groupId>
385 <artifactId>maven-jxr-plugin</artifactId>
Marcel Offermans0ed87292006-08-17 19:10:30 +0000386 </plugin>
387 <plugin>
388 <groupId>org.apache.maven.plugins</groupId>
389 <artifactId>maven-project-info-reports-plugin</artifactId>
390 <reportSets>
391 <reportSet>
392 <reports>
393 <report>index</report>
394 <report>dependencies</report>
395 <report>project-team</report>
396 <report>mailing-list</report>
397 <report>issue-tracking</report>
398 <report>license</report>
399 <report>scm</report>
400 </reports>
401 </reportSet>
402 </reportSets>
403 </plugin>
404 <!--plugin>
405 <groupId>org.apache.maven.plugins</groupId>
406 <artifactId>maven-javadoc-plugin</artifactId>
407 <configuration>
408 <aggregate>true</aggregate>
409 </configuration>
410 </plugin-->
Karl Paulsd69e8af2006-08-12 09:51:20 +0000411 </plugins>
412 </reporting>
Stuart McCulloch756832e2008-02-10 17:37:50 +0000413</project>