This works for me
grails.plugin.location.shiro = "/home/dilbert/dev/plugins/grails-shiro"
Where shiro
is the name of the plugin (not the name of the directory it’s in). Make sure the path to the plugin is either an absolute path or the relative path to the plugin from the application.
I’ve found that this sometimes doesn’t work if the plugin is listed in application.properties
or BuildConfig.groovy
, so if it is, remove it, then execute grails clean
and restart the app.