From 94105acf7a5cf18c1134a6ecf48ea1206b264534 Mon Sep 17 00:00:00 2001 From: "James R. Perkins" Date: Thu, 31 Oct 2024 11:45:52 -0700 Subject: [PATCH] Use the download-maven-plugin for downloading the core profile TCK's. This allows validating expected SHA. Signed-off-by: James R. Perkins --- core-profile/tck-setup/pom.xml | 140 +++++++++++++++++++++++---------- 1 file changed, 98 insertions(+), 42 deletions(-) diff --git a/core-profile/tck-setup/pom.xml b/core-profile/tck-setup/pom.xml index d32a4b2..27254a6 100644 --- a/core-profile/tck-setup/pom.xml +++ b/core-profile/tck-setup/pom.xml @@ -28,6 +28,103 @@ + + com.googlecode.maven-download-plugin + download-maven-plugin + 1.11.2 + + true + ${tck.dir} + + + + download-core-profile-tck + initialize + + wget + + + + + https://eclipse.mirror.rafal.ca/ee4j/jakartaee-tck/jakartaee${version.jakarta.platform.core.profile.tck.version.short}/staged/eftl/jakarta-core-profile-tck-${version.jakarta.platform.core.profile.tck.version}.zip + jakarta-core-profile-tck-${version.jakarta.platform.core.profile.tck.version}.zip + 5722bac4f1af78e93ede95feaa448aa0bc19934d0871415c25dd45ffa8c5d1a5 + + + + download-jakarta-annotations-tck + initialize + + wget + + + https://download.eclipse.org/jakartaee/annotations/${version.jakarta.annotations.tck.short}/jakarta-annotations-tck-${version.jakarta.annotations.tck}.zip + jakarta-annotations-tck-${version.jakarta.annotations.tck}.zip + 9421c6ca66274d32dfb408848f75a42d57f120599fe0d8403c5c5c1141d5ac4d + + + + download-jakarta-cdi-tck + initialize + + wget + + + https://download.eclipse.org/jakartaee/cdi/${version.jakarta.cdi.short}/cdi-tck-${version.jakarta.cdi.tck}-dist.zip + cdi-tck-${version.jakarta.cdi.tck}-dist.zip + 446029ee1ce694d2a9ae8893d16be7afd7e1c0ed8705064b7095af174cf97ea0 + + + + download-jakarta-inject-tck + initialize + + wget + + + https://download.eclipse.org/jakartaee/dependency-injection/${version.jakarta.inject.tck.short}/jakarta.inject-tck-${version.jakarta.inject.tck}-bin.zip + jakarta.inject-tck-${version.jakarta.inject.tck}-bin.zip + 23bce4317ca061c3de648566cdf65c74b57e1264d6891f366567955d6b834972 + + + + download-jakarta-json-binding-tck + initialize + + wget + + + https://download.eclipse.org/jakartaee/jsonb/${version.jakarta.json.binding.tck.short}/jakarta-jsonb-tck-${version.jakarta.json.binding.tck}.zip + jakarta-jsonb-tck-${version.jakarta.json.binding.tck}.zip + 954fd9a3a67059ddeabe5f51462a6a3b542c94fc798094dd8c312a6a28ef2d0b + + + + download-jakarta-json-processing-tck + initialize + + wget + + + https://download.eclipse.org/jakartaee/jsonp/${version.jakarta.json.tck.short}/jakarta-jsonp-tck-${version.jakarta.json.tck}.zip + jakarta-jsonp-tck-${version.jakarta.json.tck}.zip + 949f203de84deffa8c7892b555918e42f1dd220ccb7b6800741ea58af62737c1 + + + + download-jakarta-rest-tck + initialize + + wget + + + https://download.eclipse.org/jakartaee/restful-ws/${version.jakarta.ws.rs.tck.short}/jakarta-restful-ws-tck-${version.jakarta.ws.rs.tck}.zip + jakarta-restful-ws-tck-${version.jakarta.ws.rs.tck}.zip + b6290c1b5b3d2fdd9cc700a999243492a7e27b94a9b6af1974ff4dc5bfbf98f2 + + + + org.apache.maven.plugins maven-antrun-plugin @@ -44,47 +141,6 @@ - - - - - - - - - - - - - - - - - @@ -216,7 +272,7 @@ jakarta-restful-ws-tck ${version.jakarta.ws.rs.tck} jar - ${tck.dir}/rest-tck/restful-ws-tck/artifacts/jakarta-restful-ws-tck-${version.jakarta.ws.rs.tck}.jar + ${tck.dir}/restful-ws-tck/artifacts/jakarta-restful-ws-tck-${version.jakarta.ws.rs.tck}.jar true