From afa6230c9077fe2ff5efdea61919bf6c589376ab Mon Sep 17 00:00:00 2001 From: Norman Maurer Date: Tue, 18 May 2021 18:54:34 +0200 Subject: [PATCH] Correctly cleanup jars created during shading tests (#11276) Motivation: We need to ensure we correctly cleanup all the jars that are build for the integration tests that verify shading otherwise we may deploy these during release. Modifications: Correctly remove all the generated jars Result: Not deploy the jars by mistake --- testsuite-shading/pom.xml | 62 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 62 insertions(+) diff --git a/testsuite-shading/pom.xml b/testsuite-shading/pom.xml index 349481dc32..0f11f2b5e1 100644 --- a/testsuite-shading/pom.xml +++ b/testsuite-shading/pom.xml @@ -260,6 +260,37 @@ + + maven-clean-plugin + + + auto-clean + initialize + + clean + + + + clean-jar + package + + clean + + + true + + + ${project.build.directory} + + ${jarName} + original-${jarName} + + + + + + + @@ -403,6 +434,37 @@ + + maven-clean-plugin + + + auto-clean + initialize + + clean + + + + clean-jar + package + + clean + + + true + + + ${project.build.directory} + + ${jarName} + original-${jarName} + + + + + + +