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

https://bitbucket.org/mmeinhold/amps · #! · 36 lines · 34 code · 2 blank · 0 comment · 0 complexity · bee9f82d601f92c016b6a37199b8366d MD5 · raw file

  1. #set( $mvnCommand = "com.atlassian.maven.plugins:maven-amps-dispatcher-plugin:$version:install" )
  2. #set( $goalhelp = "Installs the plugin into a running application." )
  3. #set( $opts = [{
  4. 'name' : 'http-port',
  5. 'short' : 'p',
  6. 'maven' : 'http.port',
  7. 'description' : 'HTTP port for the servlet container.',
  8. 'example' : '8080'
  9. },{
  10. 'name' : 'context-path',
  11. 'maven' : 'context.path',
  12. 'description' : 'Application context path (include the leading forward slash).',
  13. 'example' : '/myapp'
  14. },{
  15. 'name' : 'server',
  16. 'maven' : 'server',
  17. 'description' : 'Host name of the application server (default is localhost).',
  18. 'example' : 'localhost'
  19. },{
  20. 'name' : 'username',
  21. 'maven' : 'username',
  22. 'description' : 'Username of administrator to access the plugin system (default is admin).',
  23. 'example' : 'admin'
  24. },{
  25. 'name' : 'password',
  26. 'maven' : 'password',
  27. 'description' : 'Password of administrator to access the plugin system (default is admin).',
  28. 'example' : 'admin'
  29. },{
  30. 'name' : 'plugin-key',
  31. 'maven' : 'atlassian.plugin.key',
  32. 'description' : 'Unique key identifying the plugin.',
  33. 'example' : 'projectGroupId.projectArtifactId'
  34. }] )