Fork me on GitHub

gplus:console

Full name:

org.codehaus.gmavenplus:gmavenplus-plugin:1.6:console

Description:

Launches a Groovy console window bound to the current project. Note that this mojo requires Groovy >= 1.5.0. Note that it references the plugin classloader to pull in dependencies Groovy didn't include (for things like Ant for AntBuilder, Ivy for @grab, and Jansi for Groovysh).

Attributes:

  • Requires a Maven project to be executed.
  • Requires dependency resolution of artifacts in scope: test.
  • Since version: 1.1.

Optional Parameters

Name Type Since Description
allowSystemExits boolean 1.2 Whether to allow System.exit() to be used.
Default value is: false.
bindPropertiesToSeparateVariables boolean 1.2 Whether to bind each property to a separate variable (otherwise binds properties to a single 'properties' variable).
Default value is: true.
properties Properties 1.0-beta-3 Properties to make available in scripts as variables using the property name. By default will include
project
A org.apache.maven.project.Project object of the current Maven project.
session
A org.apache.maven.execution.MavenSession object of the current Maven session.
pluginArtifacts
A list of org.apache.maven.artifact.Artifact objects of this plugin's artifacts.
mojoExecution
A org.apache.maven.plugin.MojoExecution object of this plugin's mojo execution.
log
A org.apache.maven.plugin.logging.Log object of Maven's log.
ant
A groovy.util.AntBuilder object.
These can be overridden.
skipTests boolean 1.1 Flag to allow test compilation to be skipped.
Default value is: false.
User property is: maven.test.skip.

Parameter Details

allowSystemExits:

Whether to allow System.exit() to be used.
  • Type: boolean
  • Since: 1.2
  • Required: No
  • Default: false

bindPropertiesToSeparateVariables:

Whether to bind each property to a separate variable (otherwise binds properties to a single 'properties' variable).
  • Type: boolean
  • Since: 1.2
  • Required: No
  • Default: true

properties:

Properties to make available in scripts as variables using the property name. By default will include
project
A org.apache.maven.project.Project object of the current Maven project.
session
A org.apache.maven.execution.MavenSession object of the current Maven session.
pluginArtifacts
A list of org.apache.maven.artifact.Artifact objects of this plugin's artifacts.
mojoExecution
A org.apache.maven.plugin.MojoExecution object of this plugin's mojo execution.
log
A org.apache.maven.plugin.logging.Log object of Maven's log.
ant
A groovy.util.AntBuilder object.
These can be overridden.
  • Type: java.util.Properties
  • Since: 1.0-beta-3
  • Required: No

skipTests:

Flag to allow test compilation to be skipped.
  • Type: boolean
  • Since: 1.1
  • Required: No
  • User Property: maven.test.skip
  • Default: false