Grails
  1. Grails
  2. GRAILS-8259

transitive plugin dependency inheritance with in-place-plugins not working anymore

    Details

      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!

      1. dep-probs.tar.bz2
        321 kB
        Konstantinos Kostarellis

        Activity

        Hide
        Konstantinos Kostarellis added a comment -

        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.

        Show
        Konstantinos Kostarellis added a comment - 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.

          People

          • Assignee:
            Graeme Rocher
            Reporter:
            Konstantinos Kostarellis
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development