Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Blocker
-
Resolution: Fixed
-
Affects Version/s: 2.0-RC1
-
Fix Version/s: 2.0-RC2
-
Component/s: Build System, Plugins, Project infrastructure
-
Labels:
-
Environment:kubuntu 11.10, grails 2.0.0.RC1, jvm 1.6.24
Description
In Grails 1.3.7 it was possible to declare non-in-place-plugins in the BuildConfig.groovy of an in-place-plugin and that dependency was inherited.
In Grails 2.0.0.RC1 this is not working any longer.
I attached a simple project, consisting of a simple project and a in-place-plugin showing the problem.
This is a show-stopper problem for (big) modular projects!
Activity
- All
- Comments
- Work Log
- History
- Activity
- Git Commits
The attached example contains the DepProbProj and DepProbPlugin.
DepProbProj uses DepProbPlugin as a in-place-plugin.
DepProbPlugin declares
test ":codenarc:0.15"
in BuildConfig.groovy.
The dependency is not inherited to DepProbProj -> The command grails codenarc is only in available in the in-place-plugin, but not in the Project.
This is just an example. It's the same for other plugin-dependencies.