[
http://jira.codehaus.org/browse/MGROOVY-149?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=139962#action_139962
]
Jason Dillon commented on MGROOVY-149:
--------------------------------------
Looks like we are gonna need to add 2 additional goals, one for the shell +
project deps and another for the console + project deps. The reason is that
Maven's plugin system has a notion of a goal which {{requiresProject}}, meaning
it can only run if there was a pom.xml that was found, or does not require.
Both of these goals current have {{requiresProject}} set to false, so you can
{{mvn groovy:console}} w/o creating any pom.
But sounds like you want to invoke the console/shell with a pom, and
unfortunately to do that means creating new goals to configure them to require
a project.
The change is relatively simply, just a matter of figuring out a name for those
goals that doesn't suck.
> Add command to launch GroovyConsole and GroovyShell with POM dependencies on
> classpath
> --------------------------------------------------------------------------------------
>
> Key: MGROOVY-149
> URL: http://jira.codehaus.org/browse/MGROOVY-149
> Project: GMaven
> Issue Type: New Feature
> Components: tools
> Reporter: Tom Nichols
> Assignee: Jason Dillon
> Priority: Minor
> Fix For: 1.0-rc-3
>
>
> Or is it called a "goal" in Maven? I forget...
> re: [this Groovy-User
> thread|http://www.nabble.com/Groovy-Console-in-Groovy-Plugin-tp8332494p17786710.html]
> i.e.
> {quote}
> > mvn groovy:console
> {quote}
> launches GroovyConsole where the user has access to all of the POM's
> dependencies on the classpath
> Same for:
> {quote}
> > mvn groovy:shell
> {quote}
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email