From 0e2199dff5db50f1a236ce2da277a5b58280f1a3 Mon Sep 17 00:00:00 2001 From: Gang Li Date: Tue, 12 Mar 2024 19:08:57 +0800 Subject: [PATCH] Update license header And: * Disable Jenkins CI * Update web-commons-bom to 29 * Update javaVersion to 11 --- .github/workflows/maven-build.yml | 16 ++++++++++++++++ Jenkinsfile => Jenkinsfile.bak | 0 pom.xml | 12 ++++++------ .../org/commonjava/util/jhttpc/HttpFactory.java | 2 +- .../commonjava/util/jhttpc/HttpFactoryIfc.java | 2 +- .../conn/CloseBlockingConnectionManager.java | 2 +- .../INTERNAL/conn/ConnectionManagerCache.java | 2 +- .../INTERNAL/conn/ConnectionManagerTracker.java | 2 +- .../INTERNAL/conn/SiteConnectionConfig.java | 2 +- .../jhttpc/INTERNAL/conn/TrackedHttpClient.java | 2 +- .../jhttpc/INTERNAL/util/BouncyCastleUtils.java | 2 +- .../jhttpc/INTERNAL/util/CertEnumerator.java | 2 +- .../util/jhttpc/INTERNAL/util/HttpUtils.java | 2 +- .../INTERNAL/util/MonolithicKeyStrategy.java | 2 +- .../util/jhttpc/INTERNAL/util/SSLUtils.java | 2 +- .../commonjava/util/jhttpc/JHttpCException.java | 2 +- .../jhttpc/auth/AttributePasswordManager.java | 2 +- .../util/jhttpc/auth/BasicAuthenticator.java | 2 +- .../util/jhttpc/auth/ClientAuthenticator.java | 2 +- .../util/jhttpc/auth/MemoryPasswordManager.java | 2 +- .../auth/OAuth20BearerTokenAuthenticator.java | 2 +- .../commonjava/util/jhttpc/auth/PasswordKey.java | 2 +- .../util/jhttpc/auth/PasswordManager.java | 2 +- .../util/jhttpc/auth/PasswordType.java | 2 +- .../util/jhttpc/lifecycle/ShutdownEnabled.java | 2 +- .../commonjava/util/jhttpc/model/SiteConfig.java | 2 +- .../util/jhttpc/model/SiteConfigBuilder.java | 2 +- .../util/jhttpc/model/SiteTrustType.java | 2 +- .../commonjava/util/jhttpc/util/UrlUtils.java | 2 +- .../commonjava/util/jhttpc/it/AbstractIT.java | 2 +- .../util/jhttpc/it/AbstractSSLTestsIT.java | 2 +- .../jhttpc/it/inter/IntermediateSignedIT.java | 2 +- .../util/jhttpc/it/root/RootSignedIT.java | 2 +- .../util/jhttpc/it/self/SelfSignedIT.java | 2 +- .../util/jhttpc/unit/HttpFactoryTest.java | 2 +- .../jhttpc/unit/ResourceCleanupLoadTest.java | 2 +- 36 files changed, 55 insertions(+), 39 deletions(-) rename Jenkinsfile => Jenkinsfile.bak (100%) diff --git a/.github/workflows/maven-build.yml b/.github/workflows/maven-build.yml index 6187f36..3c3e80d 100644 --- a/.github/workflows/maven-build.yml +++ b/.github/workflows/maven-build.yml @@ -1,3 +1,19 @@ +# +# Copyright (C) 2015-2024 Red Hat, Inc. (https://github.com/Commonjava/jhttpc) +# +# 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. +# + name: build on maven on: diff --git a/Jenkinsfile b/Jenkinsfile.bak similarity index 100% rename from Jenkinsfile rename to Jenkinsfile.bak diff --git a/pom.xml b/pom.xml index e6702a2..838cff9 100644 --- a/pom.xml +++ b/pom.xml @@ -1,6 +1,6 @@