/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
- #set( $cloverPrefix = "com.atlassian.maven.plugins:maven-clover2-plugin:${cloverVersion}" )
- #set( $mvnCommand = "-Djava.awt.headless=true ${cloverPrefix}:setup verify ${cloverPrefix}:clover ${cloverPrefix}:log" )
- #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)." )
- #set( $opts = [{
- 'name' : 'version',
- 'short' : 'v',
- 'maven' : 'product.version',
- 'description' : 'Version of the product to run (default is RELEASE).',
- 'example' : '1.0'
- },{
- 'name' : 'container',
- 'short' : 'c',
- 'maven' : 'container',
- 'description' : 'Container to run in (default is tomcat6x).',
- 'example' : 'tomcat6x'
- },{
- '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' : 'jvmargs',
- 'maven' : 'jvmargs',
- 'description' : 'Additional JVM arguments if required.',
- 'example' : '-Xmx=512m'
- },{
- 'name' : 'log4j',
- 'maven' : 'log4jproperties',
- 'description' : 'Log4j properties file.',
- 'example' : 'test/log4j.properties'
- },{
- 'name' : 'test-version',
- 'maven' : 'test.resources.version',
- 'description' : 'Version to use for test resources. DEPRECATED: use data-version instead.',
- 'example' : 'LATEST'
- },{
- 'name' : 'data-version',
- 'maven' : 'product.data.version',
- 'description' : 'Version to use for data resources (default is LATEST)',
- 'example' : 'RELEASE'
- },{
- 'name' : 'sal-version',
- 'maven' : 'sal.version',
- 'description' : 'Version of SAL to use.',
- 'example' : '2.0.11'
- },{
- 'name' : 'rest-version',
- 'maven' : 'rest.version',
- 'description' : 'Version of the Atlassian REST module to use.',
- 'example' : '1.0'
- },{
- 'name' : 'plugins',
- 'maven' : 'plugins',
- 'description' : 'Comma-delimited list of plugin artifacts in GROUP_ID:ARTIFACT_ID:VERSION form, where version can be ommitted, defaulting to LATEST.',
- 'example' : 'groupId:artifactId::version'
- },{
- 'name' : 'lib-plugins',
- 'maven' : 'lib.plugins',
- 'description' : 'Comma-delimited list of lib artifacts in GROUP_ID:ARTIFACT_ID:VERSION form, where version can be ommitted, defaulting to LATEST.',
- 'example' : 'groupId:artifactId:verion'
- },{
- 'name' : 'bundled-plugins',
- 'maven' : 'bundled.plugins',
- 'description' : 'Comma-delimited list of bundled plugin artifacts in GROUP_ID:ARTIFACT_ID:VERSION form, where version can be ommitted, defaulting to LATEST.',
- 'example' : 'groupId:artifactId:version'
- },{
- 'name' : 'product',
- 'maven' : 'product',
- 'description' : 'The product to launch with the plugin.',
- 'example' : 'jira'
- },{
- 'name' : 'no-webapp',
- 'maven' : 'no.webapp=true',
- 'flag' : 'true',
- 'description' : 'Do not start the application.',
- 'example' : 'true'
- },{
- 'name' : 'skip-tests',
- 'maven' : 'skipTests=true',
- 'flag' : 'true',
- 'description' : 'Skip the tests.',
- 'example' : 'true'
- }] )