/atlassian-plugin-sdk/src/main/velocity/commands/debug
https://bitbucket.org/mmeinhold/amps · #! · 104 lines · 102 code · 2 blank · 0 comment · 0 complexity · d7aa14d0fb2c8e4121e39acc3077d8c0 MD5 · raw file
- #set( $mvnCommand = "com.atlassian.maven.plugins:maven-amps-dispatcher-plugin:$version:debug" )
- #set( $goalhelp = "Runs the product in debug mode with your plugin installed." )
- #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 RELEASE)',
- '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' : 'instanceId',
- 'maven' : 'instanceId',
- 'description' : 'The product instance to launch with the plugin.',
- 'example' : 'confluence-3.5.0'
- },{
- 'name' : 'testGroup',
- 'maven' : 'testGroup',
- 'description' : 'Test group whose products will be launched with the plugin.',
- 'example' : 'confluenceTests'
- },{
- 'name' : 'jvm-debug-port',
- 'maven' : 'jvm.debug.port',
- 'description' : 'Port open to accept connections for remote debugging (default is 5005).',
- 'example' : '5005'
- },{
- 'name' : 'jvm-debug-suspend',
- 'maven' : 'jvm.debug.suspend=true',
- 'flag' : 'true',
- 'description' : 'Suspend JVM until debugger connects.',
- 'example' : 'true'
- }] )