Commit Graph

62 Commits (618cd24a1287e95646402e68eb1adc04d3a2c15e)

Author SHA1 Message Date
Robert Scholte 43877dc10f [MPLUGIN-232] java-basic-annotations IT for maven-plugin-plugin fails due to a missing description-tag in the plugin-help.xml
git-svn-id: https://svn.apache.org/repos/asf/maven/plugin-tools/trunk@1405437 13f79535-47bb-0310-9956-ffa450edef68
2012-11-03 22:44:28 +00:00
Robert Scholte 224a654684 [MPLUGIN-232] java-basic-annotations IT for maven-plugin-plugin fails with M2.2.1 due to a missing description-tag in the plugin-help.xml
git-svn-id: https://svn.apache.org/repos/asf/maven/plugin-tools/trunk@1405401 13f79535-47bb-0310-9956-ffa450edef68
2012-11-03 19:02:34 +00:00
Robert Scholte 6e6ee108b7 [MPLUGIN-231] Switch to plugin annotations for the generated help-mojo if the Maven Plugin depends on maven-plugin-annotations
git-svn-id: https://svn.apache.org/repos/asf/maven/plugin-tools/trunk@1405379 13f79535-47bb-0310-9956-ffa450edef68
2012-11-03 16:42:01 +00:00
Robert Scholte 0435027899 [MPLUGIN-231] Switch to plugin annotations for the generated help-mojo if the Maven Plugin depends on maven-plugin-annotations
git-svn-id: https://svn.apache.org/repos/asf/maven/plugin-tools/trunk@1405371 13f79535-47bb-0310-9956-ffa450edef68
2012-11-03 15:54:02 +00:00
Robert Scholte 8488b8267d [MPLUGIN-230] sync help-goal with goal-report: Use 'User property' instead of 'Expression'
git-svn-id: https://svn.apache.org/repos/asf/maven/plugin-tools/trunk@1405334 13f79535-47bb-0310-9956-ffa450edef68
2012-11-03 13:55:21 +00:00
Herve Boutemy ed7124add7 fixed encoding used when rewriting HelpMojo source
git-svn-id: https://svn.apache.org/repos/asf/maven/plugin-tools/trunk@1405268 13f79535-47bb-0310-9956-ffa450edef68
2012-11-03 02:44:29 +00:00
Herve Boutemy 4a1d287e0f fixed encoding used when reading HelpMojo Velocity template
git-svn-id: https://svn.apache.org/repos/asf/maven/plugin-tools/trunk@1405266 13f79535-47bb-0310-9956-ffa450edef68
2012-11-03 02:37:32 +00:00
Herve Boutemy 2077b3e8cf closed streams
git-svn-id: https://svn.apache.org/repos/asf/maven/plugin-tools/trunk@1405265 13f79535-47bb-0310-9956-ffa450edef68
2012-11-03 02:34:18 +00:00
Herve Boutemy 62dca6fbd5 fixed inconsistency between source file location and package name used when ant mojo
git-svn-id: https://svn.apache.org/repos/asf/maven/plugin-tools/trunk@1405262 13f79535-47bb-0310-9956-ffa450edef68
2012-11-03 02:32:14 +00:00
Herve Boutemy 92df3b3987 [MPLUGIN-227] rewrite HelpMojo source file when rewriting class file to keep package name info in sync and not disturb javadoc with an empty package name
git-svn-id: https://svn.apache.org/repos/asf/maven/plugin-tools/trunk@1405260 13f79535-47bb-0310-9956-ffa450edef68
2012-11-03 02:15:17 +00:00
Herve Boutemy a757bee927 code formatting
git-svn-id: https://svn.apache.org/repos/asf/maven/plugin-tools/trunk@1405094 13f79535-47bb-0310-9956-ffa450edef68
2012-11-02 18:37:37 +00:00
Kristian Rosenvold 0ba0555964 [MPLUGIN-229] Converted to use dom instead of xpp3dom
git-svn-id: https://svn.apache.org/repos/asf/maven/plugin-tools/trunk@1405040 13f79535-47bb-0310-9956-ffa450edef68
2012-11-02 16:35:31 +00:00
Herve Boutemy b93ab8fca8 avoid code duplication for plugin-help.xml path between PluginDescriptorGenerator and PluginHelpGenerator
git-svn-id: https://svn.apache.org/repos/asf/maven/plugin-tools/trunk@1389657 13f79535-47bb-0310-9956-ffa450edef68
2012-09-24 23:57:41 +00:00
Herve Boutemy 55e9f2dcfb added explanations about the 2-phase generation necessary for Java 5 annotations
git-svn-id: https://svn.apache.org/repos/asf/maven/plugin-tools/trunk@1389655 13f79535-47bb-0310-9956-ffa450edef68
2012-09-24 23:47:38 +00:00
Herve Boutemy 70439924a9 added a reference section with plugin descriptor item
git-svn-id: https://svn.apache.org/repos/asf/maven/plugin-tools/trunk@1388839 13f79535-47bb-0310-9956-ffa450edef68
2012-09-22 16:33:06 +00:00
Herve Boutemy 0178366f82 improved artifact description
git-svn-id: https://svn.apache.org/repos/asf/maven/plugin-tools/trunk@1388838 13f79535-47bb-0310-9956-ffa450edef68
2012-09-22 16:31:57 +00:00
Herve Boutemy f01f612574 [maven-release-plugin] prepare for next development iteration
git-svn-id: https://svn.apache.org/repos/asf/maven/plugin-tools/trunk@1355646 13f79535-47bb-0310-9956-ffa450edef68
2012-06-30 06:10:28 +00:00
Herve Boutemy cdc72acb2d [maven-release-plugin] prepare release maven-plugin-tools-3.1
git-svn-id: https://svn.apache.org/repos/asf/maven/plugin-tools/trunk@1355644 13f79535-47bb-0310-9956-ffa450edef68
2012-06-30 06:09:56 +00:00
Herve Boutemy c312cac3bb code simplification
git-svn-id: https://svn.apache.org/repos/asf/maven/plugin-tools/trunk@1354250 13f79535-47bb-0310-9956-ffa450edef68
2012-06-26 21:36:53 +00:00
Herve Boutemy af47cb96c6 use constant
git-svn-id: https://svn.apache.org/repos/asf/maven/plugin-tools/trunk@1354249 13f79535-47bb-0310-9956-ffa450edef68
2012-06-26 21:34:34 +00:00
Herve Boutemy fdcb229aa4 moved help mojo rewriting code to PluginHelpGenerator
git-svn-id: https://svn.apache.org/repos/asf/maven/plugin-tools/trunk@1354239 13f79535-47bb-0310-9956-ffa450edef68
2012-06-26 21:19:06 +00:00
Herve Boutemy 297b152d05 extracted writeHelpPropertiesFile() method
git-svn-id: https://svn.apache.org/repos/asf/maven/plugin-tools/trunk@1354222 13f79535-47bb-0310-9956-ffa450edef68
2012-06-26 20:52:33 +00:00
Herve Boutemy d75dfaa768 code simplification
git-svn-id: https://svn.apache.org/repos/asf/maven/plugin-tools/trunk@1354217 13f79535-47bb-0310-9956-ffa450edef68
2012-06-26 20:40:36 +00:00
Herve Boutemy 2585ccafb2 renamed parameter
git-svn-id: https://svn.apache.org/repos/asf/maven/plugin-tools/trunk@1354212 13f79535-47bb-0310-9956-ffa450edef68
2012-06-26 20:34:17 +00:00
Olivier Lamy 0ac08a36fc [MPLUGIN-217] HelpMojo (always) contains description for the maven-plugin-plugin
Submitted by Tony Chemit.

git-svn-id: https://svn.apache.org/repos/asf/maven/plugin-tools/trunk@1353837 13f79535-47bb-0310-9956-ffa450edef68
2012-06-26 07:03:11 +00:00
Robert Scholte 2892e3570d Replace ${goal} for goal in @Parameter property
git-svn-id: https://svn.apache.org/repos/asf/maven/plugin-tools/trunk@1353755 13f79535-47bb-0310-9956-ffa450edef68
2012-06-25 21:50:42 +00:00
Olivier Lamy cacac1179b correct close FileInputStream
git-svn-id: https://svn.apache.org/repos/asf/maven/plugin-tools/trunk@1353725 13f79535-47bb-0310-9956-ffa450edef68
2012-06-25 20:17:07 +00:00
Herve Boutemy c1e288aedd [MPLUGIN-215] don't generate content with empty value, due to default values defined for annotations
git-svn-id: https://svn.apache.org/repos/asf/maven/plugin-tools/trunk@1353251 13f79535-47bb-0310-9956-ffa450edef68
2012-06-24 11:49:20 +00:00
Herve Boutemy 030713aa69 [MPLUGIN-208] HelpMojo class generated by helpmojo goal uses deprecated expression="${propertyName}" annotation instead of property="propertyName"
git-svn-id: https://svn.apache.org/repos/asf/maven/plugin-tools/trunk@1346166 13f79535-47bb-0310-9956-ffa450edef68
2012-06-04 21:29:47 +00:00
Herve Boutemy 017a3d5ca6 [MPLUGIN-210] NPE in generated help mojo with M2 when no goal has description
git-svn-id: https://svn.apache.org/repos/asf/maven/plugin-tools/trunk@1345805 13f79535-47bb-0310-9956-ffa450edef68
2012-06-03 23:39:34 +00:00
Olivier Lamy 9874a33bc4 [maven-release-plugin] prepare for next development iteration
git-svn-id: https://svn.apache.org/repos/asf/maven/plugin-tools/trunk@1343202 13f79535-47bb-0310-9956-ffa450edef68
2012-05-28 10:48:58 +00:00
Olivier Lamy a6adf83696 [maven-release-plugin] prepare release maven-plugin-tools-3.0
git-svn-id: https://svn.apache.org/repos/asf/maven/plugin-tools/trunk@1343200 13f79535-47bb-0310-9956-ffa450edef68
2012-05-28 10:48:47 +00:00
Herve Boutemy a99880200b [MPLUGIN-207] generate since elements in descriptor
git-svn-id: https://svn.apache.org/repos/asf/maven/plugin-tools/trunk@1343173 13f79535-47bb-0310-9956-ffa450edef68
2012-05-28 09:30:23 +00:00
Herve Boutemy 5652eb99e4 fixed problems reported by Checkstyle
git-svn-id: https://svn.apache.org/repos/asf/maven/plugin-tools/trunk@1343107 13f79535-47bb-0310-9956-ffa450edef68
2012-05-27 21:35:40 +00:00
Herve Boutemy 4229553d33 fixed typo
git-svn-id: https://svn.apache.org/repos/asf/maven/plugin-tools/trunk@1343068 13f79535-47bb-0310-9956-ffa450edef68
2012-05-27 17:30:32 +00:00
Herve Boutemy dcd8debb6d rewrote the exact algorithm from previous version for help output
git-svn-id: https://svn.apache.org/repos/asf/maven/plugin-tools/trunk@1343067 13f79535-47bb-0310-9956-ffa450edef68
2012-05-27 17:14:25 +00:00
Herve Boutemy 35a27f33fe added comment in generated files to show how+when it was generated
git-svn-id: https://svn.apache.org/repos/asf/maven/plugin-tools/trunk@1343014 13f79535-47bb-0310-9956-ffa450edef68
2012-05-27 08:38:53 +00:00
Herve Boutemy 41d5e05eb9 sort help content
git-svn-id: https://svn.apache.org/repos/asf/maven/plugin-tools/trunk@1342989 13f79535-47bb-0310-9956-ffa450edef68
2012-05-26 23:05:14 +00:00
Herve Boutemy 7ddd1f2459 extracted writeGoal() and writeParameter() methods
git-svn-id: https://svn.apache.org/repos/asf/maven/plugin-tools/trunk@1342986 13f79535-47bb-0310-9956-ffa450edef68
2012-05-26 22:43:27 +00:00
Herve Boutemy 74a8581cc4 don't show readonly parameters in help
git-svn-id: https://svn.apache.org/repos/asf/maven/plugin-tools/trunk@1342977 13f79535-47bb-0310-9956-ffa450edef68
2012-05-26 22:01:29 +00:00
Herve Boutemy b8269c2016 code improvement
git-svn-id: https://svn.apache.org/repos/asf/maven/plugin-tools/trunk@1342976 13f79535-47bb-0310-9956-ffa450edef68
2012-05-26 21:39:02 +00:00
Herve Boutemy aa60192803 created PLUGIN_HELP_PATH constant instead of pluginHelpPath attribute
git-svn-id: https://svn.apache.org/repos/asf/maven/plugin-tools/trunk@1342969 13f79535-47bb-0310-9956-ffa450edef68
2012-05-26 21:14:01 +00:00
Herve Boutemy d6f76bfc90 fixed typo
git-svn-id: https://svn.apache.org/repos/asf/maven/plugin-tools/trunk@1342964 13f79535-47bb-0310-9956-ffa450edef68
2012-05-26 20:58:09 +00:00
Herve Boutemy 6cc24a1747 read plugin-help.xml with encoding detection
git-svn-id: https://svn.apache.org/repos/asf/maven/plugin-tools/trunk@1342963 13f79535-47bb-0310-9956-ffa450edef68
2012-05-26 20:56:04 +00:00
Herve Boutemy 93e82e524e renamed plugin-description.xml to plugin-help.xml
git-svn-id: https://svn.apache.org/repos/asf/maven/plugin-tools/trunk@1342957 13f79535-47bb-0310-9956-ffa450edef68
2012-05-26 20:29:09 +00:00
Herve Boutemy 46532f2300 code simplification
git-svn-id: https://svn.apache.org/repos/asf/maven/plugin-tools/trunk@1342928 13f79535-47bb-0310-9956-ffa450edef68
2012-05-26 17:12:27 +00:00
Herve Boutemy a50582836c improved documentation
git-svn-id: https://svn.apache.org/repos/asf/maven/plugin-tools/trunk@1342927 13f79535-47bb-0310-9956-ffa450edef68
2012-05-26 17:06:12 +00:00
Herve Boutemy 402137be54 renamed variable
git-svn-id: https://svn.apache.org/repos/asf/maven/plugin-tools/trunk@1342925 13f79535-47bb-0310-9956-ffa450edef68
2012-05-26 16:55:47 +00:00
Herve Boutemy 6ba729d8af code formatting
git-svn-id: https://svn.apache.org/repos/asf/maven/plugin-tools/trunk@1342907 13f79535-47bb-0310-9956-ffa450edef68
2012-05-26 15:15:35 +00:00
Herve Boutemy 1ef2b2e74e improved javadoc
git-svn-id: https://svn.apache.org/repos/asf/maven/plugin-tools/trunk@1341236 13f79535-47bb-0310-9956-ffa450edef68
2012-05-21 22:37:15 +00:00