Details
Description
On a machine not connected to the internet, I performed the following steps with Grails 2.0 on a linux machine:
- Unzipped / Installed Grails 2.0
| grails create-app test-app |
| cd test-app |
| grails run-app |
I receive the following error upon executing run-app:
| Failed to install plugin [hibernate 2.0.0]. Plugin has missing JAR dependencies. |
After modifying BuildConfig.groovy's log level to 'warn', I receive the following:
| antlr#antlr;2.7.6 not found |
It seems that Grails 2.0 is shipping with antlr-2.7.7, but something (I'm guessing the hibernate plugin?) is looking for antlr-2.7.6. Unfortuntately this issue makes Grails 2.0 unusable out-of-the-box for people working in a offline environment.
The hibernate plugin incorrectly lists antlr 2.7.6 as a dependency.
https://github.com/grails-plugins/grails-hibernate-plugin/blob/master/grails-app/conf/BuildConfig.groovy#L30
Whereas grails-hibernate explicitly kicks this out and pulls in 2.7.7.
https://github.com/grails/grails-core/blob/2.0.x/grails-hibernate/build.gradle#L77