github groovy/GMavenPlus 1.2

latest releases: 3.0.2, 3.0.1, 3.0.0...
6 years ago

Bugs

  • [GMAVENPLUS-17] - Fixed that compilation classpath was getting polluted with GMavenPlus dependencies.
  • [GMAVENPLUS-18] - Fixed Java 5 Support. While GMavenPlus was compiled for Java 5 there were API calls that were incompatible with Java 5. These have been fied and Animal Sniffer has been added to the build to prevent that from happening again.

Enhancements

  • [GMAVENPLUS-19] - Default JLine Provided. It is no longer necessary to include JLine for using Groovysh, unless you are using Groovy < 2.2.0-beta-1.
  • [GMAVENPLUS-24] - You can now configure your scripts to use the GMaven style, for example properties['project'] instead of the default style of project.
  • [GMAVENPLUS-14] - The following properties have been added
Property Description
ant This is a groovy.util.AntBuilder object. Note that for Groovy >= 2.3.0-rc-1, you'll also need to include the groovy-ant dependency. GMavenPlus includes Ant by default for your convenience. The version can be overridden, of course.
log This is the org.apache.maven.plugin.logging.Log object used by GMavenPlus for logging.

Potentially breaking changes

  • Compile & Runtime Groovy Versions Must Match in Compilation Goals. You used to be able to override the version of Groovy used to compile your project and use a different version at runtime. While this practice was never recommended, as a consequence of the classpath isolation fix, you can't do this anymore. You still can specify the Groovy to use as a plugin dependency for the execution goals though.
  • [GMAVENPLUS-15] - System.exit Calls Forbade in Scripts, Console, and Shell. If you were using System.exit calls (or an equivalent) in your scripts, you need to replace these with an exception, or set the allowSystemExits property to true.
  • [GMAVENPLUS-20] - Removed groovy-jar Packaging. If you were using groovy-jar packaging, you need to change to the executions style of invocation.
  • [GMAVENPLUS-16] - Renamed some script properties. Perform the following replacements
Old Value New Value
settings session.settings
localRepository session.localRepository
reactorProjects session.sortedProjects

Notes

None

Don't miss a new GMavenPlus release

NewReleases is sending notifications on new releases.