From bf201be0beb284707db0f500e5850be56f966b15 Mon Sep 17 00:00:00 2001 From: Matthias Sohn Date: Fri, 14 Apr 2023 18:12:42 +0200 Subject: [PATCH] Use bouncycastle libraries directly from Maven Central and update - org.bouncycastle:bcpg-jdk18on to 1.72.2 Bug: 581767 Change-Id: Id213e84d56c171c98b1919a7044e2779a3d777df --- WORKSPACE | 6 +-- .../org.eclipse.jgit.repository/category.xml | 16 ++++---- .../org.eclipse.jgit.target/jgit-4.17.target | 38 ++++++++++++++----- .../org.eclipse.jgit.target/jgit-4.17.tpd | 1 + .../org.eclipse.jgit.target/jgit-4.18.target | 38 ++++++++++++++----- .../org.eclipse.jgit.target/jgit-4.18.tpd | 1 + .../org.eclipse.jgit.target/jgit-4.19.target | 38 ++++++++++++++----- .../org.eclipse.jgit.target/jgit-4.19.tpd | 1 + .../org.eclipse.jgit.target/jgit-4.20.target | 38 ++++++++++++++----- .../org.eclipse.jgit.target/jgit-4.20.tpd | 1 + .../org.eclipse.jgit.target/jgit-4.21.target | 38 ++++++++++++++----- .../org.eclipse.jgit.target/jgit-4.21.tpd | 1 + .../org.eclipse.jgit.target/jgit-4.22.target | 38 ++++++++++++++----- .../org.eclipse.jgit.target/jgit-4.22.tpd | 1 + .../org.eclipse.jgit.target/jgit-4.23.target | 38 ++++++++++++++----- .../org.eclipse.jgit.target/jgit-4.23.tpd | 1 + .../org.eclipse.jgit.target/jgit-4.24.target | 38 ++++++++++++++----- .../org.eclipse.jgit.target/jgit-4.24.tpd | 1 + .../org.eclipse.jgit.target/jgit-4.25.target | 38 ++++++++++++++----- .../org.eclipse.jgit.target/jgit-4.25.tpd | 1 + .../org.eclipse.jgit.target/jgit-4.26.target | 38 ++++++++++++++----- .../org.eclipse.jgit.target/jgit-4.26.tpd | 1 + .../maven/dependencies.tpd | 29 ++++++++++++++ .../orbit/R20230302014618-2023-03.tpd | 8 ---- pom.xml | 2 +- 25 files changed, 341 insertions(+), 110 deletions(-) create mode 100644 org.eclipse.jgit.packaging/org.eclipse.jgit.target/maven/dependencies.tpd diff --git a/WORKSPACE b/WORKSPACE index 8e7b81cb2..7adab2b5d 100644 --- a/WORKSPACE +++ b/WORKSPACE @@ -269,9 +269,9 @@ BOUNCYCASTLE_VER = "1.72" maven_jar( name = "bcpg", - artifact = "org.bouncycastle:bcpg-jdk18on:" + BOUNCYCASTLE_VER, - sha1 = "1a36a1740d07869161f6f0d01fae8d72dd1d8320", - src_sha1 = "fe19ed35a28b345d00459de55cd20ad9e1385a4f", + artifact = "org.bouncycastle:bcpg-jdk18on:" + 1.72.2, + sha1 = "ef29db0e82cf1ee99ddf5d772e810c1beb2d70f1", + src_sha1 = "72936958f07df15946f4eb6cd2ae558d8d24ed1c", ) maven_jar( diff --git a/org.eclipse.jgit.packaging/org.eclipse.jgit.repository/category.xml b/org.eclipse.jgit.packaging/org.eclipse.jgit.repository/category.xml index 7fa2b837e..3e4ce59ec 100644 --- a/org.eclipse.jgit.packaging/org.eclipse.jgit.repository/category.xml +++ b/org.eclipse.jgit.packaging/org.eclipse.jgit.repository/category.xml @@ -177,28 +177,28 @@ - + - + - + - + - + - + - + - + diff --git a/org.eclipse.jgit.packaging/org.eclipse.jgit.target/jgit-4.17.target b/org.eclipse.jgit.packaging/org.eclipse.jgit.target/jgit-4.17.target index b4ad428ef..e15d9b756 100644 --- a/org.eclipse.jgit.packaging/org.eclipse.jgit.target/jgit-4.17.target +++ b/org.eclipse.jgit.packaging/org.eclipse.jgit.target/jgit-4.17.target @@ -1,7 +1,7 @@ - + @@ -55,14 +55,6 @@ - - - - - - - - @@ -89,5 +81,33 @@ + + + + org.bouncycastle + bcpg-jdk18on + 1.72.2 + jar + + + org.bouncycastle + bcprov-jdk18on + 1.72 + jar + + + org.bouncycastle + bcpkix-jdk18on + 1.72 + jar + + + org.bouncycastle + bcutil-jdk18on + 1.72 + jar + + + diff --git a/org.eclipse.jgit.packaging/org.eclipse.jgit.target/jgit-4.17.tpd b/org.eclipse.jgit.packaging/org.eclipse.jgit.target/jgit-4.17.tpd index cf00c96a6..1038f277c 100644 --- a/org.eclipse.jgit.packaging/org.eclipse.jgit.target/jgit-4.17.tpd +++ b/org.eclipse.jgit.packaging/org.eclipse.jgit.target/jgit-4.17.tpd @@ -2,6 +2,7 @@ target "jgit-4.17" with source configurePhase include "projects/jetty-10.0.x.tpd" include "orbit/R20230302014618-2023-03.tpd" +include "maven/dependencies.tpd" location "https://download.eclipse.org/releases/2020-09/" { org.eclipse.osgi lazy diff --git a/org.eclipse.jgit.packaging/org.eclipse.jgit.target/jgit-4.18.target b/org.eclipse.jgit.packaging/org.eclipse.jgit.target/jgit-4.18.target index 9ad44d811..89f4fb3c5 100644 --- a/org.eclipse.jgit.packaging/org.eclipse.jgit.target/jgit-4.18.target +++ b/org.eclipse.jgit.packaging/org.eclipse.jgit.target/jgit-4.18.target @@ -1,7 +1,7 @@ - + @@ -55,14 +55,6 @@ - - - - - - - - @@ -89,5 +81,33 @@ + + + + org.bouncycastle + bcpg-jdk18on + 1.72.2 + jar + + + org.bouncycastle + bcprov-jdk18on + 1.72 + jar + + + org.bouncycastle + bcpkix-jdk18on + 1.72 + jar + + + org.bouncycastle + bcutil-jdk18on + 1.72 + jar + + + diff --git a/org.eclipse.jgit.packaging/org.eclipse.jgit.target/jgit-4.18.tpd b/org.eclipse.jgit.packaging/org.eclipse.jgit.target/jgit-4.18.tpd index 325b6de84..2bd7eb7c7 100644 --- a/org.eclipse.jgit.packaging/org.eclipse.jgit.target/jgit-4.18.tpd +++ b/org.eclipse.jgit.packaging/org.eclipse.jgit.target/jgit-4.18.tpd @@ -2,6 +2,7 @@ target "jgit-4.18" with source configurePhase include "projects/jetty-10.0.x.tpd" include "orbit/R20230302014618-2023-03.tpd" +include "maven/dependencies.tpd" location "https://download.eclipse.org/releases/2020-12/" { org.eclipse.osgi lazy diff --git a/org.eclipse.jgit.packaging/org.eclipse.jgit.target/jgit-4.19.target b/org.eclipse.jgit.packaging/org.eclipse.jgit.target/jgit-4.19.target index e570bf9a5..52839196a 100644 --- a/org.eclipse.jgit.packaging/org.eclipse.jgit.target/jgit-4.19.target +++ b/org.eclipse.jgit.packaging/org.eclipse.jgit.target/jgit-4.19.target @@ -1,7 +1,7 @@ - + @@ -55,14 +55,6 @@ - - - - - - - - @@ -89,5 +81,33 @@ + + + + org.bouncycastle + bcpg-jdk18on + 1.72.2 + jar + + + org.bouncycastle + bcprov-jdk18on + 1.72 + jar + + + org.bouncycastle + bcpkix-jdk18on + 1.72 + jar + + + org.bouncycastle + bcutil-jdk18on + 1.72 + jar + + + diff --git a/org.eclipse.jgit.packaging/org.eclipse.jgit.target/jgit-4.19.tpd b/org.eclipse.jgit.packaging/org.eclipse.jgit.target/jgit-4.19.tpd index 08f391028..e5528241a 100644 --- a/org.eclipse.jgit.packaging/org.eclipse.jgit.target/jgit-4.19.tpd +++ b/org.eclipse.jgit.packaging/org.eclipse.jgit.target/jgit-4.19.tpd @@ -2,6 +2,7 @@ target "jgit-4.19-staging" with source configurePhase include "projects/jetty-10.0.x.tpd" include "orbit/R20230302014618-2023-03.tpd" +include "maven/dependencies.tpd" location "https://download.eclipse.org/releases/2021-03/" { org.eclipse.osgi lazy diff --git a/org.eclipse.jgit.packaging/org.eclipse.jgit.target/jgit-4.20.target b/org.eclipse.jgit.packaging/org.eclipse.jgit.target/jgit-4.20.target index a3f7c2b63..2ddc2f51a 100644 --- a/org.eclipse.jgit.packaging/org.eclipse.jgit.target/jgit-4.20.target +++ b/org.eclipse.jgit.packaging/org.eclipse.jgit.target/jgit-4.20.target @@ -1,7 +1,7 @@ - + @@ -55,14 +55,6 @@ - - - - - - - - @@ -89,5 +81,33 @@ + + + + org.bouncycastle + bcpg-jdk18on + 1.72.2 + jar + + + org.bouncycastle + bcprov-jdk18on + 1.72 + jar + + + org.bouncycastle + bcpkix-jdk18on + 1.72 + jar + + + org.bouncycastle + bcutil-jdk18on + 1.72 + jar + + + diff --git a/org.eclipse.jgit.packaging/org.eclipse.jgit.target/jgit-4.20.tpd b/org.eclipse.jgit.packaging/org.eclipse.jgit.target/jgit-4.20.tpd index 07f8ab5d8..b915cd191 100644 --- a/org.eclipse.jgit.packaging/org.eclipse.jgit.target/jgit-4.20.tpd +++ b/org.eclipse.jgit.packaging/org.eclipse.jgit.target/jgit-4.20.tpd @@ -2,6 +2,7 @@ target "jgit-4.20" with source configurePhase include "projects/jetty-10.0.x.tpd" include "orbit/R20230302014618-2023-03.tpd" +include "maven/dependencies.tpd" location "https://download.eclipse.org/releases/2021-06/" { org.eclipse.osgi lazy diff --git a/org.eclipse.jgit.packaging/org.eclipse.jgit.target/jgit-4.21.target b/org.eclipse.jgit.packaging/org.eclipse.jgit.target/jgit-4.21.target index 908087fe6..c67a3b931 100644 --- a/org.eclipse.jgit.packaging/org.eclipse.jgit.target/jgit-4.21.target +++ b/org.eclipse.jgit.packaging/org.eclipse.jgit.target/jgit-4.21.target @@ -1,7 +1,7 @@ - + @@ -55,14 +55,6 @@ - - - - - - - - @@ -89,5 +81,33 @@ + + + + org.bouncycastle + bcpg-jdk18on + 1.72.2 + jar + + + org.bouncycastle + bcprov-jdk18on + 1.72 + jar + + + org.bouncycastle + bcpkix-jdk18on + 1.72 + jar + + + org.bouncycastle + bcutil-jdk18on + 1.72 + jar + + + diff --git a/org.eclipse.jgit.packaging/org.eclipse.jgit.target/jgit-4.21.tpd b/org.eclipse.jgit.packaging/org.eclipse.jgit.target/jgit-4.21.tpd index c957b85ff..179efb7e2 100644 --- a/org.eclipse.jgit.packaging/org.eclipse.jgit.target/jgit-4.21.tpd +++ b/org.eclipse.jgit.packaging/org.eclipse.jgit.target/jgit-4.21.tpd @@ -2,6 +2,7 @@ target "jgit-4.21" with source configurePhase include "projects/jetty-10.0.x.tpd" include "orbit/R20230302014618-2023-03.tpd" +include "maven/dependencies.tpd" location "https://download.eclipse.org/releases/2021-09/" { org.eclipse.osgi lazy diff --git a/org.eclipse.jgit.packaging/org.eclipse.jgit.target/jgit-4.22.target b/org.eclipse.jgit.packaging/org.eclipse.jgit.target/jgit-4.22.target index b07928441..636f58aa0 100644 --- a/org.eclipse.jgit.packaging/org.eclipse.jgit.target/jgit-4.22.target +++ b/org.eclipse.jgit.packaging/org.eclipse.jgit.target/jgit-4.22.target @@ -1,7 +1,7 @@ - + @@ -55,14 +55,6 @@ - - - - - - - - @@ -89,5 +81,33 @@ + + + + org.bouncycastle + bcpg-jdk18on + 1.72.2 + jar + + + org.bouncycastle + bcprov-jdk18on + 1.72 + jar + + + org.bouncycastle + bcpkix-jdk18on + 1.72 + jar + + + org.bouncycastle + bcutil-jdk18on + 1.72 + jar + + + diff --git a/org.eclipse.jgit.packaging/org.eclipse.jgit.target/jgit-4.22.tpd b/org.eclipse.jgit.packaging/org.eclipse.jgit.target/jgit-4.22.tpd index 61a16da2a..fe6cfb7d6 100644 --- a/org.eclipse.jgit.packaging/org.eclipse.jgit.target/jgit-4.22.tpd +++ b/org.eclipse.jgit.packaging/org.eclipse.jgit.target/jgit-4.22.tpd @@ -2,6 +2,7 @@ target "jgit-4.22" with source configurePhase include "projects/jetty-10.0.x.tpd" include "orbit/R20230302014618-2023-03.tpd" +include "maven/dependencies.tpd" location "https://download.eclipse.org/releases/2021-12/" { org.eclipse.osgi lazy diff --git a/org.eclipse.jgit.packaging/org.eclipse.jgit.target/jgit-4.23.target b/org.eclipse.jgit.packaging/org.eclipse.jgit.target/jgit-4.23.target index e85e43d50..cf677f79a 100644 --- a/org.eclipse.jgit.packaging/org.eclipse.jgit.target/jgit-4.23.target +++ b/org.eclipse.jgit.packaging/org.eclipse.jgit.target/jgit-4.23.target @@ -1,7 +1,7 @@ - + @@ -55,14 +55,6 @@ - - - - - - - - @@ -89,5 +81,33 @@ + + + + org.bouncycastle + bcpg-jdk18on + 1.72.2 + jar + + + org.bouncycastle + bcprov-jdk18on + 1.72 + jar + + + org.bouncycastle + bcpkix-jdk18on + 1.72 + jar + + + org.bouncycastle + bcutil-jdk18on + 1.72 + jar + + + diff --git a/org.eclipse.jgit.packaging/org.eclipse.jgit.target/jgit-4.23.tpd b/org.eclipse.jgit.packaging/org.eclipse.jgit.target/jgit-4.23.tpd index fde3bb65e..d7c2d5ff1 100644 --- a/org.eclipse.jgit.packaging/org.eclipse.jgit.target/jgit-4.23.tpd +++ b/org.eclipse.jgit.packaging/org.eclipse.jgit.target/jgit-4.23.tpd @@ -2,6 +2,7 @@ target "jgit-4.23" with source configurePhase include "projects/jetty-10.0.x.tpd" include "orbit/R20230302014618-2023-03.tpd" +include "maven/dependencies.tpd" location "https://download.eclipse.org/releases/2022-03/" { org.eclipse.osgi lazy diff --git a/org.eclipse.jgit.packaging/org.eclipse.jgit.target/jgit-4.24.target b/org.eclipse.jgit.packaging/org.eclipse.jgit.target/jgit-4.24.target index 51d8fd599..5d851fa77 100644 --- a/org.eclipse.jgit.packaging/org.eclipse.jgit.target/jgit-4.24.target +++ b/org.eclipse.jgit.packaging/org.eclipse.jgit.target/jgit-4.24.target @@ -1,7 +1,7 @@ - + @@ -55,14 +55,6 @@ - - - - - - - - @@ -89,5 +81,33 @@ + + + + org.bouncycastle + bcpg-jdk18on + 1.72.2 + jar + + + org.bouncycastle + bcprov-jdk18on + 1.72 + jar + + + org.bouncycastle + bcpkix-jdk18on + 1.72 + jar + + + org.bouncycastle + bcutil-jdk18on + 1.72 + jar + + + diff --git a/org.eclipse.jgit.packaging/org.eclipse.jgit.target/jgit-4.24.tpd b/org.eclipse.jgit.packaging/org.eclipse.jgit.target/jgit-4.24.tpd index 6c480c3ca..d8815ddef 100644 --- a/org.eclipse.jgit.packaging/org.eclipse.jgit.target/jgit-4.24.tpd +++ b/org.eclipse.jgit.packaging/org.eclipse.jgit.target/jgit-4.24.tpd @@ -2,6 +2,7 @@ target "jgit-4.24" with source configurePhase include "projects/jetty-10.0.x.tpd" include "orbit/R20230302014618-2023-03.tpd" +include "maven/dependencies.tpd" location "https://download.eclipse.org/releases/2022-06/" { org.eclipse.osgi lazy diff --git a/org.eclipse.jgit.packaging/org.eclipse.jgit.target/jgit-4.25.target b/org.eclipse.jgit.packaging/org.eclipse.jgit.target/jgit-4.25.target index b7260bffb..db5de4284 100644 --- a/org.eclipse.jgit.packaging/org.eclipse.jgit.target/jgit-4.25.target +++ b/org.eclipse.jgit.packaging/org.eclipse.jgit.target/jgit-4.25.target @@ -1,7 +1,7 @@ - + @@ -55,14 +55,6 @@ - - - - - - - - @@ -89,5 +81,33 @@ + + + + org.bouncycastle + bcpg-jdk18on + 1.72.2 + jar + + + org.bouncycastle + bcprov-jdk18on + 1.72 + jar + + + org.bouncycastle + bcpkix-jdk18on + 1.72 + jar + + + org.bouncycastle + bcutil-jdk18on + 1.72 + jar + + + diff --git a/org.eclipse.jgit.packaging/org.eclipse.jgit.target/jgit-4.25.tpd b/org.eclipse.jgit.packaging/org.eclipse.jgit.target/jgit-4.25.tpd index 4542b1325..6f7210798 100644 --- a/org.eclipse.jgit.packaging/org.eclipse.jgit.target/jgit-4.25.tpd +++ b/org.eclipse.jgit.packaging/org.eclipse.jgit.target/jgit-4.25.tpd @@ -2,6 +2,7 @@ target "jgit-4.25" with source configurePhase include "projects/jetty-10.0.x.tpd" include "orbit/R20230302014618-2023-03.tpd" +include "maven/dependencies.tpd" location "https://download.eclipse.org/releases/2022-09/" { org.eclipse.osgi lazy diff --git a/org.eclipse.jgit.packaging/org.eclipse.jgit.target/jgit-4.26.target b/org.eclipse.jgit.packaging/org.eclipse.jgit.target/jgit-4.26.target index 57c9d0d41..6b57652a2 100644 --- a/org.eclipse.jgit.packaging/org.eclipse.jgit.target/jgit-4.26.target +++ b/org.eclipse.jgit.packaging/org.eclipse.jgit.target/jgit-4.26.target @@ -1,7 +1,7 @@ - + @@ -55,14 +55,6 @@ - - - - - - - - @@ -89,5 +81,33 @@ + + + + org.bouncycastle + bcpg-jdk18on + 1.72.2 + jar + + + org.bouncycastle + bcprov-jdk18on + 1.72 + jar + + + org.bouncycastle + bcpkix-jdk18on + 1.72 + jar + + + org.bouncycastle + bcutil-jdk18on + 1.72 + jar + + + diff --git a/org.eclipse.jgit.packaging/org.eclipse.jgit.target/jgit-4.26.tpd b/org.eclipse.jgit.packaging/org.eclipse.jgit.target/jgit-4.26.tpd index 25a223ab6..d80e5bf8e 100644 --- a/org.eclipse.jgit.packaging/org.eclipse.jgit.target/jgit-4.26.tpd +++ b/org.eclipse.jgit.packaging/org.eclipse.jgit.target/jgit-4.26.tpd @@ -2,6 +2,7 @@ target "jgit-4.26" with source configurePhase include "projects/jetty-10.0.x.tpd" include "orbit/R20230302014618-2023-03.tpd" +include "maven/dependencies.tpd" location "https://download.eclipse.org/releases/2022-12/" { org.eclipse.osgi lazy diff --git a/org.eclipse.jgit.packaging/org.eclipse.jgit.target/maven/dependencies.tpd b/org.eclipse.jgit.packaging/org.eclipse.jgit.target/maven/dependencies.tpd new file mode 100644 index 000000000..9f2220fd9 --- /dev/null +++ b/org.eclipse.jgit.packaging/org.eclipse.jgit.target/maven/dependencies.tpd @@ -0,0 +1,29 @@ +target "dependencies" + +maven bouncycastle + scope = compile + dependencyDepth = none + missingManifest = error + includeSources +{ + dependency { + groupId = "org.bouncycastle" + artifactId = "bcpg-jdk18on" + version = "1.72.2" + } + dependency { + groupId = "org.bouncycastle" + artifactId = "bcprov-jdk18on" + version = "1.72" + } + dependency { + groupId = "org.bouncycastle" + artifactId = "bcpkix-jdk18on" + version = "1.72" + } + dependency { + groupId = "org.bouncycastle" + artifactId = "bcutil-jdk18on" + version = "1.72" + } +} diff --git a/org.eclipse.jgit.packaging/org.eclipse.jgit.target/orbit/R20230302014618-2023-03.tpd b/org.eclipse.jgit.packaging/org.eclipse.jgit.target/orbit/R20230302014618-2023-03.tpd index ad29378af..3712d0af0 100644 --- a/org.eclipse.jgit.packaging/org.eclipse.jgit.target/orbit/R20230302014618-2023-03.tpd +++ b/org.eclipse.jgit.packaging/org.eclipse.jgit.target/orbit/R20230302014618-2023-03.tpd @@ -38,14 +38,6 @@ location "https://download.eclipse.org/tools/orbit/downloads/drops/R202303020146 org.apache.sshd.sftp.source [2.9.2.v20221117-1942,2.9.2.v20221117-1942] org.assertj [3.20.2.v20210706-1104,3.20.2.v20210706-1104] org.assertj.source [3.20.2.v20210706-1104,3.20.2.v20210706-1104] - org.bouncycastle.bcpg [1.72.0.v20221013-1810,1.72.0.v20221013-1810] - org.bouncycastle.bcpg.source [1.72.0.v20221013-1810,1.72.0.v20221013-1810] - org.bouncycastle.bcpkix [1.72.0.v20221013-1810,1.72.0.v20221013-1810] - org.bouncycastle.bcpkix.source [1.72.0.v20221013-1810,1.72.0.v20221013-1810] - org.bouncycastle.bcprov [1.72.0.v20221013-1810,1.72.0.v20221013-1810] - org.bouncycastle.bcprov.source [1.72.0.v20221013-1810,1.72.0.v20221013-1810] - org.bouncycastle.bcutil [1.72.0.v20221013-1810,1.72.0.v20221013-1810] - org.bouncycastle.bcutil.source [1.72.0.v20221013-1810,1.72.0.v20221013-1810] org.hamcrest [2.2.0.v20210711-0821,2.2.0.v20210711-0821] org.hamcrest.source [2.2.0.v20210711-0821,2.2.0.v20210711-0821] org.hamcrest.core [1.3.0.v20180420-1519,1.3.0.v20180420-1519] diff --git a/pom.xml b/pom.xml index e4f7cc623..d2004f5ef 100644 --- a/pom.xml +++ b/pom.xml @@ -762,7 +762,7 @@ org.bouncycastle bcpg-jdk18on - ${bouncycastle-version} + 1.72.2