You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by sl...@apache.org on 2026/09/20 13:49:28 UTC
(maven-install-plugin) branch master updated (a5db736 -> db6432f)
This is an automated email from the ASF dual-hosted git repository.
slachiewicz pushed a change to branch master
in repository https://gitbox.apache.org/repos/asf/maven-install-plugin.git
from a5db736 Bump org.apache.maven.resolver:maven-resolver-api from 2.0.22 to 2.0.23
new b5b4470 Rename the BeanShell IT scripts ahead of porting them
new db6432f Port the IT scripts from BeanShell to Groovy
The 2 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
Summary of changes:
src/it/attach-jar-checksum/{setup.bsh => setup.groovy} | 0
src/it/attach-jar-checksum/{verify.bsh => verify.groovy} | 10 ++++------
src/it/attach-release-jar/{setup.bsh => setup.groovy} | 0
src/it/attach-release-jar/{verify.bsh => verify.groovy} | 4 ++--
src/it/gav-validation/{setup.bsh => setup.groovy} | 0
src/it/generate-pom-auto-1/{setup.bsh => setup.groovy} | 0
src/it/generate-pom-auto-1/{verify.bsh => verify.groovy} | 11 ++++-------
src/it/generate-pom-auto-2/{setup.bsh => setup.groovy} | 0
src/it/generate-pom-auto-2/{verify.bsh => verify.groovy} | 4 ++--
.../{setup.bsh => setup.groovy} | 0
.../{verify.bsh => verify.groovy} | 6 +++---
.../{setup.bsh => setup.groovy} | 0
.../{verify.bsh => verify.groovy} | 6 +++---
.../{setup.bsh => setup.groovy} | 0
.../{verify.bsh => verify.groovy} | 6 +++---
.../{setup.bsh => setup.groovy} | 0
.../{verify.bsh => verify.groovy} | 6 +++---
.../install-file-minstall-121-war/{setup.bsh => setup.groovy} | 0
.../{verify.bsh => verify.groovy} | 6 +++---
src/it/install-file-minstall-121/{setup.bsh => setup.groovy} | 0
.../install-file-minstall-121/{verify.bsh => verify.groovy} | 6 +++---
src/it/jar-sources-javadoc/{setup.bsh => setup.groovy} | 0
src/it/jar-sources-javadoc/{verify.bsh => verify.groovy} | 10 ++++------
.../{setup.bsh => setup.groovy} | 0
.../{verify.bsh => verify.groovy} | 10 ++++------
.../{setup.bsh => setup.groovy} | 0
.../{verify.bsh => verify.groovy} | 10 ++++------
src/it/local-repo-override/{setup.bsh => setup.groovy} | 0
src/it/local-repo-override/{verify.bsh => verify.groovy} | 4 ++--
src/it/minstall-55/{setup.bsh => setup.groovy} | 0
src/it/minstall-55/{verify.bsh => verify.groovy} | 4 ++--
src/it/no-main-artifact-1/{setup.bsh => setup.groovy} | 0
src/it/no-main-artifact-2/{setup.bsh => setup.groovy} | 0
src/it/non-default-pom/{setup.bsh => setup.groovy} | 0
src/it/non-default-pom/{verify.bsh => verify.groovy} | 4 ++--
src/it/pom-checksum/{setup.bsh => setup.groovy} | 0
src/it/pom-checksum/{verify.bsh => verify.groovy} | 10 ++++------
src/it/release-jar/{setup.bsh => setup.groovy} | 0
src/it/release-jar/{verify.bsh => verify.groovy} | 4 ++--
src/it/release-pom/{setup.bsh => setup.groovy} | 0
src/it/release-pom/{verify.bsh => verify.groovy} | 4 ++--
src/it/skip-install/{setup.bsh => setup.groovy} | 0
src/it/skip-install/{verify.bsh => verify.groovy} | 4 ++--
src/it/snapshot-jar/{setup.bsh => setup.groovy} | 0
src/it/snapshot-jar/{verify.bsh => verify.groovy} | 4 ++--
src/it/snapshot-pom/{setup.bsh => setup.groovy} | 0
src/it/snapshot-pom/{verify.bsh => verify.groovy} | 4 ++--
47 files changed, 62 insertions(+), 75 deletions(-)
rename src/it/attach-jar-checksum/{setup.bsh => setup.groovy} (100%)
rename src/it/attach-jar-checksum/{verify.bsh => verify.groovy} (97%)
rename src/it/attach-release-jar/{setup.bsh => setup.groovy} (100%)
rename src/it/attach-release-jar/{verify.bsh => verify.groovy} (99%)
rename src/it/gav-validation/{setup.bsh => setup.groovy} (100%)
rename src/it/generate-pom-auto-1/{setup.bsh => setup.groovy} (100%)
rename src/it/generate-pom-auto-1/{verify.bsh => verify.groovy} (92%)
rename src/it/generate-pom-auto-2/{setup.bsh => setup.groovy} (100%)
rename src/it/generate-pom-auto-2/{verify.bsh => verify.groovy} (99%)
rename src/it/install-file-minstall-121-bundle/{setup.bsh => setup.groovy} (100%)
rename src/it/install-file-minstall-121-bundle/{verify.bsh => verify.groovy} (96%)
rename src/it/install-file-minstall-121-java-source/{setup.bsh => setup.groovy} (100%)
rename src/it/install-file-minstall-121-java-source/{verify.bsh => verify.groovy} (96%)
rename src/it/install-file-minstall-121-maven-archetype/{setup.bsh => setup.groovy} (100%)
rename src/it/install-file-minstall-121-maven-archetype/{verify.bsh => verify.groovy} (96%)
rename src/it/install-file-minstall-121-targz/{setup.bsh => setup.groovy} (100%)
rename src/it/install-file-minstall-121-targz/{verify.bsh => verify.groovy} (96%)
rename src/it/install-file-minstall-121-war/{setup.bsh => setup.groovy} (100%)
rename src/it/install-file-minstall-121-war/{verify.bsh => verify.groovy} (96%)
rename src/it/install-file-minstall-121/{setup.bsh => setup.groovy} (100%)
rename src/it/install-file-minstall-121/{verify.bsh => verify.groovy} (96%)
rename src/it/jar-sources-javadoc/{setup.bsh => setup.groovy} (100%)
rename src/it/jar-sources-javadoc/{verify.bsh => verify.groovy} (97%)
rename src/it/local-repo-override-with-checksum-generatePom/{setup.bsh => setup.groovy} (100%)
rename src/it/local-repo-override-with-checksum-generatePom/{verify.bsh => verify.groovy} (96%)
rename src/it/local-repo-override-with-checksum/{setup.bsh => setup.groovy} (100%)
rename src/it/local-repo-override-with-checksum/{verify.bsh => verify.groovy} (96%)
rename src/it/local-repo-override/{setup.bsh => setup.groovy} (100%)
rename src/it/local-repo-override/{verify.bsh => verify.groovy} (99%)
rename src/it/minstall-55/{setup.bsh => setup.groovy} (100%)
rename src/it/minstall-55/{verify.bsh => verify.groovy} (99%)
rename src/it/no-main-artifact-1/{setup.bsh => setup.groovy} (100%)
rename src/it/no-main-artifact-2/{setup.bsh => setup.groovy} (100%)
rename src/it/non-default-pom/{setup.bsh => setup.groovy} (100%)
rename src/it/non-default-pom/{verify.bsh => verify.groovy} (99%)
rename src/it/pom-checksum/{setup.bsh => setup.groovy} (100%)
rename src/it/pom-checksum/{verify.bsh => verify.groovy} (97%)
rename src/it/release-jar/{setup.bsh => setup.groovy} (100%)
rename src/it/release-jar/{verify.bsh => verify.groovy} (99%)
rename src/it/release-pom/{setup.bsh => setup.groovy} (100%)
rename src/it/release-pom/{verify.bsh => verify.groovy} (99%)
rename src/it/skip-install/{setup.bsh => setup.groovy} (100%)
rename src/it/skip-install/{verify.bsh => verify.groovy} (99%)
rename src/it/snapshot-jar/{setup.bsh => setup.groovy} (100%)
rename src/it/snapshot-jar/{verify.bsh => verify.groovy} (99%)
rename src/it/snapshot-pom/{setup.bsh => setup.groovy} (100%)
rename src/it/snapshot-pom/{verify.bsh => verify.groovy} (99%)
(maven-install-plugin) 01/02: Rename the BeanShell IT scripts ahead of porting them
Posted by sl...@apache.org.
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-install-plugin.git
commit b5b4470740bc084c810c449860a3d81854d932c8
Author: Sylwester Lachiewicz <sl...@apache.org>
AuthorDate: Sun Sep 20 14:09:59 2026 +0200
Rename the BeanShell IT scripts ahead of porting them
---
src/it/attach-jar-checksum/{setup.bsh => setup.groovy} | 0
src/it/attach-jar-checksum/{verify.bsh => verify.groovy} | 0
src/it/attach-release-jar/{setup.bsh => setup.groovy} | 0
src/it/attach-release-jar/{verify.bsh => verify.groovy} | 0
src/it/gav-validation/{setup.bsh => setup.groovy} | 0
src/it/generate-pom-auto-1/{setup.bsh => setup.groovy} | 0
src/it/generate-pom-auto-1/{verify.bsh => verify.groovy} | 0
src/it/generate-pom-auto-2/{setup.bsh => setup.groovy} | 0
src/it/generate-pom-auto-2/{verify.bsh => verify.groovy} | 0
src/it/install-file-minstall-121-bundle/{setup.bsh => setup.groovy} | 0
src/it/install-file-minstall-121-bundle/{verify.bsh => verify.groovy} | 0
src/it/install-file-minstall-121-java-source/{setup.bsh => setup.groovy} | 0
.../install-file-minstall-121-java-source/{verify.bsh => verify.groovy} | 0
.../install-file-minstall-121-maven-archetype/{setup.bsh => setup.groovy} | 0
.../{verify.bsh => verify.groovy} | 0
src/it/install-file-minstall-121-targz/{setup.bsh => setup.groovy} | 0
src/it/install-file-minstall-121-targz/{verify.bsh => verify.groovy} | 0
src/it/install-file-minstall-121-war/{setup.bsh => setup.groovy} | 0
src/it/install-file-minstall-121-war/{verify.bsh => verify.groovy} | 0
src/it/install-file-minstall-121/{setup.bsh => setup.groovy} | 0
src/it/install-file-minstall-121/{verify.bsh => verify.groovy} | 0
src/it/jar-sources-javadoc/{setup.bsh => setup.groovy} | 0
src/it/jar-sources-javadoc/{verify.bsh => verify.groovy} | 0
.../{setup.bsh => setup.groovy} | 0
.../{verify.bsh => verify.groovy} | 0
src/it/local-repo-override-with-checksum/{setup.bsh => setup.groovy} | 0
src/it/local-repo-override-with-checksum/{verify.bsh => verify.groovy} | 0
src/it/local-repo-override/{setup.bsh => setup.groovy} | 0
src/it/local-repo-override/{verify.bsh => verify.groovy} | 0
src/it/minstall-55/{setup.bsh => setup.groovy} | 0
src/it/minstall-55/{verify.bsh => verify.groovy} | 0
src/it/no-main-artifact-1/{setup.bsh => setup.groovy} | 0
src/it/no-main-artifact-2/{setup.bsh => setup.groovy} | 0
src/it/non-default-pom/{setup.bsh => setup.groovy} | 0
src/it/non-default-pom/{verify.bsh => verify.groovy} | 0
src/it/pom-checksum/{setup.bsh => setup.groovy} | 0
src/it/pom-checksum/{verify.bsh => verify.groovy} | 0
src/it/release-jar/{setup.bsh => setup.groovy} | 0
src/it/release-jar/{verify.bsh => verify.groovy} | 0
src/it/release-pom/{setup.bsh => setup.groovy} | 0
src/it/release-pom/{verify.bsh => verify.groovy} | 0
src/it/skip-install/{setup.bsh => setup.groovy} | 0
src/it/skip-install/{verify.bsh => verify.groovy} | 0
src/it/snapshot-jar/{setup.bsh => setup.groovy} | 0
src/it/snapshot-jar/{verify.bsh => verify.groovy} | 0
src/it/snapshot-pom/{setup.bsh => setup.groovy} | 0
src/it/snapshot-pom/{verify.bsh => verify.groovy} | 0
47 files changed, 0 insertions(+), 0 deletions(-)
diff --git a/src/it/attach-jar-checksum/setup.bsh b/src/it/attach-jar-checksum/setup.groovy
similarity index 100%
rename from src/it/attach-jar-checksum/setup.bsh
rename to src/it/attach-jar-checksum/setup.groovy
diff --git a/src/it/attach-jar-checksum/verify.bsh b/src/it/attach-jar-checksum/verify.groovy
similarity index 100%
rename from src/it/attach-jar-checksum/verify.bsh
rename to src/it/attach-jar-checksum/verify.groovy
diff --git a/src/it/attach-release-jar/setup.bsh b/src/it/attach-release-jar/setup.groovy
similarity index 100%
rename from src/it/attach-release-jar/setup.bsh
rename to src/it/attach-release-jar/setup.groovy
diff --git a/src/it/attach-release-jar/verify.bsh b/src/it/attach-release-jar/verify.groovy
similarity index 100%
rename from src/it/attach-release-jar/verify.bsh
rename to src/it/attach-release-jar/verify.groovy
diff --git a/src/it/gav-validation/setup.bsh b/src/it/gav-validation/setup.groovy
similarity index 100%
rename from src/it/gav-validation/setup.bsh
rename to src/it/gav-validation/setup.groovy
diff --git a/src/it/generate-pom-auto-1/setup.bsh b/src/it/generate-pom-auto-1/setup.groovy
similarity index 100%
rename from src/it/generate-pom-auto-1/setup.bsh
rename to src/it/generate-pom-auto-1/setup.groovy
diff --git a/src/it/generate-pom-auto-1/verify.bsh b/src/it/generate-pom-auto-1/verify.groovy
similarity index 100%
rename from src/it/generate-pom-auto-1/verify.bsh
rename to src/it/generate-pom-auto-1/verify.groovy
diff --git a/src/it/generate-pom-auto-2/setup.bsh b/src/it/generate-pom-auto-2/setup.groovy
similarity index 100%
rename from src/it/generate-pom-auto-2/setup.bsh
rename to src/it/generate-pom-auto-2/setup.groovy
diff --git a/src/it/generate-pom-auto-2/verify.bsh b/src/it/generate-pom-auto-2/verify.groovy
similarity index 100%
rename from src/it/generate-pom-auto-2/verify.bsh
rename to src/it/generate-pom-auto-2/verify.groovy
diff --git a/src/it/install-file-minstall-121-bundle/setup.bsh b/src/it/install-file-minstall-121-bundle/setup.groovy
similarity index 100%
rename from src/it/install-file-minstall-121-bundle/setup.bsh
rename to src/it/install-file-minstall-121-bundle/setup.groovy
diff --git a/src/it/install-file-minstall-121-bundle/verify.bsh b/src/it/install-file-minstall-121-bundle/verify.groovy
similarity index 100%
rename from src/it/install-file-minstall-121-bundle/verify.bsh
rename to src/it/install-file-minstall-121-bundle/verify.groovy
diff --git a/src/it/install-file-minstall-121-java-source/setup.bsh b/src/it/install-file-minstall-121-java-source/setup.groovy
similarity index 100%
rename from src/it/install-file-minstall-121-java-source/setup.bsh
rename to src/it/install-file-minstall-121-java-source/setup.groovy
diff --git a/src/it/install-file-minstall-121-java-source/verify.bsh b/src/it/install-file-minstall-121-java-source/verify.groovy
similarity index 100%
rename from src/it/install-file-minstall-121-java-source/verify.bsh
rename to src/it/install-file-minstall-121-java-source/verify.groovy
diff --git a/src/it/install-file-minstall-121-maven-archetype/setup.bsh b/src/it/install-file-minstall-121-maven-archetype/setup.groovy
similarity index 100%
rename from src/it/install-file-minstall-121-maven-archetype/setup.bsh
rename to src/it/install-file-minstall-121-maven-archetype/setup.groovy
diff --git a/src/it/install-file-minstall-121-maven-archetype/verify.bsh b/src/it/install-file-minstall-121-maven-archetype/verify.groovy
similarity index 100%
rename from src/it/install-file-minstall-121-maven-archetype/verify.bsh
rename to src/it/install-file-minstall-121-maven-archetype/verify.groovy
diff --git a/src/it/install-file-minstall-121-targz/setup.bsh b/src/it/install-file-minstall-121-targz/setup.groovy
similarity index 100%
rename from src/it/install-file-minstall-121-targz/setup.bsh
rename to src/it/install-file-minstall-121-targz/setup.groovy
diff --git a/src/it/install-file-minstall-121-targz/verify.bsh b/src/it/install-file-minstall-121-targz/verify.groovy
similarity index 100%
rename from src/it/install-file-minstall-121-targz/verify.bsh
rename to src/it/install-file-minstall-121-targz/verify.groovy
diff --git a/src/it/install-file-minstall-121-war/setup.bsh b/src/it/install-file-minstall-121-war/setup.groovy
similarity index 100%
rename from src/it/install-file-minstall-121-war/setup.bsh
rename to src/it/install-file-minstall-121-war/setup.groovy
diff --git a/src/it/install-file-minstall-121-war/verify.bsh b/src/it/install-file-minstall-121-war/verify.groovy
similarity index 100%
rename from src/it/install-file-minstall-121-war/verify.bsh
rename to src/it/install-file-minstall-121-war/verify.groovy
diff --git a/src/it/install-file-minstall-121/setup.bsh b/src/it/install-file-minstall-121/setup.groovy
similarity index 100%
rename from src/it/install-file-minstall-121/setup.bsh
rename to src/it/install-file-minstall-121/setup.groovy
diff --git a/src/it/install-file-minstall-121/verify.bsh b/src/it/install-file-minstall-121/verify.groovy
similarity index 100%
rename from src/it/install-file-minstall-121/verify.bsh
rename to src/it/install-file-minstall-121/verify.groovy
diff --git a/src/it/jar-sources-javadoc/setup.bsh b/src/it/jar-sources-javadoc/setup.groovy
similarity index 100%
rename from src/it/jar-sources-javadoc/setup.bsh
rename to src/it/jar-sources-javadoc/setup.groovy
diff --git a/src/it/jar-sources-javadoc/verify.bsh b/src/it/jar-sources-javadoc/verify.groovy
similarity index 100%
rename from src/it/jar-sources-javadoc/verify.bsh
rename to src/it/jar-sources-javadoc/verify.groovy
diff --git a/src/it/local-repo-override-with-checksum-generatePom/setup.bsh b/src/it/local-repo-override-with-checksum-generatePom/setup.groovy
similarity index 100%
rename from src/it/local-repo-override-with-checksum-generatePom/setup.bsh
rename to src/it/local-repo-override-with-checksum-generatePom/setup.groovy
diff --git a/src/it/local-repo-override-with-checksum-generatePom/verify.bsh b/src/it/local-repo-override-with-checksum-generatePom/verify.groovy
similarity index 100%
rename from src/it/local-repo-override-with-checksum-generatePom/verify.bsh
rename to src/it/local-repo-override-with-checksum-generatePom/verify.groovy
diff --git a/src/it/local-repo-override-with-checksum/setup.bsh b/src/it/local-repo-override-with-checksum/setup.groovy
similarity index 100%
rename from src/it/local-repo-override-with-checksum/setup.bsh
rename to src/it/local-repo-override-with-checksum/setup.groovy
diff --git a/src/it/local-repo-override-with-checksum/verify.bsh b/src/it/local-repo-override-with-checksum/verify.groovy
similarity index 100%
rename from src/it/local-repo-override-with-checksum/verify.bsh
rename to src/it/local-repo-override-with-checksum/verify.groovy
diff --git a/src/it/local-repo-override/setup.bsh b/src/it/local-repo-override/setup.groovy
similarity index 100%
rename from src/it/local-repo-override/setup.bsh
rename to src/it/local-repo-override/setup.groovy
diff --git a/src/it/local-repo-override/verify.bsh b/src/it/local-repo-override/verify.groovy
similarity index 100%
rename from src/it/local-repo-override/verify.bsh
rename to src/it/local-repo-override/verify.groovy
diff --git a/src/it/minstall-55/setup.bsh b/src/it/minstall-55/setup.groovy
similarity index 100%
rename from src/it/minstall-55/setup.bsh
rename to src/it/minstall-55/setup.groovy
diff --git a/src/it/minstall-55/verify.bsh b/src/it/minstall-55/verify.groovy
similarity index 100%
rename from src/it/minstall-55/verify.bsh
rename to src/it/minstall-55/verify.groovy
diff --git a/src/it/no-main-artifact-1/setup.bsh b/src/it/no-main-artifact-1/setup.groovy
similarity index 100%
rename from src/it/no-main-artifact-1/setup.bsh
rename to src/it/no-main-artifact-1/setup.groovy
diff --git a/src/it/no-main-artifact-2/setup.bsh b/src/it/no-main-artifact-2/setup.groovy
similarity index 100%
rename from src/it/no-main-artifact-2/setup.bsh
rename to src/it/no-main-artifact-2/setup.groovy
diff --git a/src/it/non-default-pom/setup.bsh b/src/it/non-default-pom/setup.groovy
similarity index 100%
rename from src/it/non-default-pom/setup.bsh
rename to src/it/non-default-pom/setup.groovy
diff --git a/src/it/non-default-pom/verify.bsh b/src/it/non-default-pom/verify.groovy
similarity index 100%
rename from src/it/non-default-pom/verify.bsh
rename to src/it/non-default-pom/verify.groovy
diff --git a/src/it/pom-checksum/setup.bsh b/src/it/pom-checksum/setup.groovy
similarity index 100%
rename from src/it/pom-checksum/setup.bsh
rename to src/it/pom-checksum/setup.groovy
diff --git a/src/it/pom-checksum/verify.bsh b/src/it/pom-checksum/verify.groovy
similarity index 100%
rename from src/it/pom-checksum/verify.bsh
rename to src/it/pom-checksum/verify.groovy
diff --git a/src/it/release-jar/setup.bsh b/src/it/release-jar/setup.groovy
similarity index 100%
rename from src/it/release-jar/setup.bsh
rename to src/it/release-jar/setup.groovy
diff --git a/src/it/release-jar/verify.bsh b/src/it/release-jar/verify.groovy
similarity index 100%
rename from src/it/release-jar/verify.bsh
rename to src/it/release-jar/verify.groovy
diff --git a/src/it/release-pom/setup.bsh b/src/it/release-pom/setup.groovy
similarity index 100%
rename from src/it/release-pom/setup.bsh
rename to src/it/release-pom/setup.groovy
diff --git a/src/it/release-pom/verify.bsh b/src/it/release-pom/verify.groovy
similarity index 100%
rename from src/it/release-pom/verify.bsh
rename to src/it/release-pom/verify.groovy
diff --git a/src/it/skip-install/setup.bsh b/src/it/skip-install/setup.groovy
similarity index 100%
rename from src/it/skip-install/setup.bsh
rename to src/it/skip-install/setup.groovy
diff --git a/src/it/skip-install/verify.bsh b/src/it/skip-install/verify.groovy
similarity index 100%
rename from src/it/skip-install/verify.bsh
rename to src/it/skip-install/verify.groovy
diff --git a/src/it/snapshot-jar/setup.bsh b/src/it/snapshot-jar/setup.groovy
similarity index 100%
rename from src/it/snapshot-jar/setup.bsh
rename to src/it/snapshot-jar/setup.groovy
diff --git a/src/it/snapshot-jar/verify.bsh b/src/it/snapshot-jar/verify.groovy
similarity index 100%
rename from src/it/snapshot-jar/verify.bsh
rename to src/it/snapshot-jar/verify.groovy
diff --git a/src/it/snapshot-pom/setup.bsh b/src/it/snapshot-pom/setup.groovy
similarity index 100%
rename from src/it/snapshot-pom/setup.bsh
rename to src/it/snapshot-pom/setup.groovy
diff --git a/src/it/snapshot-pom/verify.bsh b/src/it/snapshot-pom/verify.groovy
similarity index 100%
rename from src/it/snapshot-pom/verify.bsh
rename to src/it/snapshot-pom/verify.groovy
(maven-install-plugin) 02/02: Port the IT scripts from BeanShell to Groovy
Posted by sl...@apache.org.
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-install-plugin.git
commit db6432f692f45214b52f0b949d205cb295bcfd09
Author: Sylwester Lachiewicz <sl...@apache.org>
AuthorDate: Sun Sep 20 14:11:08 2026 +0200
Port the IT scripts from BeanShell to Groovy
BeanShell is being retired across Maven (apache/maven#13207); the scripts keep the same checks.
---
src/it/attach-jar-checksum/verify.groovy | 10 ++++------
src/it/attach-release-jar/verify.groovy | 4 ++--
src/it/generate-pom-auto-1/verify.groovy | 11 ++++-------
src/it/generate-pom-auto-2/verify.groovy | 4 ++--
src/it/install-file-minstall-121-bundle/verify.groovy | 6 +++---
src/it/install-file-minstall-121-java-source/verify.groovy | 6 +++---
.../install-file-minstall-121-maven-archetype/verify.groovy | 6 +++---
src/it/install-file-minstall-121-targz/verify.groovy | 6 +++---
src/it/install-file-minstall-121-war/verify.groovy | 6 +++---
src/it/install-file-minstall-121/verify.groovy | 6 +++---
src/it/jar-sources-javadoc/verify.groovy | 10 ++++------
.../verify.groovy | 10 ++++------
src/it/local-repo-override-with-checksum/verify.groovy | 10 ++++------
src/it/local-repo-override/verify.groovy | 4 ++--
src/it/minstall-55/verify.groovy | 4 ++--
src/it/non-default-pom/verify.groovy | 4 ++--
src/it/pom-checksum/verify.groovy | 10 ++++------
src/it/release-jar/verify.groovy | 4 ++--
src/it/release-pom/verify.groovy | 4 ++--
src/it/skip-install/verify.groovy | 4 ++--
src/it/snapshot-jar/verify.groovy | 4 ++--
src/it/snapshot-pom/verify.groovy | 4 ++--
22 files changed, 62 insertions(+), 75 deletions(-)
diff --git a/src/it/attach-jar-checksum/verify.groovy b/src/it/attach-jar-checksum/verify.groovy
index e791219..66b7d95 100644
--- a/src/it/attach-jar-checksum/verify.groovy
+++ b/src/it/attach-jar-checksum/verify.groovy
@@ -20,19 +20,17 @@
import java.io.*;
import java.util.*;
-import org.apache.maven.plugins.install.Utils;
-
String[] paths =
-{
+[
"org/apache/maven/its/install/ajc/test/1.0-SNAPSHOT/test-1.0-SNAPSHOT.pom",
"org/apache/maven/its/install/ajc/test/1.0-SNAPSHOT/test-1.0-SNAPSHOT.jar",
"org/apache/maven/its/install/ajc/test/1.0-SNAPSHOT/test-1.0-SNAPSHOT-sources.jar",
"org/apache/maven/its/install/ajc/test/1.0-SNAPSHOT/maven-metadata-local.xml",
"org/apache/maven/its/install/ajc/test/maven-metadata-local.xml",
-};
+];
String[] pathsWhichShouldNotExist =
-{
+[
"org/apache/maven/its/install/ajc/test/1.0-SNAPSHOT/test-1.0-SNAPSHOT.pom.md5",
"org/apache/maven/its/install/ajc/test/1.0-SNAPSHOT/test-1.0-SNAPSHOT.pom.sha1",
"org/apache/maven/its/install/ajc/test/1.0-SNAPSHOT/test-1.0-SNAPSHOT.jar.md5",
@@ -43,7 +41,7 @@ String[] pathsWhichShouldNotExist =
"org/apache/maven/its/install/ajc/test/1.0-SNAPSHOT/maven-metadata-local.xml.sha1",
"org/apache/maven/its/install/ajc/test/maven-metadata-local.xml.md5",
"org/apache/maven/its/install/ajc/test/maven-metadata-local.xml.sha1",
-};
+];
for ( String path : paths )
{
diff --git a/src/it/attach-release-jar/verify.groovy b/src/it/attach-release-jar/verify.groovy
index 4a4226e..3652c5e 100644
--- a/src/it/attach-release-jar/verify.groovy
+++ b/src/it/attach-release-jar/verify.groovy
@@ -21,12 +21,12 @@ import java.io.*;
import java.util.*;
String[] paths =
-{
+[
"org/apache/maven/its/install/arj/test/maven-metadata-local.xml",
"org/apache/maven/its/install/arj/test/1.0/test-1.0.pom",
"org/apache/maven/its/install/arj/test/1.0/test-1.0.jar",
"org/apache/maven/its/install/arj/test/1.0/test-1.0-sources.jar",
-};
+];
for ( String path : paths )
{
diff --git a/src/it/generate-pom-auto-1/verify.groovy b/src/it/generate-pom-auto-1/verify.groovy
index d5ea928..5fe13bb 100644
--- a/src/it/generate-pom-auto-1/verify.groovy
+++ b/src/it/generate-pom-auto-1/verify.groovy
@@ -20,20 +20,17 @@
import java.io.*;
import java.util.*;
-import org.apache.maven.plugins.install.Utils;
-
String[] paths =
-{
+[
"org/apache/maven/its/install/gpa1/test/maven-metadata-local.xml",
"org/apache/maven/its/install/gpa1/test/0.1/test-0.1.jar",
"org/apache/maven/its/install/gpa1/test/0.1/test-0.1.pom",
-};
+];
-Set cksumToCheckPaths = new HashSet( Arrays.asList( new String[]
-{
+Set cksumToCheckPaths = new HashSet( Arrays.asList( [
"org/apache/maven/its/install/gpa1/test/0.1/test-0.1.jar",
"org/apache/maven/its/install/gpa1/test/0.1/test-0.1.pom",
-} ) );
+] as String[] ) );
for ( String path : paths )
{
diff --git a/src/it/generate-pom-auto-2/verify.groovy b/src/it/generate-pom-auto-2/verify.groovy
index 4ec1c07..39f2b4b 100644
--- a/src/it/generate-pom-auto-2/verify.groovy
+++ b/src/it/generate-pom-auto-2/verify.groovy
@@ -21,11 +21,11 @@ import java.io.*;
import java.util.*;
String[] paths =
-{
+[
"org/apache/maven/its/install/gpa2/test/maven-metadata-local.xml",
"org/apache/maven/its/install/gpa2/test/0.1/test-0.1.jar",
"org/apache/maven/its/install/gpa2/test/0.1/test-0.1.pom",
-};
+];
for ( String path : paths )
{
diff --git a/src/it/install-file-minstall-121-bundle/verify.groovy b/src/it/install-file-minstall-121-bundle/verify.groovy
index 3ef1623..78adf39 100644
--- a/src/it/install-file-minstall-121-bundle/verify.groovy
+++ b/src/it/install-file-minstall-121-bundle/verify.groovy
@@ -21,11 +21,11 @@ import java.io.*;
import java.util.*;
String[] paths =
-{
+[
"org/apache/maven/its/install/121/maven-bundle/maven-metadata-local.xml",
"org/apache/maven/its/install/121/maven-bundle/1.0/maven-bundle-1.0.pom",
"org/apache/maven/its/install/121/maven-bundle/1.0/maven-bundle-1.0.jar",
-};
+];
for ( String path : paths )
{
@@ -43,7 +43,7 @@ if ( !file.isFile() )
throw new FileNotFoundException( "Missing: " + file.getAbsolutePath() );
}
-File file = new File( basedir, "test-0.1.jar" );
+file = new File( basedir, "test-0.1.jar" );
if ( !file.isFile() )
{
throw new FileNotFoundException( "Missing: " + file.getAbsolutePath() );
diff --git a/src/it/install-file-minstall-121-java-source/verify.groovy b/src/it/install-file-minstall-121-java-source/verify.groovy
index b0e36fe..b479f37 100644
--- a/src/it/install-file-minstall-121-java-source/verify.groovy
+++ b/src/it/install-file-minstall-121-java-source/verify.groovy
@@ -21,11 +21,11 @@ import java.io.*;
import java.util.*;
String[] paths =
-{
+[
"org/apache/maven/its/install/121/test-java-source/maven-metadata-local.xml",
"org/apache/maven/its/install/121/test-java-source/1.0/test-java-source-1.0.pom",
"org/apache/maven/its/install/121/test-java-source/1.0/test-java-source-1.0-sources.jar",
-};
+];
for ( String path : paths )
{
@@ -43,7 +43,7 @@ if ( !file.isFile() )
throw new FileNotFoundException( "Missing: " + file.getAbsolutePath() );
}
-File file = new File( basedir, "test-0.1.jar" );
+file = new File( basedir, "test-0.1.jar" );
if ( !file.isFile() )
{
throw new FileNotFoundException( "Missing: " + file.getAbsolutePath() );
diff --git a/src/it/install-file-minstall-121-maven-archetype/verify.groovy b/src/it/install-file-minstall-121-maven-archetype/verify.groovy
index e08bfd4..8bc5e68 100644
--- a/src/it/install-file-minstall-121-maven-archetype/verify.groovy
+++ b/src/it/install-file-minstall-121-maven-archetype/verify.groovy
@@ -21,11 +21,11 @@ import java.io.*;
import java.util.*;
String[] paths =
-{
+[
"org/apache/maven/its/install/121/maven-archetype/maven-metadata-local.xml",
"org/apache/maven/its/install/121/maven-archetype/1.0/maven-archetype-1.0.pom",
"org/apache/maven/its/install/121/maven-archetype/1.0/maven-archetype-1.0.jar",
-};
+];
for ( String path : paths )
{
@@ -43,7 +43,7 @@ if ( !file.isFile() )
throw new FileNotFoundException( "Missing: " + file.getAbsolutePath() );
}
-File file = new File( basedir, "test-0.1.jar" );
+file = new File( basedir, "test-0.1.jar" );
if ( !file.isFile() )
{
throw new FileNotFoundException( "Missing: " + file.getAbsolutePath() );
diff --git a/src/it/install-file-minstall-121-targz/verify.groovy b/src/it/install-file-minstall-121-targz/verify.groovy
index b3f31de..d09c83c 100644
--- a/src/it/install-file-minstall-121-targz/verify.groovy
+++ b/src/it/install-file-minstall-121-targz/verify.groovy
@@ -21,11 +21,11 @@ import java.io.*;
import java.util.*;
String[] paths =
-{
+[
"org/apache/maven/its/install/121/test-targz/maven-metadata-local.xml",
"org/apache/maven/its/install/121/test-targz/1.0/test-targz-1.0.pom",
"org/apache/maven/its/install/121/test-targz/1.0/test-targz-1.0.tar.gz",
-};
+];
for ( String path : paths )
{
@@ -43,7 +43,7 @@ if ( !file.isFile() )
throw new FileNotFoundException( "Missing: " + file.getAbsolutePath() );
}
-File file = new File( basedir, "test-0.1.tar.gz" );
+file = new File( basedir, "test-0.1.tar.gz" );
if ( !file.isFile() )
{
throw new FileNotFoundException( "Missing: " + file.getAbsolutePath() );
diff --git a/src/it/install-file-minstall-121-war/verify.groovy b/src/it/install-file-minstall-121-war/verify.groovy
index cd4b117..e4e5842 100644
--- a/src/it/install-file-minstall-121-war/verify.groovy
+++ b/src/it/install-file-minstall-121-war/verify.groovy
@@ -21,11 +21,11 @@ import java.io.*;
import java.util.*;
String[] paths =
-{
+[
"org/apache/maven/its/install/121/test-war/maven-metadata-local.xml",
"org/apache/maven/its/install/121/test-war/1.0/test-war-1.0.pom",
"org/apache/maven/its/install/121/test-war/1.0/test-war-1.0.war",
-};
+];
for ( String path : paths )
{
@@ -43,7 +43,7 @@ if ( !file.isFile() )
throw new FileNotFoundException( "Missing: " + file.getAbsolutePath() );
}
-File file = new File( basedir, "test-0.1.war" );
+file = new File( basedir, "test-0.1.war" );
if ( !file.isFile() )
{
throw new FileNotFoundException( "Missing: " + file.getAbsolutePath() );
diff --git a/src/it/install-file-minstall-121/verify.groovy b/src/it/install-file-minstall-121/verify.groovy
index 51f6f11..c77965d 100644
--- a/src/it/install-file-minstall-121/verify.groovy
+++ b/src/it/install-file-minstall-121/verify.groovy
@@ -21,11 +21,11 @@ import java.io.*;
import java.util.*;
String[] paths =
-{
+[
"org/apache/maven/its/install/121/test/maven-metadata-local.xml",
"org/apache/maven/its/install/121/test/1.0/test-1.0.pom",
"org/apache/maven/its/install/121/test/1.0/test-1.0.jar",
-};
+];
for ( String path : paths )
{
@@ -43,7 +43,7 @@ if ( !file.isFile() )
throw new FileNotFoundException( "Missing: " + file.getAbsolutePath() );
}
-File file = new File( basedir, "test-0.1.jar" );
+file = new File( basedir, "test-0.1.jar" );
if ( !file.isFile() )
{
throw new FileNotFoundException( "Missing: " + file.getAbsolutePath() );
diff --git a/src/it/jar-sources-javadoc/verify.groovy b/src/it/jar-sources-javadoc/verify.groovy
index 9f20faf..8ca0f99 100644
--- a/src/it/jar-sources-javadoc/verify.groovy
+++ b/src/it/jar-sources-javadoc/verify.groovy
@@ -21,19 +21,17 @@ import java.io.*;
import java.util.*;
import java.lang.*;
-import org.apache.maven.plugins.install.Utils;
-
String[] paths =
-{
+[
"org/apache/maven/its/install/jsj/test/maven-metadata-local.xml",
"org/apache/maven/its/install/jsj/test/0.1/test-0.1.jar",
"org/apache/maven/its/install/jsj/test/0.1/test-0.1.pom",
"org/apache/maven/its/install/jsj/test/0.1/test-0.1-sources.jar",
"org/apache/maven/its/install/jsj/test/0.1/test-0.1-javadoc.jar",
-};
+];
String[] pathsWhichShouldNotExist =
-{
+[
"org/apache/maven/its/install/jsj/test/0.1/test-0.1.jar.md5",
"org/apache/maven/its/install/jsj/test/0.1/test-0.1.jar.sha1",
"org/apache/maven/its/install/jsj/test/0.1/test-0.1.pom.md5",
@@ -42,7 +40,7 @@ String[] pathsWhichShouldNotExist =
"org/apache/maven/its/install/jsj/test/0.1/test-0.1-sources.jar.sha1",
"org/apache/maven/its/install/jsj/test/0.1/test-0.1-javadoc.jar.md5",
"org/apache/maven/its/install/jsj/test/0.1/test-0.1-javadoc.jar.sha1",
-};
+];
for ( String path : paths )
{
diff --git a/src/it/local-repo-override-with-checksum-generatePom/verify.groovy b/src/it/local-repo-override-with-checksum-generatePom/verify.groovy
index eadace5..6e913c6 100644
--- a/src/it/local-repo-override-with-checksum-generatePom/verify.groovy
+++ b/src/it/local-repo-override-with-checksum-generatePom/verify.groovy
@@ -21,21 +21,19 @@ import java.io.*;
import java.util.*;
import java.lang.*;
-import org.apache.maven.plugins.install.Utils;
-
String[] paths =
-{
+[
"gid/test/0.1/test-0.1.jar",
"gid/test/0.1/test-0.1.pom",
-};
+];
String[] pathsWhichShouldNotExist =
-{
+[
"gid/test/0.1/test-0.1.jar.md5",
"gid/test/0.1/test-0.1.jar.sha1",
"gid/test/0.1/test-0.1.pom.md5",
"gid/test/0.1/test-0.1.pom.sha1",
-};
+];
for ( String path : paths )
{
diff --git a/src/it/local-repo-override-with-checksum/verify.groovy b/src/it/local-repo-override-with-checksum/verify.groovy
index 11208cc..75a5001 100644
--- a/src/it/local-repo-override-with-checksum/verify.groovy
+++ b/src/it/local-repo-override-with-checksum/verify.groovy
@@ -21,18 +21,16 @@ import java.io.*;
import java.util.*;
import java.lang.*;
-import org.apache.maven.plugins.install.Utils;
-
String[] paths =
-{
+[
"gid/test/0.1/test-0.1.jar",
-};
+];
String[] pathsWhichAreNotAllowedToBeThere =
-{
+[
"gid/test/0.1/test-0.1.jar.md5",
"gid/test/0.1/test-0.1.jar.sha1",
-};
+];
for ( String path : pathsWhichAreNotAllowedToBeThere )
{
diff --git a/src/it/local-repo-override/verify.groovy b/src/it/local-repo-override/verify.groovy
index dda8cf5..0967f3e 100644
--- a/src/it/local-repo-override/verify.groovy
+++ b/src/it/local-repo-override/verify.groovy
@@ -21,9 +21,9 @@ import java.io.*;
import java.util.*;
String[] paths =
-{
+[
"gid/test/0.1/test-0.1.jar",
-};
+];
for ( String path : paths )
{
diff --git a/src/it/minstall-55/verify.groovy b/src/it/minstall-55/verify.groovy
index fb8984f..2affff8 100644
--- a/src/it/minstall-55/verify.groovy
+++ b/src/it/minstall-55/verify.groovy
@@ -21,11 +21,11 @@ import java.io.*;
import java.util.*;
String[] paths =
-{
+[
"org/apache/maven/its/install/55/test/maven-metadata-local.xml",
"org/apache/maven/its/install/55/test/1.0/test-1.0.pom",
"org/apache/maven/its/install/55/test/1.0/test-1.0.jar",
-};
+];
for ( String path : paths )
{
diff --git a/src/it/non-default-pom/verify.groovy b/src/it/non-default-pom/verify.groovy
index 5941ac7..d5e099a 100644
--- a/src/it/non-default-pom/verify.groovy
+++ b/src/it/non-default-pom/verify.groovy
@@ -21,11 +21,11 @@ import java.io.*;
import java.util.*;
String[] paths =
-{
+[
"org/apache/maven/its/install/ndp/test/maven-metadata-local.xml",
"org/apache/maven/its/install/ndp/test/1.0-SNAPSHOT/maven-metadata-local.xml",
"org/apache/maven/its/install/ndp/test/1.0-SNAPSHOT/test-1.0-SNAPSHOT.pom",
-};
+];
for ( String path : paths )
{
diff --git a/src/it/pom-checksum/verify.groovy b/src/it/pom-checksum/verify.groovy
index a8cff55..7a642f6 100644
--- a/src/it/pom-checksum/verify.groovy
+++ b/src/it/pom-checksum/verify.groovy
@@ -21,20 +21,18 @@ import java.io.*;
import java.util.*;
import java.lang.*;
-import org.apache.maven.plugins.install.Utils;
-
String[] paths =
-{
+[
"org/apache/maven/its/install/pc/test/1.0-SNAPSHOT/test-1.0-SNAPSHOT.pom",
"org/apache/maven/its/install/pc/test/1.0-SNAPSHOT/maven-metadata-local.xml",
"org/apache/maven/its/install/pc/test/maven-metadata-local.xml",
-};
+];
String[] pathsWhichShouldNotExist =
-{
+[
"org/apache/maven/its/install/pc/test/1.0-SNAPSHOT/test-1.0-SNAPSHOT.pom.md5",
"org/apache/maven/its/install/pc/test/1.0-SNAPSHOT/test-1.0-SNAPSHOT.pom.sha1",
-};
+];
for ( String path : paths )
{
diff --git a/src/it/release-jar/verify.groovy b/src/it/release-jar/verify.groovy
index c7fc31f..a862f37 100644
--- a/src/it/release-jar/verify.groovy
+++ b/src/it/release-jar/verify.groovy
@@ -21,11 +21,11 @@ import java.io.*;
import java.util.*;
String[] paths =
-{
+[
"org/apache/maven/its/install/rj/test/maven-metadata-local.xml",
"org/apache/maven/its/install/rj/test/1.0/test-1.0.pom",
"org/apache/maven/its/install/rj/test/1.0/test-1.0.jar",
-};
+];
for ( String path : paths )
{
diff --git a/src/it/release-pom/verify.groovy b/src/it/release-pom/verify.groovy
index fd79c9f..943f28f 100644
--- a/src/it/release-pom/verify.groovy
+++ b/src/it/release-pom/verify.groovy
@@ -21,10 +21,10 @@ import java.io.*;
import java.util.*;
String[] paths =
-{
+[
"org/apache/maven/its/install/rp/test/maven-metadata-local.xml",
"org/apache/maven/its/install/rp/test/1.0/test-1.0.pom",
-};
+];
for ( String path : paths )
{
diff --git a/src/it/skip-install/verify.groovy b/src/it/skip-install/verify.groovy
index 6491763..4f44422 100644
--- a/src/it/skip-install/verify.groovy
+++ b/src/it/skip-install/verify.groovy
@@ -21,11 +21,11 @@ import java.io.*;
import java.util.*;
String[] paths =
-{
+[
"org/apache/maven/its/install/skip/test/maven-metadata-local.xml",
"org/apache/maven/its/install/skip/test/1.0/test-1.0.pom",
"org/apache/maven/its/install/skip/test/1.0/test-1.0.jar",
-};
+];
for ( String path : paths )
{
diff --git a/src/it/snapshot-jar/verify.groovy b/src/it/snapshot-jar/verify.groovy
index 4c486d0..811ed08 100644
--- a/src/it/snapshot-jar/verify.groovy
+++ b/src/it/snapshot-jar/verify.groovy
@@ -21,12 +21,12 @@ import java.io.*;
import java.util.*;
String[] paths =
-{
+[
"org/apache/maven/its/install/sj/test/maven-metadata-local.xml",
"org/apache/maven/its/install/sj/test/1.0-SNAPSHOT/maven-metadata-local.xml",
"org/apache/maven/its/install/sj/test/1.0-SNAPSHOT/test-1.0-SNAPSHOT.pom",
"org/apache/maven/its/install/sj/test/1.0-SNAPSHOT/test-1.0-SNAPSHOT.jar",
-};
+];
for ( String path : paths )
{
diff --git a/src/it/snapshot-pom/verify.groovy b/src/it/snapshot-pom/verify.groovy
index 11e164b..7403ead 100644
--- a/src/it/snapshot-pom/verify.groovy
+++ b/src/it/snapshot-pom/verify.groovy
@@ -21,11 +21,11 @@ import java.io.*;
import java.util.*;
String[] paths =
-{
+[
"org/apache/maven/its/install/sp/test/maven-metadata-local.xml",
"org/apache/maven/its/install/sp/test/1.0-SNAPSHOT/maven-metadata-local.xml",
"org/apache/maven/its/install/sp/test/1.0-SNAPSHOT/test-1.0-SNAPSHOT.pom",
-};
+];
for ( String path : paths )
{