1<?xml version="1.0" encoding="UTF-8"?>
2<!--
3   ====================================================================
4   Licensed to the Apache Software Foundation (ASF) under one
5   or more contributor license agreements.  See the NOTICE file
6   distributed with this work for additional information
7   regarding copyright ownership.  The ASF licenses this file
8   to you under the Apache License, Version 2.0 (the
9   "License"); you may not use this file except in compliance
10   with the License.  You may obtain a copy of the License at
11
12     http://www.apache.org/licenses/LICENSE-2.0
13
14   Unless required by applicable law or agreed to in writing,
15   software distributed under the License is distributed on an
16   "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
17   KIND, either express or implied.  See the License for the
18   specific language governing permissions and limitations
19   under the License.
20   ====================================================================
21
22   This software consists of voluntary contributions made by many
23   individuals on behalf of the Apache Software Foundation.  For more
24   information on the Apache Software Foundation, please see
25   <http://www.apache.org/>.
26 -->
27<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
28  xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
29  <modelVersion>4.0.0</modelVersion>
30  <parent>
31    <groupId>org.apache</groupId>
32    <artifactId>apache</artifactId>
33    <version>13</version>
34  </parent>
35  <groupId>org.apache.httpcomponents</groupId>
36  <artifactId>project</artifactId>
37  <version>7</version>
38  <packaging>pom</packaging>
39  <name>HttpComponents</name>
40  <url>http://hc.apache.org/</url>
41  <description>Components to build HTTP enabled services</description>
42  <inceptionYear>2005</inceptionYear>
43
44
45<!--
46Version 7 - changes since version 6
47===================================
48
49Fixed maven.compile.* properties => maven.compiler.*
50Unfortunately cannot drop the configuration of compiler plugin as the Apache POM
51defines the source/target directly rather than using properties.
52See: https://issues.apache.org/jira/browse/MPOM-44
53
54Also maven.compile.deprecation => maven.compiler.showDeprecation
55
56** N.B. Child POMs may need to be adjusted when upgrading to parent pom 7 **
57
58Added Maven pre-requisite of 3.0.3 (minimum)
59Dropped maven-3 profile as no longer needed
60Added Apache parent POM 13; dropped distributionManagement/repository and snapshotRepository
61apache.website now uses property ${hc.site.url}
62Added optional clover profile
63
64Assembly 2.2.1 => 2.4
65Antrun 1.6 => 1.7
66Buildnumber 1.0 => 1.2
67Bundle 2.3.7 => 2.4.0
68Clean 2.4.1 => 2.5
69Clirr 2.3 => 2.5
70Clover2 2.6.3 => 3.1.11
71Compiler 2.3.2 => 3.1
72Dokbkx 2.0.13 => 2.0.14
73Install 2.3.1 => 2.4
74Jar 2.3.2 => 2.4
75Javadoc 2.8 => 2.9.1
76Project-Info 2.4 => 2.7
77Release 2.2.1 => 2.4.1
78Resources 2.5 => 2.6
79Site 3.0 => 3.3
80Source 2.1.2 => 2.2.1
81Surefire 2.9 => 2.15
82Surefire-Report 2.9 => 2.15
83Stylecheck = 2.9.1
84
85Changed issueManagement url to point to JIRA group
86
87Updated developers list
88
89Changes since previous version (5)
90==============================
91
92Added httpasyncclient module
93
94Buildnumber plugin changes:
95 - can now be disabled (-DbuildNumber.skip)
96 - defaults to SVN CLI, because javasvn currently fails with SVN 1.7 clients
97 - can revert to javasvn with -Pjavasvn
98
99Added default manifest entries to source jars
100
101Felix bundle plugin updated: 2.3.5 -> 2.3.7 (fixes Java 1.5 issue)
102 -->
103
104  <organization>
105    <name>Apache Software Foundation</name>
106    <url>http://www.apache.org/</url>
107  </organization>
108
109  <issueManagement>
110    <system>Jira</system>
111    <!-- The following URL is for the HttpComponents group -->
112    <url>https://issues.apache.org/jira/secure/BrowseProjects.jspa#10280</url>
113  </issueManagement>
114
115  <scm>
116    <connection>scm:svn:http://svn.apache.org/repos/asf/httpcomponents/project/tags/7</connection>
117    <developerConnection>scm:svn:https://svn.apache.org/repos/asf/httpcomponents/tags/7</developerConnection>
118    <url>http://svn.apache.org/repos/asf/httpcomponents/tags/7</url>
119  </scm>
120
121  <developers>
122    <developer>
123      <name>Ortwin Glueck</name>
124      <id>oglueck</id>
125      <email>oglueck -at- apache.org</email>
126      <organization></organization>
127      <roles>
128        <role>Emeritus PMC</role>
129      </roles>
130      <url>http://www.odi.ch/</url>
131      <timezone>+1</timezone>
132    </developer>
133    <developer>
134      <name>Oleg Kalnichevski</name>
135      <id>olegk</id>
136      <email>olegk -at- apache.org</email>
137      <roles>
138        <role>Committer</role>
139        <role>PMC</role>
140      </roles>
141      <timezone>+1</timezone>
142    </developer>
143    <developer>
144      <name>Asankha C. Perera</name>
145      <id>asankha</id>
146      <email>asankha -at- apache.org</email>
147      <roles>
148        <role>Committer</role>
149        <role>PMC Chair</role>
150      </roles>
151      <url>http://www.adroitlogic.org/</url>
152      <timezone>+5.5</timezone>
153    </developer>
154    <developer>
155      <name>Sebastian Bazley</name>
156      <id>sebb</id>
157      <email>sebb -at- apache.org</email>
158      <roles>
159        <role>Committer</role>
160        <role>PMC</role>
161      </roles>
162      <timezone></timezone>
163    </developer>
164    <developer>
165      <name>Erik Abele</name>
166      <id>erikabele</id>
167      <email>erikabele -at- apache.org</email>
168      <roles>
169        <role>Committer</role>
170        <role>PMC</role>
171      </roles>
172      <url>http://www.codefaktor.de/</url>
173      <timezone>+1</timezone>
174    </developer>
175    <developer>
176      <name>Ant Elder</name>
177      <id>antelder</id>
178      <email>antelder -at- apache.org</email>
179      <roles>
180        <role>Committer</role>
181        <role>PMC</role>
182      </roles>
183      <timezone></timezone>
184    </developer>
185    <developer>
186      <name>Paul Fremantle</name>
187      <id>pzf</id>
188      <email>pzf -at- apache.org</email>
189      <roles>
190        <role>Committer</role>
191        <role>PMC</role>
192      </roles>
193      <timezone></timezone>
194    </developer>
195    <developer>
196      <name>Roland Weber</name>
197      <id>rolandw</id>
198      <email>rolandw -at- apache.org</email>
199      <roles>
200        <role>Emeritus PMC</role>
201      </roles>
202      <timezone>+1</timezone>
203    </developer>
204    <developer>
205      <name>Sam Berlin</name>
206      <id>sberlin</id>
207      <email>sberlin -at- apache.org</email>
208      <roles>
209        <role>Committer</role>
210      </roles>
211      <timezone>-4</timezone>
212    </developer>
213    <developer>
214      <name>Sean C. Sullivan</name>
215      <id>sullis</id>
216      <email>sullis -at- apache.org</email>
217      <roles>
218        <role>Committer</role>
219      </roles>
220      <timezone>-8</timezone>
221    </developer>
222    <developer>
223      <name>Jonathan Moore</name>
224      <id>jonm</id>
225      <email>jonm -at- apache.org</email>
226      <roles>
227        <role>Committer</role>
228        <role>PMC</role>
229      </roles>
230      <timezone>-5</timezone>
231    </developer>
232    <developer>
233      <name>Gary Gregory</name>
234      <id>ggregory</id>
235      <email>ggregory -at- apache.org</email>
236      <timezone>-5</timezone>
237      <roles>
238        <role>Committer</role>
239      </roles>
240    </developer>
241    <developer>
242      <name>William Speirs</name>
243      <id>wspeirs</id>
244      <email>wspeirs at apache.org</email>
245      <roles>
246        <role>Committer</role>
247      </roles>
248      <timezone>-5</timezone>
249    </developer>
250    <developer>
251      <name>Karl Wright</name>
252      <id>kwright</id>
253      <email>kwright -at- apache.org</email>
254      <roles>
255        <role>Committer</role>
256      </roles>
257      <timezone>-5</timezone>
258    </developer>
259    <developer>
260      <name>Francois-Xavier Bonnet</name>
261      <id>fx</id>
262      <email>fx -at- apache.org</email>
263      <roles>
264        <role>Committer</role>
265      </roles>
266      <timezone>+1</timezone>
267    </developer>
268  </developers>
269
270  <contributors>
271    <contributor>
272      <name>Julius Davies</name>
273      <email>juliusdavies -at- cucbc.com</email>
274    </contributor>
275    <contributor>
276      <name>Andrea Selva</name>
277      <email>selva.andre -at- gmail.com</email>
278    </contributor>
279    <contributor>
280      <name>Steffen Pingel</name>
281      <email>spingel -at- limewire.com</email>
282    </contributor>
283    <contributor>
284      <name>Quintin Beukes</name>
285      <email>quintin -at- last.za.net</email>
286    </contributor>
287    <contributor>
288      <name>Marc Beyerle</name>
289      <email>marc.beyerle -at- de.ibm.com</email>
290    </contributor>
291    <contributor>
292      <name>James Abley</name>
293      <email>james.abley -at- gmail.com</email>
294    </contributor>
295    <contributor>
296      <name>Michajlo Matijkiw</name>
297      <email>michajlo_matijkiw -at- comcast.com</email>
298    </contributor>
299  </contributors>
300  <mailingLists>
301    <mailingList>
302      <name>HttpClient User List</name>
303      <subscribe>httpclient-users-subscribe@hc.apache.org</subscribe>
304      <unsubscribe>httpclient-users-unsubscribe@hc.apache.org</unsubscribe>
305      <post>httpclient-users@hc.apache.org</post>
306      <archive>http://mail-archives.apache.org/mod_mbox/hc-httpclient-users/</archive>
307      <otherArchives>
308        <otherArchive>http://www.nabble.com/HttpClient-User-f20180.html</otherArchive>
309        <otherArchive>http://marc.info/?l=httpclient-users</otherArchive>
310        <otherArchive>http://httpclient-users.markmail.org/search/</otherArchive>
311        <otherArchive>http://hc.apache.org/mail/httpclient-users/</otherArchive>
312      </otherArchives>
313    </mailingList>
314    <mailingList>
315      <name>HttpComponents Dev List</name>
316      <subscribe>dev-subscribe@hc.apache.org</subscribe>
317      <unsubscribe>dev-unsubscribe@hc.apache.org</unsubscribe>
318      <post>dev@hc.apache.org</post>
319      <archive>http://mail-archives.apache.org/mod_mbox/hc-dev/</archive>
320      <otherArchives>
321        <otherArchive>http://www.nabble.com/HttpComponents-Dev-f20179.html</otherArchive>
322        <otherArchive>http://marc.info/?l=httpclient-commons-dev</otherArchive>
323        <otherArchive>http://apache-hc-dev.markmail.org/search/</otherArchive>
324        <otherArchive>http://hc.apache.org/mail/dev/</otherArchive>
325      </otherArchives>
326    </mailingList>
327    <mailingList>
328      <name>HttpComponents Commits List</name>
329      <subscribe>commits-subscribe@hc.apache.org</subscribe>
330      <unsubscribe>commits-unsubscribe@hc.apache.org</unsubscribe>
331      <post>(Read Only)</post>
332      <archive>http://mail-archives.apache.org/mod_mbox/hc-commits/</archive>
333      <otherArchives>
334        <otherArchive>http://marc.info/?l=httpcomponents-commits</otherArchive>
335        <otherArchive>http://hc-commits.markmail.org/search/</otherArchive>
336        <otherArchive>http://hc.apache.org/mail/commits/</otherArchive>
337      </otherArchives>
338    </mailingList>
339    <mailingList>
340      <name>Apache Announce List</name>
341      <subscribe>announce-subscribe@apache.org</subscribe>
342      <unsubscribe>announce-unsubscribe@apache.org</unsubscribe>
343      <archive>http://mail-archives.apache.org/mod_mbox/www-announce/</archive>
344      <otherArchives>
345        <otherArchive>http://org-apache-announce.markmail.org/search/</otherArchive>
346      </otherArchives>
347    </mailingList>
348  </mailingLists>
349
350 <distributionManagement>
351    <site>
352      <id>apache.website</id>
353      <name>Apache HttpComponents Website</name>
354      <url>${hc.site.url}</url>
355    </site>
356  </distributionManagement>
357
358  <repositories>
359    <!-- allow snapshot dependencies to be resolved -->
360    <repository>
361      <id>apache.snapshots</id>
362      <name>Apache Snapshot Repository</name>
363      <url>http://repository.apache.org/snapshots</url>
364      <releases>
365        <enabled>false</enabled>
366      </releases>
367    </repository>
368  </repositories>
369
370  <build>
371    <plugins>
372    <!--
373        Override the Apache POM which defines the source/target directly rather than using properties.
374         See: https://issues.apache.org/jira/browse/MPOM-44
375     -->
376      <plugin>
377        <artifactId>maven-compiler-plugin</artifactId>
378        <configuration>
379          <source>${maven.compiler.source}</source>
380          <target>${maven.compiler.target}</target>
381        </configuration>
382      </plugin>
383      <plugin>
384        <artifactId>maven-jar-plugin</artifactId>
385        <configuration>
386          <archive>
387            <manifestEntries>
388              <Specification-Title>Apache ${project.name}</Specification-Title>
389              <Specification-Version>${project.version}</Specification-Version>
390              <Specification-Vendor>Apache Software Foundation</Specification-Vendor>
391              <Implementation-Title>Apache HttpComponents ${project.name}</Implementation-Title>
392              <Implementation-Version>${project.version}</Implementation-Version>
393              <Implementation-Vendor>Apache Software Foundation</Implementation-Vendor>
394              <Implementation-Vendor-Id>org.apache</Implementation-Vendor-Id>
395              <!-- from buildnumber plugin and properties -->
396              <Implementation-Build>${implementation.build}</Implementation-Build>
397              <X-Compile-Source-JDK>${maven.compiler.source}</X-Compile-Source-JDK>
398              <X-Compile-Target-JDK>${maven.compiler.target}</X-Compile-Target-JDK>
399            </manifestEntries>
400          </archive>
401        </configuration>
402      </plugin>
403    </plugins>
404
405    <pluginManagement>
406      <plugins>
407        <!-- org.apache.maven.plugins, alpha order by artifact id -->
408        <plugin>
409          <groupId>org.apache.maven.plugins</groupId>
410          <artifactId>maven-assembly-plugin</artifactId>
411          <version>2.4</version>
412        </plugin>
413        <plugin>
414          <groupId>org.apache.maven.plugins</groupId>
415          <artifactId>maven-antrun-plugin</artifactId>
416          <version>1.7</version>
417        </plugin>
418        <plugin>
419          <groupId>org.apache.maven.plugins</groupId>
420          <artifactId>maven-clean-plugin</artifactId>
421          <version>2.5</version>
422        </plugin>
423        <plugin>
424          <groupId>org.apache.maven.plugins</groupId>
425          <artifactId>maven-compiler-plugin</artifactId>
426          <version>3.1</version>
427        </plugin>
428        <plugin>
429          <groupId>org.apache.maven.plugins</groupId>
430          <artifactId>maven-deploy-plugin</artifactId>
431          <version>2.7</version>
432        </plugin>
433        <plugin>
434          <groupId>org.apache.maven.plugins</groupId>
435          <artifactId>maven-gpg-plugin</artifactId>
436          <version>1.4</version>
437          <executions>
438            <execution>
439              <id>sign-artifacts</id>
440              <phase>verify</phase>
441              <goals>
442                <goal>sign</goal>
443              </goals>
444            </execution>
445          </executions>
446        </plugin>
447        <plugin>
448          <groupId>org.apache.maven.plugins</groupId>
449          <artifactId>maven-install-plugin</artifactId>
450          <version>2.4</version>
451        </plugin>
452        <plugin>
453          <groupId>org.apache.maven.plugins</groupId>
454          <artifactId>maven-jar-plugin</artifactId>
455          <version>2.4</version>
456        </plugin>
457        <plugin>
458          <groupId>org.apache.maven.plugins</groupId>
459          <artifactId>maven-javadoc-plugin</artifactId>
460          <version>${hc.javadoc.version}</version>
461          <configuration>
462            <!-- reduce console output. Can override with -Dquiet=false -->
463            <quiet>true</quiet>
464            <archive>
465              <manifest>
466                <addDefaultImplementationEntries>true</addDefaultImplementationEntries>
467                <addDefaultSpecificationEntries>true</addDefaultSpecificationEntries>
468              </manifest>
469            </archive>
470          </configuration>
471        </plugin>
472        <plugin>
473          <groupId>org.apache.maven.plugins</groupId>
474          <artifactId>maven-jxr-plugin</artifactId>
475          <version>${hc.jxr.version}</version>
476        </plugin>
477        <plugin>
478           <groupId>org.apache.maven.plugins</groupId>
479           <artifactId>maven-project-info-reports-plugin</artifactId>
480           <version>${hc.project-info.version}</version><!-- needed for direct goal use -->
481        </plugin>
482        <plugin>
483          <groupId>org.apache.maven.plugins</groupId>
484          <artifactId>maven-release-plugin</artifactId>
485          <version>2.4.1</version>
486        </plugin>
487        <plugin>
488          <groupId>org.apache.maven.plugins</groupId>
489          <artifactId>maven-resources-plugin</artifactId>
490          <version>2.6</version>
491          <executions>
492            <execution>
493              <id>copy-resources</id>
494              <phase>pre-site</phase>
495              <goals>
496                <goal>copy-resources</goal>
497              </goals>
498              <configuration>
499                <outputDirectory>${basedir}/target/site/examples</outputDirectory>
500                <resources>
501                  <resource>
502                    <directory>src/examples</directory>
503                    <filtering>false</filtering>
504                  </resource>
505                </resources>
506              </configuration>
507            </execution>
508          </executions>
509        </plugin>
510        <plugin>
511          <groupId>org.apache.maven.plugins</groupId>
512          <artifactId>maven-site-plugin</artifactId>
513          <version>3.3</version>
514          <dependencies>
515            <dependency>
516              <groupId>org.apache.maven.wagon</groupId>
517              <artifactId>wagon-ssh</artifactId>
518              <version>2.0</version>
519            </dependency>
520          </dependencies>
521          <executions>
522            <execution>
523              <id>attach-descriptor</id>
524              <goals>
525                <goal>attach-descriptor</goal>
526              </goals>
527            </execution>
528          </executions>
529        </plugin>
530        <plugin>
531          <groupId>org.apache.maven.plugins</groupId>
532          <artifactId>maven-source-plugin</artifactId>
533          <version>2.2.1</version>
534          <configuration>
535            <archive>
536              <manifest>
537                <addDefaultImplementationEntries>true</addDefaultImplementationEntries>
538                <addDefaultSpecificationEntries>true</addDefaultSpecificationEntries>
539              </manifest>
540            </archive>
541          </configuration>
542        </plugin>
543        <plugin>
544          <groupId>org.apache.maven.plugins</groupId>
545          <artifactId>maven-surefire-plugin</artifactId>
546          <version>${hc.surefire.version}</version>
547        </plugin>
548        <plugin>
549          <groupId>org.apache.maven.plugins</groupId>
550          <artifactId>maven-surefire-report-plugin</artifactId>
551          <version>${hc.surefire-report.version}</version>
552        </plugin>
553        <!-- Other plugins, alpha order by groupId and artifactId -->
554        <plugin>
555          <groupId>com.agilejava.docbkx</groupId>
556          <artifactId>docbkx-maven-plugin</artifactId>
557          <version>2.0.14</version>
558          <dependencies>
559            <dependency>
560              <groupId>org.docbook</groupId>
561              <artifactId>docbook-xml</artifactId>
562              <version>4.4</version>
563              <scope>runtime</scope>
564            </dependency>
565          </dependencies>
566        </plugin>
567        <plugin>
568          <groupId>org.apache.felix</groupId>
569          <artifactId>maven-bundle-plugin</artifactId>
570          <version>2.4.0</version>
571        </plugin>
572        <plugin>
573          <artifactId>maven-notice-plugin</artifactId>
574          <groupId>org.apache.httpcomponents</groupId>
575          <version>0.0.2</version>
576          <executions>
577            <execution>
578              <id>attach-notice-license</id>
579              <goals>
580                <goal>generate</goal>
581              </goals>
582            </execution>
583          </executions>
584          <configuration>
585            <projectTitle>Apache HttpComponents</projectTitle>
586          </configuration>
587        </plugin>
588        <plugin>
589          <groupId>org.codehaus.mojo</groupId>
590          <artifactId>buildnumber-maven-plugin</artifactId>
591          <version>1.2</version>
592        </plugin>
593        <plugin>
594          <groupId>org.codehaus.mojo</groupId>
595          <artifactId>clirr-maven-plugin</artifactId>
596          <version>${hc.clirr.version}</version>
597          <configuration>
598            <minSeverity>${minSeverity}</minSeverity>
599          </configuration>
600        </plugin>
601        <plugin>
602          <groupId>org.apache.maven.plugins</groupId>
603          <artifactId>maven-checkstyle-plugin</artifactId>
604          <version>2.9.1</version>
605          <dependencies>
606            <dependency>
607              <groupId>org.apache.httpcomponents</groupId>
608              <artifactId>hc-stylecheck</artifactId>
609              <version>1</version>
610            </dependency>
611          </dependencies>
612          <configuration>
613            <encoding>${project.build.sourceEncoding}</encoding>
614          </configuration>
615          <executions>
616            <execution>
617              <id>validate</id>
618              <phase>validate</phase>
619              <configuration>
620                <configLocation>hc-stylecheck/default.xml</configLocation>
621                <headerLocation>hc-stylecheck/asl2.header</headerLocation>
622                <consoleOutput>true</consoleOutput>
623                <failsOnError>true</failsOnError>
624                <linkXRef>false</linkXRef>
625              </configuration>
626              <goals>
627                <goal>checkstyle</goal>
628              </goals>
629            </execution>
630          </executions>
631        </plugin>
632      </plugins>
633    </pluginManagement>
634  </build>
635
636  <reporting>
637    <plugins>
638        <plugin>
639           <groupId>org.apache.maven.plugins</groupId>
640           <artifactId>maven-project-info-reports-plugin</artifactId>
641           <version>${hc.project-info.version}</version><!-- needed for mvn site -->
642           <!-- in particular, we don't want mailing-list to be inherited -->
643           <inherited>false</inherited>
644           <reportSets>
645             <reportSet>
646               <reports>
647                 <report>project-team</report>
648                 <report>issue-tracking</report>
649                 <report>scm</report>
650                 <report>mailing-list</report>
651               </reports>
652             </reportSet>
653           </reportSets>
654         </plugin>
655    </plugins>
656  </reporting>
657
658 <profiles>
659   <profile>
660     <id>release</id>
661     <build>
662       <plugins>
663         <plugin>
664           <groupId>org.apache.maven.plugins</groupId>
665           <artifactId>maven-gpg-plugin</artifactId>
666         </plugin>
667       </plugins>
668     </build>
669   </profile>
670    <!--
671     | Profile to allow testing of deploy phase
672     | e.g.
673     | mvn deploy -Ptest-deploy -Prelease -Dgpg.skip
674     -->
675    <profile>
676      <id>test-deploy</id>
677      <properties>
678        <altDeploymentRepository>id::default::file:target/deploy</altDeploymentRepository>
679      </properties>
680    </profile>
681
682    <!--
683        Automatically run the buildnumber plugin unless the buildNumber.skip property is defined as true
684    -->
685    <profile>
686     <id>svn-buildnumber</id>
687     <activation>
688       <property><name>!buildNumber.skip</name><value>!true</value></property>
689     </activation>
690     <build>
691       <plugins>
692         <plugin>
693           <groupId>org.codehaus.mojo</groupId>
694           <artifactId>buildnumber-maven-plugin</artifactId>
695           <executions>
696             <execution>
697               <phase>generate-resources</phase>
698               <goals>
699                 <goal>create</goal>
700               </goals>
701             </execution>
702           </executions>
703           <configuration>
704             <!-- Use committed revision so it does not change every time svn update is run -->
705             <useLastCommittedRevision>true</useLastCommittedRevision>
706             <!-- default revision number if unavailable -->
707             <revisionOnScmFailure>??????</revisionOnScmFailure>
708             <doCheck>false</doCheck>
709             <doUpdate>false</doUpdate>
710           </configuration>
711         </plugin>
712       </plugins>
713     </build>
714   </profile>
715
716   <!-- optional profile to use javasvn instead of the SVN CLI for the buildNumber plugin -->
717   <profile>
718     <id>javasvn</id>
719     <build>
720       <plugins>
721         <plugin>
722           <groupId>org.codehaus.mojo</groupId>
723           <artifactId>buildnumber-maven-plugin</artifactId>
724           <configuration>
725             <providerImplementations>
726               <svn>javasvn</svn>
727             </providerImplementations>
728           </configuration>
729         </plugin>
730       </plugins>
731     </build>
732   </profile>
733
734    <!-- Optional Clover profile -->
735    <profile>
736      <id>clover</id>
737      <build>
738        <plugins>
739          <plugin>
740            <groupId>com.atlassian.maven.plugins</groupId>
741            <artifactId>maven-clover2-plugin</artifactId>
742            <version>${hc.clover2.version}</version>
743            <configuration>
744              <flushPolicy>threaded</flushPolicy>
745              <flushInterval>100</flushInterval>
746              <targetPercentage>50%</targetPercentage>
747            </configuration>
748            <executions>
749              <execution>
750                <id>site</id>
751                <phase>pre-site</phase>
752                <goals>
753                  <goal>instrument</goal>
754                </goals>
755              </execution>
756            </executions>
757          </plugin>
758        </plugins>
759      </build>
760
761      <reporting>
762        <plugins>
763          <plugin>
764            <groupId>com.atlassian.maven.plugins</groupId>
765            <artifactId>maven-clover2-plugin</artifactId>
766            <version>${hc.clover2.version}</version>
767            <configuration>
768              <jdk>1.5</jdk>
769            </configuration>
770          </plugin>
771        </plugins>
772      </reporting>
773
774    </profile>
775
776 </profiles>
777
778 <prerequisites>
779   <maven>3.0.3</maven>
780 </prerequisites>
781
782 <properties>
783   <maven.compiler.source>1.5</maven.compiler.source>
784   <maven.compiler.target>1.5</maven.compiler.target>
785   <maven.compiler.optimize>true</maven.compiler.optimize>
786   <maven.compiler.showDeprecation>true</maven.compiler.showDeprecation>
787   <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
788   <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
789   <hc.site.url>scp://people.apache.org/www/hc.apache.org/</hc.site.url>
790
791   <!-- Define versions of all report plugins, because they should match usage in pluginManagement and modules -->
792   <hc.clirr.version>2.5</hc.clirr.version>
793   <hc.clover2.version>3.1.11</hc.clover2.version>
794   <hc.javadoc.version>2.9.1</hc.javadoc.version>
795   <hc.jxr.version>2.3</hc.jxr.version>
796   <hc.surefire-report.version>2.15</hc.surefire-report.version>
797   <hc.surefire.version>2.15</hc.surefire.version>
798   <hc.project-info.version>2.7</hc.project-info.version>
799
800   <!-- build meta inf -->
801   <maven.build.timestamp.format>yyyy-MM-dd HH:mm:ssZ</maven.build.timestamp.format>
802   <implementation.build>${scmBranch}@r${buildNumber}; ${maven.build.timestamp}</implementation.build>
803
804   <!-- Allow Clirr severity to be overriden by the command-line option -DminSeverity=level -->
805   <minSeverity>info</minSeverity>
806 </properties>
807</project>
808