This is an automated email from the ASF dual-hosted git repository.

slachiewicz pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/maven-antrun-plugin.git

commit 51c77902dbb6fb1e0166dd583470b9fb713b3471
Author: Sylwester Lachiewicz <[email protected]>
AuthorDate: Wed Nov 25 22:05:16 2026 +0000

    Remove default imports from IT scripts
---
 src/it/MANTRUN-208/verify.groovy                             | 2 --
 src/it/ant-1.7-features/verify.groovy                        | 2 --
 src/it/antrun-default-test/verify.groovy                     | 2 --
 src/it/attach-artifact-from-ant-task/verify.groovy           | 2 --
 src/it/attach-artifact-test-with-prefix-antlib/verify.groovy | 2 --
 src/it/attach-artifact-test-with-prefix-antrun/verify.groovy | 2 --
 src/it/attach-artifact-test/verify.groovy                    | 2 --
 src/it/filesets-test/verify.groovy                           | 2 --
 src/it/multiple-phase-test/verify.groovy                     | 2 --
 src/it/tasksattributes-test/verify.groovy                    | 2 --
 10 files changed, 20 deletions(-)

diff --git a/src/it/MANTRUN-208/verify.groovy b/src/it/MANTRUN-208/verify.groovy
index 5e6f2c9..393df53 100644
--- a/src/it/MANTRUN-208/verify.groovy
+++ b/src/it/MANTRUN-208/verify.groovy
@@ -18,8 +18,6 @@
  * under the License.
  */
 
-import java.io.*
-
 File buildLog = new File(basedir, "build.log")
 String log = buildLog.getText('UTF-8')
 
diff --git a/src/it/ant-1.7-features/verify.groovy 
b/src/it/ant-1.7-features/verify.groovy
index e2bafc1..cbad1d4 100644
--- a/src/it/ant-1.7-features/verify.groovy
+++ b/src/it/ant-1.7-features/verify.groovy
@@ -18,8 +18,6 @@
  * under the License.
  */
 
-import java.io.*
-
 File xmlFile = new File(basedir, "echo.xml")
 String xml = xmlFile.getText('UTF-8')
 assert xml.indexOf("<test") >= 0 : "Bad XML output: " + xml
diff --git a/src/it/antrun-default-test/verify.groovy 
b/src/it/antrun-default-test/verify.groovy
index 7bf0d15..c2617d7 100644
--- a/src/it/antrun-default-test/verify.groovy
+++ b/src/it/antrun-default-test/verify.groovy
@@ -18,8 +18,6 @@
  * under the License.
  */
 
-import java.io.*
-
 File buildLog = new File(basedir, "build.log")
 String log = buildLog.getText('UTF-8')
 
diff --git a/src/it/attach-artifact-from-ant-task/verify.groovy 
b/src/it/attach-artifact-from-ant-task/verify.groovy
index a483f13..5bece56 100644
--- a/src/it/attach-artifact-from-ant-task/verify.groovy
+++ b/src/it/attach-artifact-from-ant-task/verify.groovy
@@ -18,8 +18,6 @@
  * under the License.
  */
 
-import java.io.*
-
 String[] expectedFiles = [
     
"org/apache/maven/plugins/antrun/attach-artifact-from-ant-task/1.0/attach-artifact-from-ant-task-1.0.pom",
     
"org/apache/maven/plugins/antrun/attach-artifact-from-ant-task/1.0/attach-artifact-from-ant-task-1.0-from-pom.txt",
diff --git a/src/it/attach-artifact-test-with-prefix-antlib/verify.groovy 
b/src/it/attach-artifact-test-with-prefix-antlib/verify.groovy
index 879c8e2..c9bf5b0 100644
--- a/src/it/attach-artifact-test-with-prefix-antlib/verify.groovy
+++ b/src/it/attach-artifact-test-with-prefix-antlib/verify.groovy
@@ -18,8 +18,6 @@
  * under the License.
  */
 
-import java.io.*
-
 String[] expectedFiles = [
     
"org/apache/maven/plugins/antrun/attach-artifact-test-with-prefix/1.0/attach-artifact-test-with-prefix-1.0.pom",
     
"org/apache/maven/plugins/antrun/attach-artifact-test-with-prefix/1.0/attach-artifact-test-with-prefix-1.0-cl.txt"
diff --git a/src/it/attach-artifact-test-with-prefix-antrun/verify.groovy 
b/src/it/attach-artifact-test-with-prefix-antrun/verify.groovy
index 879c8e2..c9bf5b0 100644
--- a/src/it/attach-artifact-test-with-prefix-antrun/verify.groovy
+++ b/src/it/attach-artifact-test-with-prefix-antrun/verify.groovy
@@ -18,8 +18,6 @@
  * under the License.
  */
 
-import java.io.*
-
 String[] expectedFiles = [
     
"org/apache/maven/plugins/antrun/attach-artifact-test-with-prefix/1.0/attach-artifact-test-with-prefix-1.0.pom",
     
"org/apache/maven/plugins/antrun/attach-artifact-test-with-prefix/1.0/attach-artifact-test-with-prefix-1.0-cl.txt"
diff --git a/src/it/attach-artifact-test/verify.groovy 
b/src/it/attach-artifact-test/verify.groovy
index 8b24b87..1eb8f8e 100644
--- a/src/it/attach-artifact-test/verify.groovy
+++ b/src/it/attach-artifact-test/verify.groovy
@@ -18,8 +18,6 @@
  * under the License.
  */
 
-import java.io.*
-
 String zipFilePath = 
"../../local-repo/antrun-plugin/test/antrun-plugin-attach-artifact-test/1.0-SNAPSHOT/antrun-plugin-attach-artifact-test-1.0-SNAPSHOT-foo.zip"
 File installedZipFile = new File(basedir, zipFilePath)
 
diff --git a/src/it/filesets-test/verify.groovy 
b/src/it/filesets-test/verify.groovy
index bfdf421..ce87e7c 100644
--- a/src/it/filesets-test/verify.groovy
+++ b/src/it/filesets-test/verify.groovy
@@ -18,8 +18,6 @@
  * under the License.
  */
 
-import java.io.*
-
 File depsDir = new File(basedir, "target/dependencies")
 File antJar = new File(depsDir, "ant-" + scriptVarVersionAnt + ".jar")
 File junitJar = new File(depsDir, "junit-jupiter-engine-" + 
scriptVarVersionJunit + ".jar")
diff --git a/src/it/multiple-phase-test/verify.groovy 
b/src/it/multiple-phase-test/verify.groovy
index ca0b763..194d2c5 100644
--- a/src/it/multiple-phase-test/verify.groovy
+++ b/src/it/multiple-phase-test/verify.groovy
@@ -18,8 +18,6 @@
  * under the License.
  */
 
-import java.io.*
-
 File phase1 = new File(basedir, "phase-1.txt")
 assert phase1.exists() : "Could not find Ant generated file: " + phase1
 
diff --git a/src/it/tasksattributes-test/verify.groovy 
b/src/it/tasksattributes-test/verify.groovy
index 1d2cfc0..2e9585a 100644
--- a/src/it/tasksattributes-test/verify.groovy
+++ b/src/it/tasksattributes-test/verify.groovy
@@ -18,8 +18,6 @@
  * under the License.
  */
 
-import java.io.*
-
 File buildLog = new File(basedir, "build.log")
 String log = buildLog.getText('UTF-8')
 

Reply via email to