Skip to content

Releases: groovy/GMavenPlus

4.0.1

02 Oct 18:21
Compare
Choose a tag to compare

Bugs

  • Fix broken plugin due to problems encountered during release process (#314)

Enhancements

None

Potentially breaking changes

None

Notes

None

4.0.0

02 Oct 13:33
Compare
Choose a tag to compare

Bugs

None

Enhancements

  • Support Java 22 and 23 (#302)
  • Multiple dependency upgrades, including some that fixed CVEs
  • Added a warning about using SecurityManager to prevent System.exit() calls. JEP 411 deprecated SecurityManager in Java 17, for future removal. It is unclear what it will be replaced with for the use case of preventing System.exit() usages. JDK-8199704 is one possibility.

Potentially breaking changes

  • Updated the required Maven version to 3.6.3 to conform to the compatibility plan (#309)

Notes

None

3.0.2

28 Sep 20:57
Compare
Choose a tag to compare

Bugs

[#280] The 3.0.1 jar was corrupt (thanks @eugene-sadovsky for reporting this!).

Enhancements

Potentially breaking changes

None.

Notes

The CVE fixed were related to dependencies of the plugin. While I haven't done an analysis of whether they were exploitable (since this is a Maven plugin and not an application), it seems unlikely.

3.0.1

28 Sep 16:53
Compare
Choose a tag to compare

Bugs

  • [#276] Fix that enabling skipBytecodeCheck causes the Groovy version to be reported as not supporting the goal (thanks for reporting this @jgenoctr!).

Enhancements

Potentially breaking changes

None.

Notes

The CVEs fixed were related to dependencies of the plugin. While I haven't done an analysis of whether they were exploitable (since this is a Maven plugin and not an application), it seems unlikely.

3.0.0

24 May 00:44
Compare
Choose a tag to compare

Bugs

  • [#244] Fix Maven plugin validation warnings (thanks @hazendaz!).

Enhancements

  • [#239] Require Maven 3.2.5.

Potentially breaking changes

Maven's compatibility plan marked Maven versions older than 3.2.5 as EOL in March 2023. Therefore, we now require 3.2.5 to move forward with the rest of the ecosystem.

Notes

Fixing the validation warnings removed some Maven dependencies from the plugin's classpath (instead of using the ones from Maven itself). I'm not aware of any negative consequences of this, but it's possible certain specialized use cases might encounter changes in behavior.

2.1.0

21 Oct 00:59
Compare
Choose a tag to compare

Bugs

None.

Enhancements

  • [#230] Recognize JDK 19 as a valid target bytecode.
  • [#232] Recognize JDK 20 as a valid target bytecode.

Potentially breaking changes

None.

Notes

None.

2.0.0

09 Oct 17:04
Compare
Choose a tag to compare

Bugs

None.

Enhancements

  • [#210] Improve error messages when Groovy classes can't be located (avoiding the NullPointerExceptions that were causing confusion and instead throwing our own exception).
  • [#221] apache/groovy@8d19017#diff-5522480b605c81fc7dd50f58b857f5fc8802ea69229742441c6fdef328846062 caused an exception to be thrown for Groovy 4.0.0-RC-1 and newer when binding properties in a script/console/shell and bindPropertiesToSeparateVariables is false. The error logging when this happens has been improved.
  • [#223] Support 5, 6, 7, 8, and 1.9 arguments to targetBytecode so that validation doesn't unexpectedly fail since it uses the maven.compiler.target property and these arguments are valid for javac.

Potentially breaking changes

This release requires Java 8 and drops support for Java 7. This was necessary to update dependencies which fix vulnerabilities. Specifically, in maven-archiver. At the time of release, the following dependencies were not compatible with Java 7

  • org.apache.commons:commons-compress
  • org.codehaus.plexus:plexus-archiver
  • org.apache.maven:maven-archiver
  • org.codehaus.plexus:plexus-io
  • org.codehaus.plexus:plexus-utils

This is not the first breaking release, but it is the first breaking release to follow the semver conventions.

Notes

None.

1.13.1

23 Nov 21:50
Compare
Choose a tag to compare

Bugs

  • [#203] Using bindAllProjectProperties and bindSessionUserOverrideProperties together can cause an NPE (thanks for reporting this @sebthom!).

Enhancements

None

Potentially breaking changes

None.

Notes

None.

1.13.0

19 Sep 22:59
Compare
Choose a tag to compare

Bugs

None.

Enhancements

  • [#196] Add support for targetting Java 17 (thanks @chiquitinxx!).
  • [#198] Add support for targetting Java 18.
  • [#188/#193] Update Ant from 1.10.8 to 1.10.11.

Potentially breaking changes

None.

Notes

None.

1.12.1

03 Jan 07:19
Compare
Choose a tag to compare

Bugs

  • [#186] Certain AST transformations had classloader issues because 1.12.0 was no longer setting the context classloader.

Enhancements

  • Update Jansi to 2.x.

Potentially breaking changes

The Jansi upgrade should generally be compatible, but could cause issues with scripts that were using Jansi 1.x specific classes.

Notes

None.