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 10:47:17 UTC

(maven-archetype) branch master updated: Deprecate BeanShell verify scripts for archetype:integration-test

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-archetype.git


The following commit(s) were added to refs/heads/master by this push:
     new 7ea1d86d Deprecate BeanShell verify scripts for archetype:integration-test
7ea1d86d is described below

commit 7ea1d86dca462a00ffbcafed38e119c8504b6df9
Author: Sylwester Lachiewicz <sl...@apache.org>
AuthorDate: Sun Sep 20 12:20:41 2026 +0200

    Deprecate BeanShell verify scripts for archetype:integration-test
    
    Groovy is the second engine, and the bsh artifact has had no release on
    Central since 2016. Tracked in apache/maven#13207.
---
 .../java/org/apache/maven/archetype/mojos/IntegrationTestMojo.java     | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/maven-archetype-plugin/src/main/java/org/apache/maven/archetype/mojos/IntegrationTestMojo.java b/maven-archetype-plugin/src/main/java/org/apache/maven/archetype/mojos/IntegrationTestMojo.java
index 39e5dcca..855adacb 100644
--- a/maven-archetype-plugin/src/main/java/org/apache/maven/archetype/mojos/IntegrationTestMojo.java
+++ b/maven-archetype-plugin/src/main/java/org/apache/maven/archetype/mojos/IntegrationTestMojo.java
@@ -182,7 +182,8 @@ public class IntegrationTestMojo extends AbstractMojo {
      * Relative path of a cleanup/verification hook script to run after executing the build. This script may be written
      * with either BeanShell or Groovy. If the file extension is omitted (e.g. <code>verify</code>), the
      * plugin searches for the file by trying out the well-known extensions <code>.bsh</code> and <code>.groovy</code>.
-     * If this script exists for a particular project but returns any non-null value different from <code>true</code> or
+     * BeanShell scripts are deprecated and will stop being supported; write new scripts in Groovy and port existing
+     * <code>.bsh</code> scripts. If this script exists for a particular project but returns any non-null value different from <code>true</code> or
      * throws an exception, the corresponding build is flagged as a failure.
      *
      * @since 2.2