(Quick Reference)

package-plugin

目的
Purpose

Packages a plugin as a ZIP archive which can then be installed into another application

使用例
Examples

grails package-plugin

詳細
Description

使用方法:

Usage:
grails package-plugin

発生するイベント:

Fired Events:
  • StatusError - When there was an error during packaging

The plugin archive will be named with the convention grails-[name]-[version].zip. The name and version are obtained from the plugin descriptor (the Groovy class ending with the convention GrailsPlugin.groovy) in the root of the plugin directory. For example this plugin:

class SimpleGrailsPlugin {
    def version = "0.1"
}

will result in a ZIP archive called grails-simple-0.1.zip, which can then be installed into an application with the install-plugin command.