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

/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
  1#set( $mvnCommand = "com.atlassian.maven.plugins:maven-amps-dispatcher-plugin:$version:debug" )
  2
  3#set( $goalhelp = "Runs the product in debug mode with your plugin installed." )
  4
  5#set( $opts = [{
  6  'name' : 'version',
  7  'short' : 'v',
  8  'maven' : 'product.version',
  9  'description' : 'Version of the product to run (default is RELEASE).',
 10  'example' : '1.0'
 11},{
 12  'name' : 'container',
 13  'short' : 'c',
 14  'maven' : 'container',
 15  'description' : 'Container to run in (default is tomcat6x).',
 16  'example' : 'tomcat6x'
 17},{
 18  'name' : 'http-port',
 19  'short' : 'p',
 20  'maven' : 'http.port',
 21  'description' : 'HTTP port for the servlet container.',
 22  'example' : '8080'
 23},{
 24  'name' : 'context-path',
 25  'maven' : 'context.path',
 26  'description' : 'Application context path (include the leading forward slash).',
 27  'example' : '/myapp'
 28},{
 29  'name' : 'server',
 30  'maven' : 'server',
 31  'description' : 'Host name of the application server (default is localhost).',
 32  'example' : 'localhost'
 33},{
 34  'name' : 'jvmargs',
 35  'maven' : 'jvmargs',
 36  'description' : 'Additional JVM arguments if required.',
 37  'example' : '-Xmx=512m'
 38},{
 39  'name' : 'log4j',
 40  'maven' : 'log4jproperties',
 41  'description' : 'Log4j properties file.',
 42  'example' : 'test/log4j.properties'
 43},{
 44  'name' : 'test-version',
 45  'maven' : 'test.resources.version',
 46  'description' : 'Version to use for test resources. DEPRECATED: use data-version instead.',
 47  'example' : 'LATEST'
 48},{
 49  'name' : 'data-version',
 50  'maven' : 'product.data.version',
 51  'description' : 'Version to use for data resources (default is RELEASE)',
 52  'example' : 'RELEASE'
 53},{
 54  'name' : 'sal-version',
 55  'maven' : 'sal.version',
 56  'description' : 'Version of SAL to use.',
 57  'example' : '2.0.11'
 58},{
 59  'name' : 'rest-version',
 60  'maven' : 'rest.version',
 61  'description' : 'Version of the Atlassian REST module to use.',
 62  'example' : '1.0'
 63},{
 64  'name' : 'plugins',
 65  'maven' : 'plugins',
 66  'description' : 'Comma-delimited list of plugin artifacts in GROUP_ID:ARTIFACT_ID:VERSION form, where version can be ommitted, defaulting to LATEST.',
 67  'example' : 'groupId:artifactId::version'
 68},{
 69  'name' : 'lib-plugins',
 70  'maven' : 'lib.plugins',
 71  'description' : 'Comma-delimited list of lib artifacts in GROUP_ID:ARTIFACT_ID:VERSION form, where version can be ommitted, defaulting to LATEST.',
 72  'example' : 'groupId:artifactId:verion'
 73},{
 74  'name' : 'bundled-plugins',
 75  'maven' : 'bundled.plugins',
 76  'description' : 'Comma-delimited list of bundled plugin artifacts in GROUP_ID:ARTIFACT_ID:VERSION form, where version can be ommitted, defaulting to LATEST.',
 77  'example' : 'groupId:artifactId:version'
 78},{
 79  'name' : 'product',
 80  'maven' : 'product',
 81  'description' : 'The product to launch with the plugin.',
 82  'example' : 'jira'
 83},{
 84  'name' : 'instanceId',
 85  'maven' : 'instanceId',
 86  'description' : 'The product instance to launch with the plugin.',
 87  'example' : 'confluence-3.5.0'
 88},{
 89  'name' : 'testGroup',
 90  'maven' : 'testGroup',
 91  'description' : 'Test group whose products will be launched with the plugin.',
 92  'example' : 'confluenceTests'
 93},{
 94  'name' : 'jvm-debug-port',
 95  'maven' : 'jvm.debug.port',
 96  'description' : 'Port open to accept connections for remote debugging (default is 5005).',
 97  'example' : '5005'
 98},{
 99  'name' : 'jvm-debug-suspend',
100  'maven' : 'jvm.debug.suspend=true',
101  'flag' : 'true',
102  'description' : 'Suspend JVM until debugger connects.',
103  'example' : 'true'
104}] )