Compare commits

..

No commits in common. 'c8-stream-201801' and 'stream-javapackages-tools-202201-rhel-9.1.0' have entirely different histories.

7
.gitignore vendored

@ -0,0 +1,7 @@
/httpcomponents-project-4.1.1.tar.xz
/httpcomponents-project-6.tar.xz
/httpcomponents-project-7.tar.xz
/httpcomponents-parent-9.pom
/LICENSE-2.0.txt
/httpcomponents-parent-11.pom
/httpcomponents-parent-12-source-release.zip

@ -1,202 +0,0 @@
Apache License
Version 2.0, January 2004
http://www.apache.org/licenses/
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
1. Definitions.
"License" shall mean the terms and conditions for use, reproduction,
and distribution as defined by Sections 1 through 9 of this document.
"Licensor" shall mean the copyright owner or entity authorized by
the copyright owner that is granting the License.
"Legal Entity" shall mean the union of the acting entity and all
other entities that control, are controlled by, or are under common
control with that entity. For the purposes of this definition,
"control" means (i) the power, direct or indirect, to cause the
direction or management of such entity, whether by contract or
otherwise, or (ii) ownership of fifty percent (50%) or more of the
outstanding shares, or (iii) beneficial ownership of such entity.
"You" (or "Your") shall mean an individual or Legal Entity
exercising permissions granted by this License.
"Source" form shall mean the preferred form for making modifications,
including but not limited to software source code, documentation
source, and configuration files.
"Object" form shall mean any form resulting from mechanical
transformation or translation of a Source form, including but
not limited to compiled object code, generated documentation,
and conversions to other media types.
"Work" shall mean the work of authorship, whether in Source or
Object form, made available under the License, as indicated by a
copyright notice that is included in or attached to the work
(an example is provided in the Appendix below).
"Derivative Works" shall mean any work, whether in Source or Object
form, that is based on (or derived from) the Work and for which the
editorial revisions, annotations, elaborations, or other modifications
represent, as a whole, an original work of authorship. For the purposes
of this License, Derivative Works shall not include works that remain
separable from, or merely link (or bind by name) to the interfaces of,
the Work and Derivative Works thereof.
"Contribution" shall mean any work of authorship, including
the original version of the Work and any modifications or additions
to that Work or Derivative Works thereof, that is intentionally
submitted to Licensor for inclusion in the Work by the copyright owner
or by an individual or Legal Entity authorized to submit on behalf of
the copyright owner. For the purposes of this definition, "submitted"
means any form of electronic, verbal, or written communication sent
to the Licensor or its representatives, including but not limited to
communication on electronic mailing lists, source code control systems,
and issue tracking systems that are managed by, or on behalf of, the
Licensor for the purpose of discussing and improving the Work, but
excluding communication that is conspicuously marked or otherwise
designated in writing by the copyright owner as "Not a Contribution."
"Contributor" shall mean Licensor and any individual or Legal Entity
on behalf of whom a Contribution has been received by Licensor and
subsequently incorporated within the Work.
2. Grant of Copyright License. Subject to the terms and conditions of
this License, each Contributor hereby grants to You a perpetual,
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
copyright license to reproduce, prepare Derivative Works of,
publicly display, publicly perform, sublicense, and distribute the
Work and such Derivative Works in Source or Object form.
3. Grant of Patent License. Subject to the terms and conditions of
this License, each Contributor hereby grants to You a perpetual,
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
(except as stated in this section) patent license to make, have made,
use, offer to sell, sell, import, and otherwise transfer the Work,
where such license applies only to those patent claims licensable
by such Contributor that are necessarily infringed by their
Contribution(s) alone or by combination of their Contribution(s)
with the Work to which such Contribution(s) was submitted. If You
institute patent litigation against any entity (including a
cross-claim or counterclaim in a lawsuit) alleging that the Work
or a Contribution incorporated within the Work constitutes direct
or contributory patent infringement, then any patent licenses
granted to You under this License for that Work shall terminate
as of the date such litigation is filed.
4. Redistribution. You may reproduce and distribute copies of the
Work or Derivative Works thereof in any medium, with or without
modifications, and in Source or Object form, provided that You
meet the following conditions:
(a) You must give any other recipients of the Work or
Derivative Works a copy of this License; and
(b) You must cause any modified files to carry prominent notices
stating that You changed the files; and
(c) You must retain, in the Source form of any Derivative Works
that You distribute, all copyright, patent, trademark, and
attribution notices from the Source form of the Work,
excluding those notices that do not pertain to any part of
the Derivative Works; and
(d) If the Work includes a "NOTICE" text file as part of its
distribution, then any Derivative Works that You distribute must
include a readable copy of the attribution notices contained
within such NOTICE file, excluding those notices that do not
pertain to any part of the Derivative Works, in at least one
of the following places: within a NOTICE text file distributed
as part of the Derivative Works; within the Source form or
documentation, if provided along with the Derivative Works; or,
within a display generated by the Derivative Works, if and
wherever such third-party notices normally appear. The contents
of the NOTICE file are for informational purposes only and
do not modify the License. You may add Your own attribution
notices within Derivative Works that You distribute, alongside
or as an addendum to the NOTICE text from the Work, provided
that such additional attribution notices cannot be construed
as modifying the License.
You may add Your own copyright statement to Your modifications and
may provide additional or different license terms and conditions
for use, reproduction, or distribution of Your modifications, or
for any such Derivative Works as a whole, provided Your use,
reproduction, and distribution of the Work otherwise complies with
the conditions stated in this License.
5. Submission of Contributions. Unless You explicitly state otherwise,
any Contribution intentionally submitted for inclusion in the Work
by You to the Licensor shall be under the terms and conditions of
this License, without any additional terms or conditions.
Notwithstanding the above, nothing herein shall supersede or modify
the terms of any separate license agreement you may have executed
with Licensor regarding such Contributions.
6. Trademarks. This License does not grant permission to use the trade
names, trademarks, service marks, or product names of the Licensor,
except as required for reasonable and customary use in describing the
origin of the Work and reproducing the content of the NOTICE file.
7. Disclaimer of Warranty. Unless required by applicable law or
agreed to in writing, Licensor provides the Work (and each
Contributor provides its Contributions) on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
implied, including, without limitation, any warranties or conditions
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
PARTICULAR PURPOSE. You are solely responsible for determining the
appropriateness of using or redistributing the Work and assume any
risks associated with Your exercise of permissions under this License.
8. Limitation of Liability. In no event and under no legal theory,
whether in tort (including negligence), contract, or otherwise,
unless required by applicable law (such as deliberate and grossly
negligent acts) or agreed to in writing, shall any Contributor be
liable to You for damages, including any direct, indirect, special,
incidental, or consequential damages of any character arising as a
result of this License or out of the use or inability to use the
Work (including but not limited to damages for loss of goodwill,
work stoppage, computer failure or malfunction, or any and all
other commercial damages or losses), even if such Contributor
has been advised of the possibility of such damages.
9. Accepting Warranty or Additional Liability. While redistributing
the Work or Derivative Works thereof, You may choose to offer,
and charge a fee for, acceptance of support, warranty, indemnity,
or other liability obligations and/or rights consistent with this
License. However, in accepting such obligations, You may act only
on Your own behalf and on Your sole responsibility, not on behalf
of any other Contributor, and only if You agree to indemnify,
defend, and hold each Contributor harmless for any liability
incurred by, or claims asserted against, such Contributor by reason
of your accepting any such warranty or additional liability.
END OF TERMS AND CONDITIONS
APPENDIX: How to apply the Apache License to your work.
To apply the Apache License to your work, attach the following
boilerplate notice, with the fields enclosed by brackets "[]"
replaced with your own identifying information. (Don't include
the brackets!) The text should be enclosed in the appropriate
comment syntax for the file format. We also recommend that a
file or class name and description of purpose be included on the
same "printed page" as the copyright notice for easier
identification within third-party archives.
Copyright [yyyy] [name of copyright owner]
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.

@ -1,974 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
====================================================================
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements. See the NOTICE file
distributed with this work for additional information
regarding copyright ownership. The ASF licenses this file
to you under the Apache License, Version 2.0 (the
"License"); you may not use this file except in compliance
with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing,
software distributed under the License is distributed on an
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
KIND, either express or implied. See the License for the
specific language governing permissions and limitations
under the License.
====================================================================
This software consists of voluntary contributions made by many
individuals on behalf of the Apache Software Foundation. For more
information on the Apache Software Foundation, please see
<http://www.apache.org/>.
-->
<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/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.apache</groupId>
<artifactId>apache</artifactId>
<version>18</version>
</parent>
<groupId>org.apache.httpcomponents</groupId>
<artifactId>httpcomponents-parent</artifactId>
<version>9</version>
<packaging>pom</packaging>
<name>Apache HttpComponents Parent</name>
<url>http://hc.apache.org/</url>
<description>Apache components to build HTTP enabled services</description>
<inceptionYear>2005</inceptionYear>
<!--
Version 9 - changes since version 8
===================================
Removed obsolete notice plugin
Removed obsolete svn-buildnumber plugin and profiles
Removed obsolete clover plugin and profile
build-helper-maven-plugin 1.12 -> 3.0.0
maven-gpg-plugin 1.4 -> 1.6
maven-assembly-plugin 3.0.0 -> 3.1.0
maven-compiler-plugin 3.6.0 -> 3.6.1
maven-compiler-plugin 3.6.1 -> 3.6.2
maven-compiler-plugin 3.6.2 -> 3.7.0
maven-surefire-plugin 2.19.1 -> 2.20
maven-resources-plugin 3.0.1 -> 3.0.2
maven-bundle-plugin 3.2.0 -> 3.3.0
jacaoco-maven-plugin 0.7.7.201606060606 -> 0.7.9
Renamed artifactId to httpcomponents-parent
Added use-toolchains profile; activated if ~/.m2/toolchains.xml exists
maven-javadoc-plugin 2.10.4 -> 3.0.0-M1 (allows building on Java 9.)
animal-sniffer-maven-plugin 1.15 -> 1.16
Version 8 - changes since version 7
===================================
Dropped definition of maven.compiler.(source|target).
These must now be defined at component level.
add profile nodoclint
maven-checkstyle-plugin 2.9.1 -> 2.17
maven-project-info-reports-plugin 2.8.1 -> 2.9
maven-clover2-plugin 3.1.11 -> 4.0.6
clirr-maven-plugin 2.7 -> 2.8
docbkx-maven-plugin 2.16 -> 2.17
maven-site-plugin 3.4 -> 3.6
maven-resources-plugin 2.7 -> 3.0.1
org.apache:apache POM 13 -> 18
animal-sniffer-maven-plugin 1.11 => 1.15
docbkx-maven-plugin 2.0.15 => 2.0.16
hc.rat.version 0.11 -> 0.12
Javadoc 2.9.1 => 2.10.4
Surefire 2.15 => 2.19
JXR 2.3 => 2.5
Clirr 2.5 => 2.7
maven-antrun-plugin 2.4.1 => 2.6
maven-assembly-plugin 2.4 => 3.0.0
maven-clean-plugin 2.5 => 3.0.0
maven-compiler-plugin 3.1 => 3.6.0
maven-deploy-plugin 2.7 => 2.8.2
build-helper-maven-plugin 1.9.1 => 1.12
maven-install-plugin 2.4 => 2.5.2
maven-jar-plugin 2.4 => 3.0.2
maven-javadoc-plugin 2.10.1 => 2.10.3
maven-release-plugin 2.4.1 => 2.5.3
maven-resources-plugin 2.6 => 2.7
maven-site-plugin 3.3 => 3.4
maven-surefire-plugin 2.19 -> 2.19.1
maven-surefire-report-plugin 2.19 -> 2.19.1
wagon-ssh 2.0 => 2.7
maven-source-plugin 2.3 => 3.0.1
docbkx-maven-plugin 2.14 => 2.15
maven-bundle-plugin 2.4.0 => 3.2.0
buildnumber-maven-plugin 1.2 => 1.4
wagon-ssh 2.7 => 2.10
Version 7 - changes since version 6
===================================
Fixed maven.compile.* properties => maven.compiler.*
Unfortunately cannot drop the configuration of compiler plugin as the Apache POM
defines the source/target directly rather than using properties.
See: https://issues.apache.org/jira/browse/MPOM-44
Also maven.compile.deprecation => maven.compiler.showDeprecation
** N.B. Child POMs may need to be adjusted when upgrading to parent pom 7 **
Added Maven pre-requisite of 3.0.3 (minimum)
Dropped maven-3 profile as no longer needed
Added Apache parent POM 13; dropped distributionManagement/repository and snapshotRepository
apache.website now uses property ${hc.site.url}
Added optional clover profile
Assembly 2.2.1 => 2.4
Antrun 1.6 => 1.7
Buildnumber 1.0 => 1.2
Bundle 2.3.7 => 2.4.0
Clean 2.4.1 => 2.5
Clirr 2.3 => 2.5
Clover2 2.6.3 => 3.1.11
Compiler 2.3.2 => 3.1
Dokbkx 2.0.13 => 2.0.14
Install 2.3.1 => 2.4
Jar 2.3.2 => 2.4
Javadoc 2.8 => 2.9.1
Project-Info 2.4 => 2.7
Release 2.2.1 => 2.4.1
Resources 2.5 => 2.6
Site 3.0 => 3.3
Source 2.1.2 => 2.2.1
Surefire 2.9 => 2.15
Surefire-Report 2.9 => 2.15
Stylecheck = 2.9.1
Changed issueManagement URL to point to JIRA group
Updated developers list
Changes since previous version (5)
==============================
Added httpasyncclient module
Buildnumber plugin changes:
- can now be disabled (-DbuildNumber.skip)
- defaults to SVN CLI, because javasvn currently fails with SVN 1.7 clients
- can revert to javasvn with -Pjavasvn
Added default manifest entries to source jars
Felix bundle plugin updated: 2.3.5 -> 2.3.7 (fixes Java 1.5 issue)
Fixed JIRA link
-->
<organization>
<name>Apache Software Foundation</name>
<url>http://www.apache.org/</url>
</organization>
<issueManagement>
<system>Jira</system>
<!-- The following URL is for the HttpComponents group -->
<url>https://issues.apache.org/jira/secure/BrowseProjects.jspa?selectedCategory=10280</url>
</issueManagement>
<scm>
<connection>scm:git:https://git-wip-us.apache.org/repos/asf/httpcomponents-parent.git</connection>
<developerConnection>scm:git:https://git-wip-us.apache.org/repos/asf/httpcomponents-parent.git</developerConnection>
<url>https://github.com/apache/httpcomponents-parent/tree/${project.scm.tag}</url>
<tag>master</tag>
</scm>
<developers>
<developer>
<name>Ortwin Glueck</name>
<id>oglueck</id>
<email>oglueck -at- apache.org</email>
<organization></organization>
<roles>
<role>Emeritus PMC</role>
</roles>
<url>http://www.odi.ch/</url>
<timezone>+1</timezone>
</developer>
<developer>
<name>Oleg Kalnichevski</name>
<id>olegk</id>
<email>olegk -at- apache.org</email>
<roles>
<role>Committer</role>
<role>PMC</role>
</roles>
<timezone>+1</timezone>
</developer>
<developer>
<name>Asankha C. Perera</name>
<id>asankha</id>
<email>asankha -at- apache.org</email>
<roles>
<role>Committer</role>
<role>PMC Chair</role>
</roles>
<url>https://www.adroitlogic.com/</url>
<timezone>+5.5</timezone>
</developer>
<developer>
<name>Sebastian Bazley</name>
<id>sebb</id>
<email>sebb -at- apache.org</email>
<roles>
<role>Committer</role>
<role>PMC</role>
</roles>
<timezone></timezone>
</developer>
<developer>
<name>Erik Abele</name>
<id>erikabele</id>
<email>erikabele -at- apache.org</email>
<roles>
<role>Committer</role>
<role>PMC</role>
</roles>
<url>http://www.codefaktor.de/</url>
<timezone>+1</timezone>
</developer>
<developer>
<name>Ant Elder</name>
<id>antelder</id>
<email>antelder -at- apache.org</email>
<roles>
<role>Committer</role>
<role>PMC</role>
</roles>
<timezone></timezone>
</developer>
<developer>
<name>Paul Fremantle</name>
<id>pzf</id>
<email>pzf -at- apache.org</email>
<roles>
<role>Committer</role>
<role>PMC</role>
</roles>
<timezone></timezone>
</developer>
<developer>
<name>Roland Weber</name>
<id>rolandw</id>
<email>rolandw -at- apache.org</email>
<roles>
<role>Emeritus PMC</role>
</roles>
<timezone>+1</timezone>
</developer>
<developer>
<name>Sam Berlin</name>
<id>sberlin</id>
<email>sberlin -at- apache.org</email>
<roles>
<role>Committer</role>
</roles>
<timezone>-4</timezone>
</developer>
<developer>
<name>Sean C. Sullivan</name>
<id>sullis</id>
<email>sullis -at- apache.org</email>
<roles>
<role>Committer</role>
</roles>
<timezone>-8</timezone>
</developer>
<developer>
<name>Jonathan Moore</name>
<id>jonm</id>
<email>jonm -at- apache.org</email>
<roles>
<role>Committer</role>
<role>PMC</role>
</roles>
<timezone>-5</timezone>
</developer>
<developer>
<name>Gary Gregory</name>
<id>ggregory</id>
<email>ggregory -at- apache.org</email>
<timezone>-8</timezone>
<roles>
<role>Committer</role>
<role>PMC</role>
</roles>
</developer>
<developer>
<name>William Speirs</name>
<id>wspeirs</id>
<email>wspeirs at apache.org</email>
<roles>
<role>Committer</role>
</roles>
<timezone>-5</timezone>
</developer>
<developer>
<name>Karl Wright</name>
<id>kwright</id>
<email>kwright -at- apache.org</email>
<roles>
<role>Committer</role>
</roles>
<timezone>-5</timezone>
</developer>
<developer>
<name>Francois-Xavier Bonnet</name>
<id>fx</id>
<email>fx -at- apache.org</email>
<roles>
<role>Committer</role>
</roles>
<timezone>+1</timezone>
</developer>
</developers>
<contributors>
<contributor>
<name>Julius Davies</name>
<email>juliusdavies -at- cucbc.com</email>
</contributor>
<contributor>
<name>Andrea Selva</name>
<email>selva.andre -at- gmail.com</email>
</contributor>
<contributor>
<name>Steffen Pingel</name>
<email>spingel -at- limewire.com</email>
</contributor>
<contributor>
<name>Quintin Beukes</name>
<email>quintin -at- last.za.net</email>
</contributor>
<contributor>
<name>Marc Beyerle</name>
<email>marc.beyerle -at- de.ibm.com</email>
</contributor>
<contributor>
<name>James Abley</name>
<email>james.abley -at- gmail.com</email>
</contributor>
<contributor>
<name>Michajlo Matijkiw</name>
<email>michajlo_matijkiw -at- comcast.com</email>
</contributor>
</contributors>
<mailingLists>
<mailingList>
<name>HttpClient User List</name>
<subscribe>httpclient-users-subscribe@hc.apache.org</subscribe>
<unsubscribe>httpclient-users-unsubscribe@hc.apache.org</unsubscribe>
<post>httpclient-users@hc.apache.org</post>
<archive>http://mail-archives.apache.org/mod_mbox/hc-httpclient-users/</archive>
<otherArchives>
<otherArchive>http://www.nabble.com/HttpClient-User-f20180.html</otherArchive>
<otherArchive>http://marc.info/?l=httpclient-users</otherArchive>
<otherArchive>http://httpclient-users.markmail.org/search/</otherArchive>
<otherArchive>http://hc.apache.org/mail/httpclient-users/</otherArchive>
</otherArchives>
</mailingList>
<mailingList>
<name>HttpComponents Dev List</name>
<subscribe>dev-subscribe@hc.apache.org</subscribe>
<unsubscribe>dev-unsubscribe@hc.apache.org</unsubscribe>
<post>dev@hc.apache.org</post>
<archive>http://mail-archives.apache.org/mod_mbox/hc-dev/</archive>
<otherArchives>
<otherArchive>http://www.nabble.com/HttpComponents-Dev-f20179.html</otherArchive>
<otherArchive>http://marc.info/?l=httpclient-commons-dev</otherArchive>
<otherArchive>http://apache-hc-dev.markmail.org/search/</otherArchive>
<otherArchive>http://hc.apache.org/mail/dev/</otherArchive>
</otherArchives>
</mailingList>
<mailingList>
<name>HttpComponents Commits List</name>
<subscribe>commits-subscribe@hc.apache.org</subscribe>
<unsubscribe>commits-unsubscribe@hc.apache.org</unsubscribe>
<post>(Read Only)</post>
<archive>http://mail-archives.apache.org/mod_mbox/hc-commits/</archive>
<otherArchives>
<otherArchive>http://marc.info/?l=httpcomponents-commits</otherArchive>
<otherArchive>http://hc-commits.markmail.org/search/</otherArchive>
<otherArchive>http://hc.apache.org/mail/commits/</otherArchive>
</otherArchives>
</mailingList>
<mailingList>
<name>Apache Announce List</name>
<subscribe>announce-subscribe@apache.org</subscribe>
<unsubscribe>announce-unsubscribe@apache.org</unsubscribe>
<archive>http://mail-archives.apache.org/mod_mbox/www-announce/</archive>
<otherArchives>
<otherArchive>http://org-apache-announce.markmail.org/search/</otherArchive>
</otherArchives>
</mailingList>
</mailingLists>
<distributionManagement>
<site>
<id>apache.website</id>
<name>Apache HttpComponents Website</name>
<url>${hc.site.url}</url>
</site>
</distributionManagement>
<repositories>
<!-- allow snapshot dependencies to be resolved -->
<repository>
<id>apache.snapshots</id>
<name>Apache Snapshot Repository</name>
<url>http://repository.apache.org/snapshots</url>
<releases>
<enabled>false</enabled>
</releases>
</repository>
</repositories>
<build>
<plugins>
<plugin>
<groupId>org.apache.rat</groupId>
<artifactId>apache-rat-plugin</artifactId>
<!-- Should agree with config in reporting section -->
<configuration>
<!--
If you wish to override this list in the component (child) pom, ensure you use
<excludes combine.children="merge">
so that the child pom entries replace the parent entries
-->
<excludes combine.children="append">
<exclude>.pmd</exclude>
</excludes>
</configuration>
</plugin>
<plugin>
<artifactId>maven-jar-plugin</artifactId>
<configuration>
<archive>
<manifestEntries>
<Specification-Title>Apache ${project.name}</Specification-Title>
<Specification-Version>${project.version}</Specification-Version>
<Specification-Vendor>Apache Software Foundation</Specification-Vendor>
<Implementation-Title>Apache HttpComponents ${project.name}</Implementation-Title>
<Implementation-Version>${project.version}</Implementation-Version>
<Implementation-Vendor>Apache Software Foundation</Implementation-Vendor>
<Implementation-Vendor-Id>org.apache</Implementation-Vendor-Id>
<!-- from buildnumber plugin and properties -->
<Implementation-Build>${implementation.build}</Implementation-Build>
<X-Compile-Source-JDK>${maven.compiler.source}</X-Compile-Source-JDK>
<X-Compile-Target-JDK>${maven.compiler.target}</X-Compile-Target-JDK>
</manifestEntries>
</archive>
</configuration>
</plugin>
</plugins>
<pluginManagement>
<plugins>
<!-- org.apache.maven.plugins, alpha order by artifact id -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-assembly-plugin</artifactId>
<version>3.1.0</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-antrun-plugin</artifactId>
<version>1.8</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-clean-plugin</artifactId>
<version>3.0.0</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.7.0</version>
<configuration>
<source>${maven.compiler.source}</source>
<target>${maven.compiler.target}</target>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-deploy-plugin</artifactId>
<version>2.8.2</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-gpg-plugin</artifactId>
<version>1.6</version>
<executions>
<execution>
<id>sign-artifacts</id>
<phase>verify</phase>
<goals>
<goal>sign</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-install-plugin</artifactId>
<version>2.5.2</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId>
<version>3.0.2</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<version>${hc.javadoc.version}</version>
<configuration>
<!-- reduce console output. Can override with -Dquiet=false -->
<quiet>true</quiet>
<archive>
<manifest>
<addDefaultImplementationEntries>true</addDefaultImplementationEntries>
<addDefaultSpecificationEntries>true</addDefaultSpecificationEntries>
</manifest>
</archive>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jxr-plugin</artifactId>
<version>${hc.jxr.version}</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-project-info-reports-plugin</artifactId>
<version>${hc.project-info.version}</version><!-- needed for direct goal use -->
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-release-plugin</artifactId>
<version>2.5.3</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-resources-plugin</artifactId>
<version>3.0.2</version>
<executions>
<execution>
<id>copy-resources</id>
<phase>pre-site</phase>
<goals>
<goal>copy-resources</goal>
</goals>
<configuration>
<outputDirectory>${basedir}/target/site/examples</outputDirectory>
<resources>
<resource>
<directory>src/examples</directory>
<filtering>false</filtering>
</resource>
</resources>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-site-plugin</artifactId>
<version>3.6</version>
<dependencies>
<dependency>
<groupId>org.apache.maven.wagon</groupId>
<artifactId>wagon-ssh</artifactId>
<version>2.10</version>
</dependency>
</dependencies>
<executions>
<execution>
<id>attach-descriptor</id>
<goals>
<goal>attach-descriptor</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-source-plugin</artifactId>
<version>3.0.1</version>
<configuration>
<archive>
<manifest>
<addDefaultImplementationEntries>true</addDefaultImplementationEntries>
<addDefaultSpecificationEntries>true</addDefaultSpecificationEntries>
</manifest>
</archive>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<version>${hc.surefire.version}</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-report-plugin</artifactId>
<version>${hc.surefire-report.version}</version>
</plugin>
<!-- Other plugins, alpha order by groupId and artifactId -->
<plugin>
<groupId>com.agilejava.docbkx</groupId>
<artifactId>docbkx-maven-plugin</artifactId>
<version>2.0.17</version>
<dependencies>
<dependency>
<groupId>org.docbook</groupId>
<artifactId>docbook-xml</artifactId>
<version>4.4</version>
<scope>runtime</scope>
</dependency>
</dependencies>
</plugin>
<plugin>
<groupId>org.apache.felix</groupId>
<artifactId>maven-bundle-plugin</artifactId>
<version>3.3.0</version>
</plugin>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>buildnumber-maven-plugin</artifactId>
<version>1.4</version>
</plugin>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>clirr-maven-plugin</artifactId>
<version>${hc.clirr.version}</version>
<configuration>
<minSeverity>${minSeverity}</minSeverity>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-checkstyle-plugin</artifactId>
<version>${hc.checkstyle.version}</version>
<dependencies>
<dependency>
<groupId>org.apache.httpcomponents</groupId>
<artifactId>hc-stylecheck</artifactId>
<version>1</version>
</dependency>
</dependencies>
<configuration>
<encoding>${project.build.sourceEncoding}</encoding>
</configuration>
<executions>
<execution>
<id>validate</id>
<phase>validate</phase>
<configuration>
<configLocation>hc-stylecheck/default.xml</configLocation>
<headerLocation>hc-stylecheck/asl2.header</headerLocation>
<consoleOutput>true</consoleOutput>
<failsOnError>true</failsOnError>
<linkXRef>false</linkXRef>
</configuration>
<goals>
<goal>checkstyle</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-project-info-reports-plugin</artifactId>
<version>${hc.project-info.version}</version>
</plugin>
</plugins>
</pluginManagement>
</build>
<reporting>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-project-info-reports-plugin</artifactId>
<version>${hc.project-info.version}</version><!-- needed for mvn site -->
<!-- in particular, we don't want mailing-list to be inherited -->
<inherited>false</inherited>
<reportSets>
<reportSet>
<reports>
<report>project-team</report>
<report>issue-tracking</report>
<report>scm</report>
<report>mailing-list</report>
</reports>
</reportSet>
</reportSets>
</plugin>
</plugins>
</reporting>
<profiles>
<profile>
<!--
Make the version parts of the maven.compiler.target property
available as separate properties, so that they can be used to define
the java signature artifactId used by animal-sniffer etc.
-->
<id>parse-target-version</id>
<activation>
<property>
<!--
This property should always be defined.
The intention is to ensure that the profile is always enabled.
(activeByDefault only applies if other profiles are not enabled)
-->
<name>user.home</name>
</property>
</activation>
<build>
<plugins>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>build-helper-maven-plugin</artifactId>
<version>3.0.0</version>
<executions>
<execution>
<id>parse-version</id>
<!-- binds to the validate phase by default -->
<goals>
<goal>parse-version</goal>
</goals>
<configuration>
<propertyPrefix>javaTarget</propertyPrefix>
<versionString>${maven.compiler.target}</versionString>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>
<!--
Runs the Animal Sniffer plugin to check that generated code does not included references
to methods/classes etc that are not present in the standard Java runtime for the defined target version.
To bypass the checks, define "animal.sniffer.skip" as true, or create the file "src/site/resources/profile.noanimal"
-->
<profile>
<id>animal-sniffer</id>
<activation>
<!-- active unless the file is found -->
<file>
<missing>src/site/resources/profile.noanimal</missing>
</file>
</activation>
<properties>
<!-- define this as a property to allow command-line override -->
<animal-sniffer.signature>java${javaTarget.majorVersion}${javaTarget.minorVersion}</animal-sniffer.signature>
</properties>
<build>
<plugins>
<!-- Run the Animal Sniffer checks -->
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>animal-sniffer-maven-plugin</artifactId>
<version>${hc.animal-sniffer.version}</version>
<executions>
<execution>
<id>checkAPIcompatibility</id>
<!-- binds to the process-classes phase by default -->
<goals>
<goal>check</goal>
</goals>
</execution>
</executions>
<configuration>
<signature>
<groupId>org.codehaus.mojo.signature</groupId>
<artifactId>${animal-sniffer.signature}</artifactId>
<version>${hc.animal-sniffer.signature.version}</version>
</signature>
</configuration>
</plugin>
</plugins>
</build>
</profile>
<profile>
<id>release</id>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-gpg-plugin</artifactId>
</plugin>
</plugins>
</build>
</profile>
<!--
| Profile to allow testing of deploy phase
| e.g.
| mvn deploy -Ptest-deploy -Prelease -Dgpg.skip
-->
<profile>
<id>test-deploy</id>
<properties>
<altDeploymentRepository>id::default::file:target/deploy</altDeploymentRepository>
</properties>
</profile>
<profile>
<id>nodoclint</id>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<configuration>
<additionalparam>-Xdoclint:none</additionalparam>
</configuration>
</plugin>
</plugins>
</build>
</profile>
<profile>
<id>travis-cobertura</id>
<build>
<plugins>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>cobertura-maven-plugin</artifactId>
<version>${hc.cobertura.version}</version>
<configuration>
<formats>
<format>xml</format>
</formats>
</configuration>
</plugin>
<plugin>
<groupId>org.eluder.coveralls</groupId>
<artifactId>coveralls-maven-plugin</artifactId>
<version>${hc.coveralls.version}</version>
<configuration>
<timestampFormat>${hc.coveralls.timestampFormat}</timestampFormat>
</configuration>
</plugin>
</plugins>
</build>
</profile>
<profile>
<id>travis-jacoco</id>
<build>
<plugins>
<plugin>
<groupId>org.jacoco</groupId>
<artifactId>jacoco-maven-plugin</artifactId>
<version>${hc.jacoco.version}</version>
</plugin>
<plugin>
<groupId>org.eluder.coveralls</groupId>
<artifactId>coveralls-maven-plugin</artifactId>
<version>${hc.coveralls.version}</version>
<configuration>
<timestampFormat>${hc.coveralls.timestampFormat}</timestampFormat>
</configuration>
</plugin>
</plugins>
</build>
</profile>
<profile>
<!--
Use toolchains plugin to select compiler version if the toolchains.xml file exists.
To override this behaviour, disable the profile using: -P-use-toolchains
-->
<id>use-toolchains</id>
<activation>
<file>
<exists>${user.home}/.m2/toolchains.xml</exists>
</file>
</activation>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-toolchains-plugin</artifactId>
<version>1.1</version>
<configuration>
<toolchains>
<jdk>
<version>${maven.compiler.source}</version>
</jdk>
</toolchains>
</configuration>
<executions>
<execution>
<goals>
<goal>toolchain</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>
</profiles>
<prerequisites>
<maven>3.0.5</maven>
</prerequisites>
<properties>
<!-- compiler source and target must now be defined at component level -->
<maven.compiler.optimize>true</maven.compiler.optimize>
<maven.compiler.showDeprecation>true</maven.compiler.showDeprecation>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
<hc.site.url>scp://people.apache.org/www/hc.apache.org/</hc.site.url>
<!-- Define versions of all report plugins, because they should match usage in pluginManagement and modules -->
<hc.clirr.version>2.8</hc.clirr.version>
<hc.javadoc.version>3.0.0-M1</hc.javadoc.version>
<hc.jxr.version>2.5</hc.jxr.version>
<hc.surefire-report.version>2.20</hc.surefire-report.version>
<hc.surefire.version>2.20</hc.surefire.version>
<hc.project-info.version>2.9</hc.project-info.version>
<hc.checkstyle.version>2.17</hc.checkstyle.version>
<hc.rat.version>0.12</hc.rat.version>
<hc.animal-sniffer.version>1.16</hc.animal-sniffer.version>
<hc.animal-sniffer.signature.version>1.0</hc.animal-sniffer.signature.version>
<hc.jacoco.version>0.7.9</hc.jacoco.version>
<hc.cobertura.version>2.7</hc.cobertura.version>
<hc.coveralls.version>4.3.0</hc.coveralls.version>
<hc.coveralls.timestampFormat>EpochMillis</hc.coveralls.timestampFormat>
<!-- build meta inf -->
<maven.build.timestamp.format>yyyy-MM-dd HH:mm:ssZ</maven.build.timestamp.format>
<implementation.build>${scmBranch}@r${buildNumber}; ${maven.build.timestamp}</implementation.build>
<!-- Allow Clirr severity to be overriden by the command-line option -DminSeverity=level -->
<minSeverity>info</minSeverity>
</properties>
</project>

@ -1,17 +1,23 @@
%bcond_with bootstrap
Name: httpcomponents-project
Summary: Common POM file for HttpComponents
Version: 9
Release: 2%{?dist}
Version: 12
Release: 7%{?dist}
License: ASL 2.0
URL: http://hc.apache.org/
Source0: http://archive.apache.org/dist/httpcomponents/httpcomponents-parent/9/httpcomponents-parent-9.pom
Source1: http://www.apache.org/licenses/LICENSE-2.0.txt
URL: https://hc.apache.org/
Source0: https://archive.apache.org/dist/httpcomponents/httpcomponents-parent/httpcomponents-parent-%{version}-source-release.zip
Source1: https://www.apache.org/licenses/LICENSE-2.0.txt
BuildArch: noarch
ExclusiveArch: %{java_arches} noarch
%if %{with bootstrap}
BuildRequires: javapackages-bootstrap
%else
BuildRequires: maven-local
BuildRequires: mvn(org.apache:apache:pom:)
BuildRequires: mvn(org.codehaus.mojo:build-helper-maven-plugin)
%endif
%description
Common Maven POM file for HttpComponents. This project should be
@ -19,12 +25,10 @@ required only for building dependant packages with Maven. Please don't
use it as runtime requirement.
%prep
%setup -q -T -c %{name}
%setup -q -n httpcomponents-parent-%{version}
cp -p %{SOURCE0} pom.xml
cp -p %{SOURCE1} .
%pom_remove_plugin :buildnumber-maven-plugin
%pom_remove_plugin :clirr-maven-plugin
%pom_remove_plugin :docbkx-maven-plugin
%pom_remove_plugin :maven-site-plugin
@ -42,9 +46,64 @@ cp -p %{SOURCE1} .
%mvn_install
%files -f .mfiles
%doc LICENSE-2.0.txt
%license LICENSE.txt NOTICE.txt
%changelog
* Thu Jul 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 12-7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
* Sat Feb 05 2022 Jiri Vanek <jvanek@redhat.com> - 12-6
- Rebuilt for java-17-openjdk as system jdk
* Thu Jan 20 2022 Fedora Release Engineering <releng@fedoraproject.org> - 12-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
* Thu Jul 22 2021 Fedora Release Engineering <releng@fedoraproject.org> - 12-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
* Mon May 17 2021 Mikolaj Izdebski <mizdebsk@redhat.com> - 12-3
- Bootstrap build
- Non-bootstrap build
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 12-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
* Sat Oct 24 2020 Fabio Valentini <decathorpe@gmail.com> - 12-1
- Update to version 12.
* Fri Sep 18 2020 Marian Koncek <mkoncek@redhat.com> - 12-1
- Update to upstream version 12
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 11-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
* Fri Jul 10 2020 Jiri Vanek <jvanek@redhat.com> - 11-4
- Rebuilt for JDK-11, see https://fedoraproject.org/wiki/Changes/Java11
* Wed Jan 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 11-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
* Tue Nov 05 2019 Mikolaj Izdebski <mizdebsk@redhat.com> - 11-2
- Mass rebuild for javapackages-tools 201902
* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 11-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
* Wed May 29 2019 Fabio Valentini <decathorpe@gmail.com> - 11-1
- Update to version 11.
* Wed May 29 2019 Marian Koncek <mkoncek@redhat.com> - 11-1
- Update to upstream version 11
* Fri May 24 2019 Mikolaj Izdebski <mizdebsk@redhat.com> - 9-3
- Mass rebuild for javapackages-tools 201901
* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 9-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 9-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 9-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild

@ -0,0 +1,2 @@
SHA512 (httpcomponents-parent-12-source-release.zip) = ba0cc569643439387b1a4912e7199ecaefbf836239bb389d8f0f13d93a078728100e570271eb87b17f1de2d79f295883ff2ad91953578b89b2ea45f158f2d5b1
SHA512 (LICENSE-2.0.txt) = 98f6b79b778f7b0a15415bd750c3a8a097d650511cb4ec8115188e115c47053fe700f578895c097051c9bc3dfb6197c2b13a15de203273e1a3218884f86e90e8
Loading…
Cancel
Save