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