Skip to content

Update gmavenplus-plugin.version to v5 - #1400

Merged
renovate[bot] merged 1 commit into
masterfrom
renovate/major-gmavenplus-plugin.version
Jun 4, 2026
Merged

renovate[bot] merged 1 commit into
masterfrom
renovate/major-gmavenplus-plugin.version

Conversation

@renovate

@renovate renovate Bot commented Jun 4, 2026

Copy link
Copy Markdown
Contributor

This PR contains the following updates:

Package Change Age Confidence
org.codehaus.gmavenplus:gmavenplus-plugin (source) 4.3.1 → 5.0.0 age confidence

Release Notes

groovy/GMavenPlus (org.codehaus.gmavenplus:gmavenplus-plugin)

v5.0.0

Compare Source

Bugs

  • Fix Javadoc mismatch in ReflectionUtils.getDeclaredMethods (#​365)
  • Remove unneeded fork parameter (#​361)
  • Fix Groovy 5 shell support (closes #​367) (#​380)

Enhancements

Potentially breaking changes

  • Removed the fork parameter
  • GMavenPlus no longer includes JLine, Jansi, Ant, or Ivy dependencies

Notes

  • GMavenPlus used to include the Jansi 2.4 and JLine 2.14.6 so that Groovy 2.2.0-beta-1 and newer would have colors work in Groovysh out of the box. However, JLine 2 is EOL, Groovy 5.x uses Jline 3, and Groovy 6.x uses JLine 4. Additionally, Maven 3.9 introduces a JLine 2.x into the classpath. This meant that Groovy 5.x and 6.x would never have their colors work with Maven 3.9.
  • GMavenPlus used to include Ant and Ivy, to make it easy to use @Grab and AntBuilder in scripts, Groovysh, and Groovy Console. The need to remove JLine/Jansi gave a reason to revisit this philosophy. Here are the reasons why this was abandoned.
    • The plugin version can win over the version in the project (unless you make sure to use an <exclusion>
    • To avoid downloading dependencies you may or may not need
    • If future Groovy versions use other versions of Ant/Ivy (like we ran into with JLine/Jansi), we'll have a similar breaking change needed
  • Here are examples of how to add back the dependencies you need
    <plugin>
      <groupId>org.codehaus.gmavenplus</groupId>
      <artifactId>gmavenplus-plugin</artifactId>
      <version>5.0.0</version>
      <executions>
        <execution>
          <goals>
            <goal>execute</goal>
          </goals>
        </execution>
      </executions>
      <dependencies>
        <!-- Add Apache Ant if using AntBuilder -->
        <dependency>
          <groupId>org.apache.ant</groupId>
          <artifactId>ant</artifactId>
          <version>1.10.15</version>
        </dependency>
        <!-- Add Apache Ivy if using @&#8203;Grab -->
        <dependency>
          <groupId>org.apache.ivy</groupId>
          <artifactId>ivy</artifactId>
          <version>2.5.3</version>
        </dependency>
        <!-- Add JLine 2 if using shell with Groovy 2.x/3.x/4.x -->
        <dependency>
          <groupId>jline</groupId>
          <artifactId>jline</artifactId>
          <version>2.14.6</version>
        </dependency>
        <!-- Add JAnsi 1.x for terminal colors with JLine 2 -->
        <dependency>
          <groupId>org.fusesource.jansi</groupId>
          <artifactId>jansi</artifactId>
          <version>1.18</version>
        </dependency>
      </dependencies>
    </plugin>

Full Changelog: groovy/GMavenPlus@4.3.1...5.0.0


Configuration

📅 Schedule: (UTC)

  • Branch creation
    • Between 12:00 AM and 03:59 AM (* 0-3 * * *)
  • Automerge
    • At any time (no schedule defined)

🚦 Automerge: Enabled.

♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate Bot added the dependencies Pull requests that update a dependency file label Jun 4, 2026
@renovate
renovate Bot enabled auto-merge (squash) June 4, 2026 02:52
@renovate
renovate Bot merged commit 60ae212 into master Jun 4, 2026
13 checks passed
@renovate
renovate Bot deleted the renovate/major-gmavenplus-plugin.version branch June 4, 2026 02:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants