You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "slachiewicz (via GitHub)" <gi...@apache.org> on 2026/09/20 14:38:24 UTC

[PR] Run verify scripts with Groovy directly and drop maven-script-interpreter [maven-archetype]

slachiewicz opened a new pull request, #1032:
URL: https://github.com/apache/maven-archetype/pull/1032

   `archetype:integration-test` used maven-script-interpreter for one thing: the `verify` script of each test project. That now runs through the `GroovyShell` the plugin already has for `archetype-post-generate.groovy` (`VerifyScriptRunner`: same variables `basedir`, `scriptdir`, `context`, same pass rule of `null` or `true`, output bound as `out`), and the `build.log` handler is a small class on maven-invoker's `InvocationOutputHandler` instead of a subclass of the library's `FileLogger` — it is also closed now, which the old code never did. BeanShell verify scripts, deprecated in 3.4.2 (#1030), fail the test with "BeanShell verify scripts are no longer supported, port … to Groovy"; a new IT covers that. Part of the retirement tracked in apache/maven#13207.
   
   For 3.5.0, since `.bsh` verify scripts stop working.
   
   Verified: `mvn verify -Prun-its -pl maven-archetype-plugin` → Passed: 33, Failed: 0 (32 existing ITs plus the new one); unit tests 22/22; `apache-rat:check` clean.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@maven.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] Run verify scripts with Groovy directly and drop maven-script-interpreter [maven-archetype]

Posted by "slachiewicz (via GitHub)" <gi...@apache.org>.
slachiewicz merged PR #1032:
URL: https://github.com/apache/maven-archetype/pull/1032


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@maven.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org