Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package maven-script-interpreter for
openSUSE:Factory checked in at 2026-04-23 17:09:06
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/maven-script-interpreter (Old)
and /work/SRC/openSUSE:Factory/.maven-script-interpreter.new.11940 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "maven-script-interpreter"
Thu Apr 23 17:09:06 2026 rev:6 rq:1348896 version:1.7
Changes:
--------
---
/work/SRC/openSUSE:Factory/maven-script-interpreter/maven-script-interpreter.changes
2024-09-27 17:12:39.929591096 +0200
+++
/work/SRC/openSUSE:Factory/.maven-script-interpreter.new.11940/maven-script-interpreter.changes
2026-04-23 17:13:42.947153269 +0200
@@ -1,0 +2,21 @@
+Thu Apr 23 06:37:40 UTC 2026 - Fridrich Strba <[email protected]>
+
+- Upgrade to version 1.7
+ * New features and improvements
+ + Refactor FileLogger to allow customizable output stream
+ creation
+ * Maintenance
+ + Remove redundant diagnose logging
+ + Update site descriptor to 2.0
+ + fix _extends pth in release-drafter
+ + Upgrade parent pom to 45
+ + JUnit Jupiter best practices
+ + feat: enable prevent branch protection rules
+ + Enable Github Issues
+ * Dependency updates
+ + Bump org.apache.groovy:groovy from 4.0.21 to 4.0.31
+ + Bump org.apache.maven.shared:maven-shared-components from 45
+ to 47
+ + Bump commons-io:commons-io from 2.16.1 to 2.21.0
+
+-------------------------------------------------------------------
Old:
----
maven-script-interpreter-1.6-source-release.zip
New:
----
_scmsync.obsinfo
build.specials.obscpio
maven-script-interpreter-1.7-source-release.zip
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ maven-script-interpreter.spec ++++++
--- /var/tmp/diff_new_pack.5tSFqB/_old 2026-04-23 17:13:43.619180945 +0200
+++ /var/tmp/diff_new_pack.5tSFqB/_new 2026-04-23 17:13:43.619180945 +0200
@@ -1,7 +1,7 @@
#
# spec file for package maven-script-interpreter
#
-# Copyright (c) 2024 SUSE LLC
+# Copyright (c) 2026 SUSE LLC and contributors
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -17,13 +17,13 @@
Name: maven-script-interpreter
-Version: 1.6
+Version: 1.7
Release: 0
Summary: Maven Script Interpreter
License: Apache-2.0
Group: Development/Libraries/Java
URL: https://maven.apache.org/shared/maven-script-interpreter/
-Source0:
https://dlcdn.apache.org/maven/shared/%{name}-%{version}-source-release.zip
+Source0:
https://archive.apache.org/dist/maven/shared/%{name}-%{version}-source-release.zip
Source1: %{name}-build.xml
BuildRequires: ant
BuildRequires: apache-commons-io
++++++ _scmsync.obsinfo ++++++
mtime: 1776926565
commit: 42ff4fbd685e2a6ff1ec298c34c673aab502159b649c29e2baa1c3e6bca40663
url: https://src.opensuse.org/java-packages/maven-script-interpreter.git
revision: 42ff4fbd685e2a6ff1ec298c34c673aab502159b649c29e2baa1c3e6bca40663
projectscmsync: https://src.opensuse.org/java-packages/_ObsPrj
++++++ build.specials.obscpio ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/.gitignore new/.gitignore
--- old/.gitignore 1970-01-01 01:00:00.000000000 +0100
+++ new/.gitignore 2026-04-23 08:43:49.000000000 +0200
@@ -0,0 +1 @@
+.osc
++++++ maven-script-interpreter-1.6-source-release.zip ->
maven-script-interpreter-1.7-source-release.zip ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/maven-script-interpreter-1.6/.gitignore
new/maven-script-interpreter-1.7/.gitignore
--- old/maven-script-interpreter-1.6/.gitignore 2024-04-29 21:40:18.000000000
+0200
+++ new/maven-script-interpreter-1.7/.gitignore 1970-01-01 01:00:00.000000000
+0100
@@ -1,15 +0,0 @@
-target/
-.project
-.classpath
-.settings/
-.svn/
-bin/
-# Intellij
-*.ipr
-*.iml
-.idea
-out/
-.DS_Store
-/bootstrap
-/dependencies.xml
-.java-version
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/maven-script-interpreter-1.6/DEPENDENCIES
new/maven-script-interpreter-1.7/DEPENDENCIES
--- old/maven-script-interpreter-1.6/DEPENDENCIES 2024-04-29
21:40:18.000000000 +0200
+++ new/maven-script-interpreter-1.7/DEPENDENCIES 2026-04-14
20:26:16.000000000 +0200
@@ -14,7 +14,7 @@
From: 'Apache Software Foundation' (https://apache.org)
- - Apache Groovy (https://groovy-lang.org) org.apache.groovy:groovy:jar:4.0.21
+ - Apache Groovy (https://groovy-lang.org) org.apache.groovy:groovy:jar:4.0.31
License: The Apache Software License, Version 2.0
(https://www.apache.org/licenses/LICENSE-2.0.txt)
@@ -26,7 +26,7 @@
From: 'The Apache Software Foundation' (https://www.apache.org/)
- - Apache Commons IO (https://commons.apache.org/proper/commons-io/)
commons-io:commons-io:jar:2.16.1
+ - Apache Commons IO (https://commons.apache.org/proper/commons-io/)
commons-io:commons-io:jar:2.21.0
License: Apache-2.0 (https://www.apache.org/licenses/LICENSE-2.0.txt)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/maven-script-interpreter-1.6/NOTICE
new/maven-script-interpreter-1.7/NOTICE
--- old/maven-script-interpreter-1.6/NOTICE 2024-04-29 21:40:18.000000000
+0200
+++ new/maven-script-interpreter-1.7/NOTICE 2026-04-14 20:26:16.000000000
+0200
@@ -1,5 +1,5 @@
Apache Maven Script Interpreter
-Copyright 2002-2024 The Apache Software Foundation
+Copyright 2002-2026 The Apache Software Foundation
This product includes software developed at
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/maven-script-interpreter-1.6/README.md
new/maven-script-interpreter-1.7/README.md
--- old/maven-script-interpreter-1.6/README.md 2024-04-29 21:40:18.000000000
+0200
+++ new/maven-script-interpreter-1.7/README.md 2026-04-14 20:26:16.000000000
+0200
@@ -17,15 +17,14 @@
Contributing to [Apache Maven Script
Interpreter](https://maven.apache.org/shared/maven-script-interpreter/)
======================
-[][jira]
[][license]
[](https://search.maven.org/artifact/org.apache.maven.shared/maven-script-interpreter)
-[](https://github.com/jvm-repo-rebuild/reproducible-central/blob/master/content/org/apache/maven/shared/maven-script-interpreter/README.md)
+[](https://github.com/jvm-repo-rebuild/reproducible-central/blob/master/content/org/apache/maven/shared/maven-script-interpreter/README.md)
[][build]
[][test-results]
-You have found a bug or you have an idea for a cool new feature? Contributing
+You have found a bug, or you have an idea for a cool new feature? Contributing
code is a great way to give something back to the open source community. Before
you dig right into the code, there are a few guidelines that we need
contributors to follow so that we can have a chance of keeping on top of
@@ -34,7 +33,6 @@
Getting Started
---------------
-+ Make sure you have a [JIRA account](https://issues.apache.org/jira/).
+ Make sure you have a [GitHub account](https://github.com/signup/free).
+ If you're planning to implement a new feature, it makes sense to discuss
your changes
on the [dev list][ml-list] first.
@@ -60,37 +58,23 @@
+ Create minimal diffs - disable on save actions like reformat source code
or organize imports.
If you feel the source code should be reformatted, create a separate PR
for this change.
+ Check for unnecessary whitespace with `git diff --check` before committing.
-+ Make sure your commit messages are in the proper format. Your commit message
should contain the key of the JIRA issue.
-```
-[MSHARED-XXX] - Subject of the JIRA Ticket
- Optional supplemental description.
-```
+ Make sure you have added the necessary tests (JUnit/IT) for your changes.
+ Run all the tests with `mvn -Prun-its verify` to assure nothing else was
accidentally broken.
+ Submit a pull request to the repository in the Apache organization.
-+ Update your JIRA ticket and include a link to the pull request in the ticket.
If you plan to contribute on a regular basis, please consider filing a
[contributor license agreement][cla].
-Making Trivial Changes
-----------------------
-
-For changes of a trivial nature to comments and documentation, it is not always
-necessary to create a new ticket in JIRA. In this case, it is appropriate to
-start the first line of a commit with '(doc)' instead of a ticket number.
-
Additional Resources
--------------------
+ [Contributing
patches](https://maven.apache.org/guides/development/guide-maven-development.html#Creating_and_submitting_a_patch)
-+ [Apache Maven Shared Components project page][jira]
+ [Contributor License Agreement][cla]
+ [General GitHub documentation](https://help.github.com/)
+ [GitHub pull request
documentation](https://help.github.com/send-pull-requests/)
-+ [Apache Maven Twitter Account](https://twitter.com/ASFMavenProject)
-+ #Maven IRC channel on freenode.org
++ [Apache Maven X Account](https://x.com/ASFMavenProject)
++ [Apache Maven Bluesky Account](https://bsky.app/profile/maven.apache.org)
++ [Apache Maven Mastodon
Account](https://mastodon.social/deck/@[email protected])
-[jira]: https://issues.apache.org/jira/projects/MSHARED/
[license]: https://www.apache.org/licenses/LICENSE-2.0
[ml-list]: https://maven.apache.org/mailing-lists.html
[code-style]: https://maven.apache.org/developers/conventions/code.html
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/maven-script-interpreter-1.6/pom.xml
new/maven-script-interpreter-1.7/pom.xml
--- old/maven-script-interpreter-1.6/pom.xml 2024-04-29 21:40:18.000000000
+0200
+++ new/maven-script-interpreter-1.7/pom.xml 2026-04-14 20:26:16.000000000
+0200
@@ -22,12 +22,12 @@
<parent>
<groupId>org.apache.maven.shared</groupId>
<artifactId>maven-shared-components</artifactId>
- <version>42</version>
+ <version>47</version>
<relativePath />
</parent>
<artifactId>maven-script-interpreter</artifactId>
- <version>1.6</version>
+ <version>1.7</version>
<name>Apache Maven Script Interpreter</name>
<description>This component provides some utilities to interpret/execute
some scripts for various implementations:
@@ -36,12 +36,12 @@
<scm>
<connection>scm:git:https://gitbox.apache.org/repos/asf/maven-script-interpreter.git</connection>
<developerConnection>scm:git:https://gitbox.apache.org/repos/asf/maven-script-interpreter.git</developerConnection>
- <tag>maven-script-interpreter-1.6</tag>
+ <tag>maven-script-interpreter-1.7</tag>
<url>https://github.com/apache/maven-script-interpreter/tree/${project.scm.tag}</url>
</scm>
<issueManagement>
- <system>jira</system>
- <url>https://issues.apache.org/jira/browse/MSHARED</url>
+ <system>GitHub Issues</system>
+ <url>https://github.com/apache/maven-script-interpreter/issues</url>
</issueManagement>
<ciManagement>
<system>Jenkins</system>
@@ -55,21 +55,23 @@
</distributionManagement>
<properties>
-
<project.build.outputTimestamp>2024-04-29T21:40:17Z</project.build.outputTimestamp>
<slf4j.version>1.7.36</slf4j.version>
+
<project.build.outputTimestamp>2026-04-14T20:26:15Z</project.build.outputTimestamp>
+
+ <version.maven-invoker-plugin>3.9.1</version.maven-invoker-plugin>
</properties>
<dependencies>
<dependency>
<groupId>commons-io</groupId>
<artifactId>commons-io</artifactId>
- <version>2.16.1</version>
+ <version>2.21.0</version>
</dependency>
<dependency>
<groupId>org.apache.groovy</groupId>
<artifactId>groovy</artifactId>
- <version>4.0.21</version>
+ <version>4.0.31</version>
</dependency>
<dependency>
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/maven-script-interpreter-1.6/src/main/java/org/apache/maven/shared/scriptinterpreter/FileLogger.java
new/maven-script-interpreter-1.7/src/main/java/org/apache/maven/shared/scriptinterpreter/FileLogger.java
---
old/maven-script-interpreter-1.6/src/main/java/org/apache/maven/shared/scriptinterpreter/FileLogger.java
2024-04-29 21:40:18.000000000 +0200
+++
new/maven-script-interpreter-1.7/src/main/java/org/apache/maven/shared/scriptinterpreter/FileLogger.java
2026-04-14 20:26:16.000000000 +0200
@@ -23,6 +23,8 @@
import java.io.OutputStream;
import java.io.PrintStream;
import java.nio.file.Files;
+import java.nio.file.OpenOption;
+import java.nio.file.Path;
/**
* <p>FileLogger class.</p>
@@ -62,8 +64,9 @@
OutputStream outputStream;
if (outputFile != null) {
- outputFile.getParentFile().mkdirs();
- outputStream = Files.newOutputStream(outputFile.toPath());
+ Path outputPath = outputFile.toPath();
+ Files.createDirectories(outputPath.getParent());
+ outputStream = createOutputStream(outputPath);
} else {
outputStream = new NullOutputStream();
}
@@ -76,6 +79,16 @@
}
/**
+ * <p>Override this method to create a custom output stream.
+ *
+ * <p>By default, stream is created with {@link
Files#newOutputStream(Path, OpenOption...)},
+ * which truncate the existing file.
+ */
+ protected OutputStream createOutputStream(Path outputPath) throws
IOException {
+ return Files.newOutputStream(outputPath);
+ }
+
+ /**
* Gets the path to the output file.
*
* @return The path to the output file, never <code>null</code>.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/maven-script-interpreter-1.6/src/main/java/org/apache/maven/shared/scriptinterpreter/ScriptRunner.java
new/maven-script-interpreter-1.7/src/main/java/org/apache/maven/shared/scriptinterpreter/ScriptRunner.java
---
old/maven-script-interpreter-1.6/src/main/java/org/apache/maven/shared/scriptinterpreter/ScriptRunner.java
2024-04-29 21:40:18.000000000 +0200
+++
new/maven-script-interpreter-1.7/src/main/java/org/apache/maven/shared/scriptinterpreter/ScriptRunner.java
2026-04-14 20:26:16.000000000 +0200
@@ -48,12 +48,12 @@
* The supported script interpreters, indexed by the lower-case file
extension of their associated script files,
* never <code>null</code>.
*/
- private Map<String, ScriptInterpreter> scriptInterpreters;
+ private final Map<String, ScriptInterpreter> scriptInterpreters;
/**
* The common set of global variables to pass into the script interpreter,
never <code>null</code>.
*/
- private Map<String, Object> globalVariables;
+ private final Map<String, Object> globalVariables;
/**
* The file encoding of the hook scripts or <code>null</code> to use
platform encoding.
@@ -149,12 +149,6 @@
return;
}
- LOG.info(
- "run {} {}.{}",
- scriptDescription,
- relativeScriptPath,
- FilenameUtils.getExtension(scriptFile.getAbsolutePath()));
-
executeRun(scriptDescription, scriptFile, context, logger);
}
@@ -177,8 +171,6 @@
return;
}
- LOG.info("run {} {}", scriptDescription, scriptFile.getAbsolutePath());
-
executeRun(scriptDescription, scriptFile, context, logger);
}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/maven-script-interpreter-1.6/src/site/site.xml
new/maven-script-interpreter-1.7/src/site/site.xml
--- old/maven-script-interpreter-1.6/src/site/site.xml 2024-04-29
21:40:18.000000000 +0200
+++ new/maven-script-interpreter-1.7/src/site/site.xml 2026-04-14
20:26:16.000000000 +0200
@@ -19,8 +19,8 @@
under the License.
-->
-<project xmlns="http://maven.apache.org/DECORATION/1.8.1"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
- xsi:schemaLocation="http://maven.apache.org/DECORATION/1.8.1
https://maven.apache.org/xsd/decoration-1.8.1.xsd">
+<site xmlns="http://maven.apache.org/SITE/2.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="http://maven.apache.org/SITE/2.0.0
https://maven.apache.org/xsd/site-2.0.0.xsd">
<body>
<menu name="Overview">
<item name="Introduction" href="index.html"/>
@@ -34,4 +34,4 @@
<menu ref="parent"/>
<menu ref="reports"/>
</body>
-</project>
+</site>
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/maven-script-interpreter-1.6/src/test/java/org/apache/maven/shared/scriptinterpreter/BeanShellScriptInterpreterTest.java
new/maven-script-interpreter-1.7/src/test/java/org/apache/maven/shared/scriptinterpreter/BeanShellScriptInterpreterTest.java
---
old/maven-script-interpreter-1.6/src/test/java/org/apache/maven/shared/scriptinterpreter/BeanShellScriptInterpreterTest.java
2024-04-29 21:40:18.000000000 +0200
+++
new/maven-script-interpreter-1.7/src/test/java/org/apache/maven/shared/scriptinterpreter/BeanShellScriptInterpreterTest.java
2026-04-14 20:26:16.000000000 +0200
@@ -34,7 +34,7 @@
*/
class BeanShellScriptInterpreterTest {
@Test
- void testEvaluateScript() throws Exception {
+ void evaluateScript() throws Exception {
ByteArrayOutputStream out = new ByteArrayOutputStream();
try (ScriptInterpreter interpreter = new BeanShellScriptInterpreter())
{
assertEquals(
@@ -45,7 +45,7 @@
}
@Test
- void testEvaluateScriptVars() throws Exception {
+ void evaluateScriptVars() throws Exception {
Map<String, Object> vars = new HashMap<>();
vars.put("testVar", "data");
ByteArrayOutputStream out = new ByteArrayOutputStream();
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/maven-script-interpreter-1.6/src/test/java/org/apache/maven/shared/scriptinterpreter/FileLoggerTest.java
new/maven-script-interpreter-1.7/src/test/java/org/apache/maven/shared/scriptinterpreter/FileLoggerTest.java
---
old/maven-script-interpreter-1.6/src/test/java/org/apache/maven/shared/scriptinterpreter/FileLoggerTest.java
2024-04-29 21:40:18.000000000 +0200
+++
new/maven-script-interpreter-1.7/src/test/java/org/apache/maven/shared/scriptinterpreter/FileLoggerTest.java
2026-04-14 20:26:16.000000000 +0200
@@ -19,10 +19,10 @@
package org.apache.maven.shared.scriptinterpreter;
import java.io.File;
-import java.io.IOException;
import java.nio.file.Files;
import org.junit.jupiter.api.Test;
+import org.junit.jupiter.api.io.TempDir;
import static org.junit.jupiter.api.Assertions.assertEquals;
import static org.junit.jupiter.api.Assertions.assertNull;
@@ -36,7 +36,7 @@
public static final String EXPECTED_LOG = "Test1" + System.lineSeparator()
+ "Test2" + System.lineSeparator();
@Test
- public void nullOutputFileNoMirror() throws IOException {
+ void nullOutputFileNoMirror() throws Exception {
try (FileLogger fileLogger = new FileLogger(null)) {
fileLogger.consumeLine("Test1");
fileLogger.getPrintStream().println("Test2");
@@ -47,7 +47,7 @@
}
@Test
- public void nullOutputFileWithMirror() throws IOException {
+ void nullOutputFileWithMirror() throws Exception {
TestMirrorHandler mirrorHandler = new TestMirrorHandler();
try (FileLogger fileLogger = new FileLogger(null, mirrorHandler)) {
@@ -62,7 +62,7 @@
}
@Test
- public void nullOutputFileWithMirrorWriteByte() throws IOException {
+ void nullOutputFileWithMirrorWriteByte() throws Exception {
TestMirrorHandler mirrorHandler = new TestMirrorHandler();
try (FileLogger fileLogger = new FileLogger(null, mirrorHandler)) {
@@ -76,11 +76,8 @@
}
@Test
- public void outputFileNoMirror() throws IOException {
- File outputFile = new File("target/test.log");
- if (outputFile.exists()) {
- outputFile.delete();
- }
+ void outputFileNoMirror(@TempDir File tempDir) throws Exception {
+ File outputFile = new File(tempDir, "/target/test.log");
try (FileLogger fileLogger = new FileLogger(outputFile)) {
fileLogger.consumeLine("Test1");
@@ -95,11 +92,8 @@
}
@Test
- public void outputFileWithMirror() throws IOException {
- File outputFile = new File("target/test.log");
- if (outputFile.exists()) {
- outputFile.delete();
- }
+ void outputFileWithMirror(@TempDir File tempDir) throws Exception {
+ File outputFile = new File(tempDir, "target/test.log");
TestMirrorHandler mirrorHandler = new TestMirrorHandler();
try (FileLogger fileLogger = new FileLogger(outputFile,
mirrorHandler)) {
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/maven-script-interpreter-1.6/src/test/java/org/apache/maven/shared/scriptinterpreter/GroovyScriptInterpreterTest.java
new/maven-script-interpreter-1.7/src/test/java/org/apache/maven/shared/scriptinterpreter/GroovyScriptInterpreterTest.java
---
old/maven-script-interpreter-1.6/src/test/java/org/apache/maven/shared/scriptinterpreter/GroovyScriptInterpreterTest.java
2024-04-29 21:40:18.000000000 +0200
+++
new/maven-script-interpreter-1.7/src/test/java/org/apache/maven/shared/scriptinterpreter/GroovyScriptInterpreterTest.java
2026-04-14 20:26:16.000000000 +0200
@@ -37,7 +37,7 @@
*/
class GroovyScriptInterpreterTest {
@Test
- void testEvaluateScript() throws Exception {
+ void evaluateScript() throws Exception {
ByteArrayOutputStream out = new ByteArrayOutputStream();
try (ScriptInterpreter interpreter = new GroovyScriptInterpreter()) {
assertEquals(
@@ -48,7 +48,7 @@
}
@Test
- void testEvaluateScriptWithDefaultClassPath() throws Exception {
+ void evaluateScriptWithDefaultClassPath() throws Exception {
ByteArrayOutputStream out = new ByteArrayOutputStream();
try (ScriptInterpreter interpreter = new GroovyScriptInterpreter()) {
assertEquals(
@@ -65,7 +65,7 @@
}
@Test
- void testEvaluateScriptWithCustomClassPath() throws Exception {
+ void evaluateScriptWithCustomClassPath() throws Exception {
ByteArrayOutputStream out = new ByteArrayOutputStream();
try (ScriptInterpreter interpreter = new GroovyScriptInterpreter()) {
@@ -86,7 +86,7 @@
}
@Test
- void testEvaluateScriptVars() throws Exception {
+ void evaluateScriptVars() throws Exception {
Map<String, Object> vars = new HashMap<>();
vars.put("testVar", "data");
ByteArrayOutputStream out = new ByteArrayOutputStream();
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/maven-script-interpreter-1.6/src/test/java/org/apache/maven/shared/scriptinterpreter/ScriptRunnerTest.java
new/maven-script-interpreter-1.7/src/test/java/org/apache/maven/shared/scriptinterpreter/ScriptRunnerTest.java
---
old/maven-script-interpreter-1.6/src/test/java/org/apache/maven/shared/scriptinterpreter/ScriptRunnerTest.java
2024-04-29 21:40:18.000000000 +0200
+++
new/maven-script-interpreter-1.7/src/test/java/org/apache/maven/shared/scriptinterpreter/ScriptRunnerTest.java
2026-04-14 20:26:16.000000000 +0200
@@ -36,13 +36,13 @@
/**
* @author Olivier Lamy
*/
-public class ScriptRunnerTest {
+class ScriptRunnerTest {
@TempDir
private File tempDir;
@Test
- public void testBeanshell() throws Exception {
+ void beanshell() throws Exception {
File logFile = new File(tempDir, "build.log");
TestMirrorHandler mirrorHandler = new TestMirrorHandler();
@@ -62,7 +62,7 @@
}
@Test
- public void beanshellReturnedNullShouldBeOk() throws Exception {
+ void beanshellReturnedNullShouldBeOk() throws Exception {
File logFile = new File(tempDir, "build.log");
TestMirrorHandler mirrorHandler = new TestMirrorHandler();
@@ -79,7 +79,7 @@
}
@Test
- public void failedBeanshellShouldCreateProperLogsMessage() throws
Exception {
+ void failedBeanshellShouldCreateProperLogsMessage() throws Exception {
File logFile = new File(tempDir, "build.log");
TestMirrorHandler mirrorHandler = new TestMirrorHandler();
@@ -100,7 +100,7 @@
}
@Test
- public void beanshellReturnedNotTrueShouldThrowException() throws
Exception {
+ void beanshellReturnedNotTrueShouldThrowException() throws Exception {
File logFile = new File(tempDir, "build.log");
TestMirrorHandler mirrorHandler = new TestMirrorHandler();
@@ -122,7 +122,7 @@
}
@Test
- public void testBeanshellWithFile() throws Exception {
+ void beanshellWithFile() throws Exception {
File logFile = new File(tempDir, "build.log");
TestMirrorHandler mirrorHandler = new TestMirrorHandler();
@@ -141,7 +141,7 @@
}
@Test
- public void testGroovy() throws Exception {
+ void groovy() throws Exception {
File logFile = new File(tempDir, "build.log");
TestMirrorHandler mirrorHandler = new TestMirrorHandler();
@@ -161,7 +161,7 @@
}
@Test
- public void groovyReturnedNullShouldBeOk() throws Exception {
+ void groovyReturnedNullShouldBeOk() throws Exception {
File logFile = new File(tempDir, "build.log");
TestMirrorHandler mirrorHandler = new TestMirrorHandler();
@@ -179,7 +179,7 @@
}
@Test
- public void failedGroovyShouldCreateProperLogsMessage() throws Exception {
+ void failedGroovyShouldCreateProperLogsMessage() throws Exception {
File logFile = new File(tempDir, "build.log");
TestMirrorHandler mirrorHandler = new TestMirrorHandler();
@@ -200,7 +200,7 @@
}
@Test
- public void groovyReturnedFalseShouldThrowException() throws Exception {
+ void groovyReturnedFalseShouldThrowException() throws Exception {
File logFile = new File(tempDir, "build.log");
TestMirrorHandler mirrorHandler = new TestMirrorHandler();
@@ -223,7 +223,7 @@
}
@Test
- public void testGroovyWithFile() throws Exception {
+ void groovyWithFile() throws Exception {
File logFile = new File(tempDir, "build.log");
TestMirrorHandler mirrorHandler = new TestMirrorHandler();
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/maven-script-interpreter-1.6/src/test/java/org/apache/maven/shared/scriptinterpreter/TestMirrorHandler.java
new/maven-script-interpreter-1.7/src/test/java/org/apache/maven/shared/scriptinterpreter/TestMirrorHandler.java
---
old/maven-script-interpreter-1.6/src/test/java/org/apache/maven/shared/scriptinterpreter/TestMirrorHandler.java
2024-04-29 21:40:18.000000000 +0200
+++
new/maven-script-interpreter-1.7/src/test/java/org/apache/maven/shared/scriptinterpreter/TestMirrorHandler.java
2026-04-14 20:26:16.000000000 +0200
@@ -25,7 +25,7 @@
private StringBuilder loggedMessage;
- public TestMirrorHandler() {
+ TestMirrorHandler() {
loggedMessage = new StringBuilder();
}
++++++ maven-script-interpreter-build.xml ++++++
--- /var/tmp/diff_new_pack.5tSFqB/_old 2026-04-23 17:13:43.947194453 +0200
+++ /var/tmp/diff_new_pack.5tSFqB/_new 2026-04-23 17:13:43.959194948 +0200
@@ -10,7 +10,7 @@
<property name="project.groupId" value="org.apache.maven.shared"/>
<property name="project.artifactId" value="maven-script-interpreter"/>
- <property name="project.version" value="1.6"/>
+ <property name="project.version" value="1.7"/>
<property name="project.name" value="Apache Maven Script Interpreter"/>
<property name="project.organization.name" value="The Apache Software
Foundation"/>