PageRenderTime 20ms CodeModel.GetById 14ms app.highlight 2ms RepoModel.GetById 1ms app.codeStats 0ms

/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
 1#set( $mvnCommand = "com.atlassian.maven.plugins:maven-amps-dispatcher-plugin:$version:install" )
 2
 3#set( $goalhelp = "Installs the plugin into a running application." )
 4
 5#set( $opts = [{
 6  'name' : 'http-port',
 7  'short' : 'p',
 8  'maven' : 'http.port',
 9  'description' : 'HTTP port for the servlet container.',
10  'example' : '8080'
11},{
12  'name' : 'context-path',
13  'maven' : 'context.path',
14  'description' : 'Application context path (include the leading forward slash).',
15  'example' : '/myapp'
16},{
17  'name' : 'server',
18  'maven' : 'server',
19  'description' : 'Host name of the application server (default is localhost).',
20  'example' : 'localhost'
21},{
22  'name' : 'username',
23  'maven' : 'username',
24  'description' : 'Username of administrator to access the plugin system (default is admin).',
25  'example' : 'admin'
26},{
27  'name' : 'password',
28  'maven' : 'password',
29  'description' : 'Password of administrator to access the plugin system (default is admin).',
30  'example' : 'admin'
31},{
32  'name' : 'plugin-key',
33  'maven' : 'atlassian.plugin.key',
34  'description' : 'Unique key identifying the plugin.',
35  'example' : 'projectGroupId.projectArtifactId'
36}] )