PageRenderTime 9ms CodeModel.GetById 2ms app.highlight 3ms RepoModel.GetById 1ms app.codeStats 0ms

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

https://bitbucket.org/mmeinhold/amps
#! | 99 lines | 94 code | 5 blank | 0 comment | 0 complexity | b6c562c8427f7789c4af514eb5affc39 MD5 | raw file
 1
 2#set( $cloverPrefix = "com.atlassian.maven.plugins:maven-clover2-plugin:${cloverVersion}" )
 3
 4#set( $mvnCommand = "-Djava.awt.headless=true ${cloverPrefix}:setup verify ${cloverPrefix}:clover ${cloverPrefix}:log" )
 5
 6
 7#set( $goalhelp = "Runs Clover and reports on code coverage for this plugin. For colored output, set the MAVEN_COLOR environment variable to true. (runs mvn $mvnCommand)." )
 8
 9#set( $opts = [{
10  'name' : 'version',
11  'short' : 'v',
12  'maven' : 'product.version',
13  'description' : 'Version of the product to run (default is RELEASE).',
14  'example' : '1.0'
15},{
16  'name' : 'container',
17  'short' : 'c',
18  'maven' : 'container',
19  'description' : 'Container to run in (default is tomcat6x).',
20  'example' : 'tomcat6x'
21},{
22  'name' : 'http-port',
23  'short' : 'p',
24  'maven' : 'http.port',
25  'description' : 'HTTP port for the servlet container.',
26  'example' : '8080'
27},{
28  'name' : 'context-path',
29  'maven' : 'context.path',
30  'description' : 'Application context path (include the leading forward slash).',
31  'example' : '/myapp'
32},{
33  'name' : 'server',
34  'maven' : 'server',
35  'description' : 'Host name of the application server (default is localhost).',
36  'example' : 'localhost'
37},{
38  'name' : 'jvmargs',
39  'maven' : 'jvmargs',
40  'description' : 'Additional JVM arguments if required.',
41  'example' : '-Xmx=512m'
42},{
43  'name' : 'log4j',
44  'maven' : 'log4jproperties',
45  'description' : 'Log4j properties file.',
46  'example' : 'test/log4j.properties'
47},{
48  'name' : 'test-version',
49  'maven' : 'test.resources.version',
50  'description' : 'Version to use for test resources. DEPRECATED: use data-version instead.',
51  'example' : 'LATEST'
52},{
53  'name' : 'data-version',
54  'maven' : 'product.data.version',
55  'description' : 'Version to use for data resources (default is LATEST)',
56  'example' : 'RELEASE'
57},{
58  'name' : 'sal-version',
59  'maven' : 'sal.version',
60  'description' : 'Version of SAL to use.',
61  'example' : '2.0.11'
62},{
63  'name' : 'rest-version',
64  'maven' : 'rest.version',
65  'description' : 'Version of the Atlassian REST module to use.',
66  'example' : '1.0'
67},{
68  'name' : 'plugins',
69  'maven' : 'plugins',
70  'description' : 'Comma-delimited list of plugin artifacts in GROUP_ID:ARTIFACT_ID:VERSION form, where version can be ommitted, defaulting to LATEST.',
71  'example' : 'groupId:artifactId::version'
72},{
73  'name' : 'lib-plugins',
74  'maven' : 'lib.plugins',
75  'description' : 'Comma-delimited list of lib artifacts in GROUP_ID:ARTIFACT_ID:VERSION form, where version can be ommitted, defaulting to LATEST.',
76  'example' : 'groupId:artifactId:verion'
77},{
78  'name' : 'bundled-plugins',
79  'maven' : 'bundled.plugins',
80  'description' : 'Comma-delimited list of bundled plugin artifacts in GROUP_ID:ARTIFACT_ID:VERSION form, where version can be ommitted, defaulting to LATEST.',
81  'example' : 'groupId:artifactId:version'
82},{
83  'name' : 'product',
84  'maven' : 'product',
85  'description' : 'The product to launch with the plugin.',
86  'example' : 'jira'
87},{
88  'name' : 'no-webapp',
89  'maven' : 'no.webapp=true',
90  'flag' : 'true',
91  'description' : 'Do not start the application.',
92  'example' : 'true'
93},{
94  'name' : 'skip-tests',
95  'maven' : 'skipTests=true',
96  'flag' : 'true',
97  'description' : 'Skip the tests.',
98  'example' : 'true'
99}] )