From b4ea4a70028626404f63273853c43dfebc7f6a9f Mon Sep 17 00:00:00 2001 From: Jeremy Landis Date: Sat, 25 Feb 2023 16:15:31 -0500 Subject: [PATCH] [tests] Add integration test to check file open issues per #517 Test simply runs through clean at end to ensure files not still open. Using 4.7.3.0, I can repeat the reported issue. The issue is gone in 4.7.3.1 and likely related to the auxpath issue. --- src/it/verify-clean/invoker.properties | 4 ++ src/it/verify-clean/pom.xml | 59 ++++++++++++++++++++++++++ 2 files changed, 63 insertions(+) create mode 100644 src/it/verify-clean/invoker.properties create mode 100644 src/it/verify-clean/pom.xml diff --git a/src/it/verify-clean/invoker.properties b/src/it/verify-clean/invoker.properties new file mode 100644 index 000000000..32ee7246c --- /dev/null +++ b/src/it/verify-clean/invoker.properties @@ -0,0 +1,4 @@ +invoker.goals = clean verify package clean + +# The expected result of the build, possible values are "success" (default) and "failure" +invoker.buildResult = success diff --git a/src/it/verify-clean/pom.xml b/src/it/verify-clean/pom.xml new file mode 100644 index 000000000..e2e69cb66 --- /dev/null +++ b/src/it/verify-clean/pom.xml @@ -0,0 +1,59 @@ + + + + + 4.0.0 + + spotbugs-maven-plugin.it + common + testing + ../common.xml + + check + check + jar + + + + com.github.spotbugs + spotbugs-maven-plugin + + true + false + @spotbugsTestDebug@ + High + + + + run-analysis + process-classes + + spotbugs + + + + process-results + + verify + + + + + + +