grails create-plugin simple
A plugin provides additional capability to the Grails runtime and is created with the create-plugin command:
This will create a plugin project which can then be packaged with package-plugin:
To install the plugin to your local Maven repository you can use the
Refer to the user guide topic on plugins for more information.