From d736fc8d9d25f668478581f7067b582574d570e9 Mon Sep 17 00:00:00 2001 From: Jason Katonica <122893202+jasonkatonica@users.noreply.github.com> Date: Fri, 23 Aug 2024 14:00:29 -0400 Subject: [PATCH] Add maven dependency (#591) * Add maven dependency This update adds maven as a dependency to build and test the OpenJCEPlus project. As part of this effort other dependencies that were used in the past for this project have been removed. Signed-off-by: Jason Katonica * Update maven to version 3.9.8 * Fixes related to SHA512 usage for hash * Add txt extension to filename * Dont use .txt extension on file * Simply use SHA1 hash --------- Signed-off-by: Jason Katonica --- scripts/getDependencies.pl | 53 +++----------------------------------- 1 file changed, 4 insertions(+), 49 deletions(-) diff --git a/scripts/getDependencies.pl b/scripts/getDependencies.pl index 37225fb1..d1023dc8 100644 --- a/scripts/getDependencies.pl +++ b/scripts/getDependencies.pl @@ -184,55 +184,10 @@ fname => 'jcstress-tests-all-20240222.jar', sha1 => '200da75e67689e8a604ec6fe9a6f55b2c000b6ce' }, - hamcrest_core => { - url => 'https://repo1.maven.org/maven2/org/hamcrest/hamcrest-core/1.3/hamcrest-core-1.3.jar', - fname => 'hamcrest-core.jar', - sha1 => '42a25dc3219429f0e5d060061f71acb49bf010a0' - }, - bcprov_jdk18on => { - url => 'https://repo1.maven.org/maven2/org/bouncycastle/bcprov-jdk18on/1.78.1/bcprov-jdk18on-1.78.1.jar', - fname => 'bcprov-jdk18on.jar', - sha1 => '39e9e45359e20998eb79c1828751f94a818d25f8' - }, - bcpkix_jdk18on => { - url => 'https://repo1.maven.org/maven2/org/bouncycastle/bcpkix-jdk18on/1.78.1/bcpkix-jdk18on-1.78.1.jar', - fname => 'bcpkix-jdk18on.jar', - sha1 => '17b3541f736df97465f87d9f5b5dfa4991b37bb3' - }, - bcprov_ext_jdk18on => { - url => 'https://repo1.maven.org/maven2/org/bouncycastle/bcprov-ext-jdk18on/1.78/bcprov-ext-jdk18on-1.78.jar', - fname => 'bcprov-ext-jdk18on.jar', - sha1 => 'ce389d6dee236dbf6aea7fb139e2745381c18882' - }, - junit_vintage_engine => { - url => 'https://repo1.maven.org/maven2/org/junit/vintage/junit-vintage-engine/5.10.2/junit-vintage-engine-5.10.2.jar', - fname => 'junit-vintage-engine.jar', - sha1 => '2905387f99f86a6618d1f7c005e7a5946224f317' - }, - junit_platform_suite => { - url => 'https://repo1.maven.org/maven2/org/junit/platform/junit-platform-suite/1.10.1/junit-platform-suite-1.10.1.jar', - fname => 'junit-platform-suite.jar', - sha1 => 'a219dbd79ec2b1fc61b806554fcf4eb5c17a6d1d' - }, - junit_jupiter_api => { - url => 'https://repo1.maven.org/maven2/org/junit/jupiter/junit-jupiter-api/5.10.2/junit-jupiter-api-5.10.2.jar', - fname => 'junit-jupiter-api.jar', - sha1 => 'fb55d6e2bce173f35fd28422e7975539621055ef' - }, - junit_jupiter_engine => { - url => 'https://repo1.maven.org/maven2/org/junit/jupiter/junit-jupiter-engine/5.10.2/junit-jupiter-engine-5.10.2.jar', - fname => 'junit-jupiter-engine.jar', - sha1 => 'f1f8fe97bd58e85569205f071274d459c2c4f8cd' - }, - junit_jupiter_params => { - url => 'https://repo1.maven.org/maven2/org/junit/jupiter/junit-jupiter-params/5.10.2/junit-jupiter-params-5.10.2.jar', - fname => 'junit-jupiter-params.jar', - sha1 => '359132c82a9d3fa87a325db6edd33b5fdc67a3d8' - }, - junit_platform_suite_api => { - url => 'https://repo1.maven.org/maven2/org/junit/platform/junit-platform-suite-api/1.10.2/junit-platform-suite-api-1.10.2.jar', - fname => 'junit-platform-suite-api.jar', - sha1 => '174bba1574c37352b0eb2c06e02b6403738ad57c' + maven => { + url => 'https://dlcdn.apache.org/maven/maven-3/3.9.8/binaries/apache-maven-3.9.8-bin.tar.gz', + fname => 'apache-maven-bin.tar.gz', + sha1 => '7f15c63c129f036dd5c96b1a591ed8d888f75617' }); my %system_jars = (