[
http://jira.codehaus.org/browse/MGROOVY-192?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Jason Dillon closed MGROOVY-192.
--------------------------------
Resolution: Not A Bug
Fix Version/s: 1.0-rc-5
To select the runtime as a property, use:
{noformat}
mvn -Dgmaven.runtime=1.6
{noformat}
To configure the runtime in a pom.xml then use:
{code}
<configuration>
<runtimeProvider>1.6</runtimeProvider>
</configuration>
{code}
Looks like the online docs were out of date, I've corrected this problem.
> unable to select 1.6 provider
> -----------------------------
>
> Key: MGROOVY-192
> URL: http://jira.codehaus.org/browse/MGROOVY-192
> Project: GMaven
> Issue Type: Bug
> Affects Versions: 1.0-rc-4
> Reporter: Pavel Cernocky
> Assignee: Jason Dillon
> Fix For: 1.0-rc-5
>
>
> If I try:
> {{mvn groovy:providers -DproviderSelection=1.6}}
> I always get:
> [INFO] [groovy:providers]
> [INFO]
> [INFO] Provider selection: 1.5
> [INFO]
> [INFO] Found 1 registered providers:
> [INFO] [1.5] 'Groovy v1.5.6' (version: 1.5.6, type:
> org.codehaus.groovy.maven.runtime.v1_5.ProviderImpl)
> [INFO] Features:
> [INFO] org.codehaus.groovy.maven.runtime.ClassCompiler
> [INFO] org.codehaus.groovy.maven.runtime.Console
> [INFO] org.codehaus.groovy.maven.runtime.ClassFactory
> [INFO] org.codehaus.groovy.maven.runtime.Shell
> [INFO] org.codehaus.groovy.maven.runtime.TraceSanitizer
> [INFO] org.codehaus.groovy.maven.runtime.StubCompiler
> [INFO] org.codehaus.groovy.maven.runtime.ScriptExecutor
> [INFO]
> [INFO] Selected provider:
> [INFO] [1.5] 'Groovy v1.5.6' (version: 1.5.6, type:
> org.codehaus.groovy.maven.runtime.v1_5.ProviderImpl)
> Or am I missing something?
> Palo
--
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