From 350fd271440fa192c07dc741acf1e629cef50660 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 c550eaf4307..fb7dc3a5dcd 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} + + + + + + +