/atlassian-plugin-sdk/src/main/velocity/commands/create-fecru-plugin

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

  1. #set( $mvnCommand = "com.atlassian.maven.plugins:maven-fecru-plugin:$version:create" )
  2. #set( $goalhelp = "Creates a FishEye/Crucible plugin." )
  3. #set( $opts = [
  4. {
  5. 'name' : 'artifact-id',
  6. 'short' : 'a',
  7. 'maven' : 'artifactId',
  8. 'description' : 'Name of the project (corresponds to the Maven artifactId).',
  9. 'example' : 'my-project'
  10. },{
  11. 'name' : 'group-id',
  12. 'short' : 'g',
  13. 'maven' : 'groupId',
  14. 'description' : 'Identifier for the logical group of artifacts associated with the project (corresponds to the Maven groupId).',
  15. 'example' : 'com.company.project'
  16. },{
  17. 'name' : 'version',
  18. 'short' : 'v',
  19. 'maven' : 'version',
  20. 'description' : 'Version of the project (default is 1.0-SNAPSHOT).',
  21. 'example' : '1.0-SNAPSHOT'
  22. },{
  23. 'name' : 'package',
  24. 'short' : 'p',
  25. 'maven' : 'package',
  26. 'description' : 'Java package that will contain the plugin source code (default is group-id value).',
  27. 'example' : 'com.company.project'
  28. },{
  29. 'name' : 'non-interactive',
  30. 'maven' : 'interactiveMode=false',
  31. 'flag' : 'true',
  32. 'description' : 'Does not prompt the user for input. Turns off interactive mode.',
  33. 'example' : 'false'
  34. }] )