Announcement Announcement Module
No announcement yet.
compilation failure / inplace plugin issue Page Title Module
Move Remove Collapse
Conversation Detail Module
  • Filter
  • Time
  • Show
Clear All
new posts

  • compilation failure / inplace plugin issue

    When running grails generate-views or test-app or run-app on a project that has a reference to an local/inplace plugin project compilation fails.

    Setup is the following - App project has inplace reference to plugin project which in turn makes use of some installed plugins (in this case security core).

    when executing the grails commands mentioned at top, compilation fails in the inplace plugin classes. Compiler fails to resolve dependencies within the inplace plugin project to the core security plugin classes. They are there in grails dependencies for the inplace plugin project.

    Is this a bug? Seems that is this is by design it makes the use of inplace plugin project references messy.

    thanks for any help,

  • #2
    This is a limitation of in-place plugins. You should either make Spring Security Core an in-place plugin, or it appears you can declare it as a plugin dependency in your plugin's BuildConfig.groovy.


    • #3
      Expressing the plugin dependency in buildConfig did the trick for running the app project in place - I no longer have any dependency from my app project to the security plugin.

      This is a big improvement as other plugins such as hibernate only need to be expressed as a dependency in the plugin project.

      Thanks Peter!