/atlassian-plugin-sdk/src/main/velocity/commands/install-plugin
https://bitbucket.org/mmeinhold/amps · #! · 36 lines · 34 code · 2 blank · 0 comment · 0 complexity · bee9f82d601f92c016b6a37199b8366d MD5 · raw file
- #set( $mvnCommand = "com.atlassian.maven.plugins:maven-amps-dispatcher-plugin:$version:install" )
- #set( $goalhelp = "Installs the plugin into a running application." )
- #set( $opts = [{
- 'name' : 'http-port',
- 'short' : 'p',
- 'maven' : 'http.port',
- 'description' : 'HTTP port for the servlet container.',
- 'example' : '8080'
- },{
- 'name' : 'context-path',
- 'maven' : 'context.path',
- 'description' : 'Application context path (include the leading forward slash).',
- 'example' : '/myapp'
- },{
- 'name' : 'server',
- 'maven' : 'server',
- 'description' : 'Host name of the application server (default is localhost).',
- 'example' : 'localhost'
- },{
- 'name' : 'username',
- 'maven' : 'username',
- 'description' : 'Username of administrator to access the plugin system (default is admin).',
- 'example' : 'admin'
- },{
- 'name' : 'password',
- 'maven' : 'password',
- 'description' : 'Password of administrator to access the plugin system (default is admin).',
- 'example' : 'admin'
- },{
- 'name' : 'plugin-key',
- 'maven' : 'atlassian.plugin.key',
- 'description' : 'Unique key identifying the plugin.',
- 'example' : 'projectGroupId.projectArtifactId'
- }] )