PageRenderTime 38ms CodeModel.GetById 16ms app.highlight 6ms RepoModel.GetById 1ms app.codeStats 0ms

/atlassian-plugin-sdk/src/main/velocity/commands/create-plugin

https://bitbucket.org/mmeinhold/amps
#! | 36 lines | 34 code | 2 blank | 0 comment | 0 complexity | 620f20acad5553f54071305bf6547d79 MD5 | raw file
 1#set( $mvnCommand = "com.atlassian.maven.plugins:maven-amps-plugin:$version:create" )
 2
 3#set( $goalhelp = "Creates a Cross Product plugin." )
 4
 5#set( $opts = [
 6{
 7  'name' : 'artifact-id',
 8  'short' : 'a',
 9  'maven' : 'artifactId',
10  'description' : 'Name of the project (corresponds to the Maven artifactId).',
11  'example' : 'my-project'
12},{
13  'name' : 'group-id',
14  'short' : 'g',
15  'maven' : 'groupId',
16  'description' : 'Identifier for the logical group of artifacts associated with the project (corresponds to the Maven groupId).',
17  'example' : 'com.company.project'
18},{
19  'name' : 'version',
20  'short' : 'v',
21  'maven' : 'version',
22  'description' : 'Version of the project (default is 1.0-SNAPSHOT).',
23  'example' : '1.0-SNAPSHOT'
24},{
25  'name' : 'package',
26  'short' : 'p',
27  'maven' : 'package',
28  'description' : 'Java package that will contain the plugin source code (default is group-id value).',
29  'example' : 'com.company.project'
30},{
31  'name' : 'non-interactive',
32  'maven' : 'interactiveMode=false',
33  'flag' : 'true',
34  'description' : 'Does not prompt the user for input. Turns off interactive mode.',
35  'example' : 'false'
36}] )