Using Grails 2.2.4, compileAST tried to compile in the application
instead of the plugin. This is fixed using pluginBaseDir instead of
basedir