Commit Graph

88 Commits (f724e80b80b3275c4a195e10f9b95adac7ae5a54)

Author SHA1 Message Date
Herve Boutemy 11054a8bce [maven-release-plugin] prepare release maven-plugin-tools-3.3
git-svn-id: https://svn.apache.org/repos/asf/maven/plugin-tools/trunk@1592270 13f79535-47bb-0310-9956-ffa450edef68
2014-05-03 19:24:23 +00:00
Herve Boutemy c6e68e8d48 fixed errors reported by Checkstyle
git-svn-id: https://svn.apache.org/repos/asf/maven/plugin-tools/trunk@1592247 13f79535-47bb-0310-9956-ffa450edef68
2014-05-03 16:38:36 +00:00
Herve Boutemy 8f0a5ee56a [MPLUGIN-262] fixed mojo deprecation too
git-svn-id: https://svn.apache.org/repos/asf/maven/plugin-tools/trunk@1590392 13f79535-47bb-0310-9956-ffa450edef68
2014-04-27 13:38:36 +00:00
Herve Boutemy 1de6bf4e70 [MPLUGIN-262] generated HelpMojo doesn't display default values and user properties.
Submitted by: Slawomir Jaranowski
applied with format fixes and check of expected output

git-svn-id: https://svn.apache.org/repos/asf/maven/plugin-tools/trunk@1590390 13f79535-47bb-0310-9956-ffa450edef68
2014-04-27 13:32:42 +00:00
Olivier Lamy 485b860846 [MPLUGIN-260] Plugin that uses annotations in Java 8 source can't generate descriptor
git-svn-id: https://svn.apache.org/repos/asf/maven/plugin-tools/trunk@1589343 13f79535-47bb-0310-9956-ffa450edef68
2014-04-23 06:12:48 +00:00
Dennis Lundberg 8c4c09bf1b Add missing license headers.
git-svn-id: https://svn.apache.org/repos/asf/maven/plugin-tools/trunk@1585579 13f79535-47bb-0310-9956-ffa450edef68
2014-04-07 20:30:05 +00:00
Herve Boutemy 266d573247 [MPLUGIN-255] Generated HelpMojo doesn't close resource stream
Submitted by: Juan Hernandez
applied with formatting fix

git-svn-id: https://svn.apache.org/repos/asf/maven/plugin-tools/trunk@1578572 13f79535-47bb-0310-9956-ffa450edef68
2014-03-17 21:07:49 +00:00
Herve Boutemy abd5f5966a [MPLUGIN-261] sort goals in generated plugin.xml
git-svn-id: https://svn.apache.org/repos/asf/maven/plugin-tools/trunk@1575558 13f79535-47bb-0310-9956-ffa450edef68
2014-03-08 16:32:05 +00:00
Herve Boutemy d7e27e6bd0 remove JDK 8 javadoc warnings
git-svn-id: https://svn.apache.org/repos/asf/maven/plugin-tools/trunk@1508587 13f79535-47bb-0310-9956-ffa450edef68
2013-07-30 19:38:20 +00:00
Herve Boutemy 9a8f79c110 [MPLUGIN-244] Help mojo generates Javadoc, which is not accepted by JDK 8 doclint
Submitted by: Muminur Choudhury


git-svn-id: https://svn.apache.org/repos/asf/maven/plugin-tools/trunk@1508586 13f79535-47bb-0310-9956-ffa450edef68
2013-07-30 19:37:44 +00:00
Herve Boutemy 215037c7e5 fixed errors reported by Checkstyle
git-svn-id: https://svn.apache.org/repos/asf/maven/plugin-tools/trunk@1406928 13f79535-47bb-0310-9956-ffa450edef68
2012-11-08 05:24:33 +00:00
Kristian Rosenvold befacc9f58 [maven-release-plugin] prepare for next development iteration
git-svn-id: https://svn.apache.org/repos/asf/maven/plugin-tools/trunk@1406626 13f79535-47bb-0310-9956-ffa450edef68
2012-11-07 13:33:10 +00:00
Kristian Rosenvold 0824ea11e5 [maven-release-plugin] prepare release maven-plugin-tools-3.2
git-svn-id: https://svn.apache.org/repos/asf/maven/plugin-tools/trunk@1406623 13f79535-47bb-0310-9956-ffa450edef68
2012-11-07 13:32:21 +00:00
Kristian Rosenvold a0666fd96a o Also, work with maven 2.2.1
git-svn-id: https://svn.apache.org/repos/asf/maven/plugin-tools/trunk@1406615 13f79535-47bb-0310-9956-ffa450edef68
2012-11-07 13:26:25 +00:00
Kristian Rosenvold 4cc340b2d4 [maven-release-plugin] prepare for next development iteration
git-svn-id: https://svn.apache.org/repos/asf/maven/plugin-tools/trunk@1406563 13f79535-47bb-0310-9956-ffa450edef68
2012-11-07 11:32:34 +00:00
Kristian Rosenvold 6991661a40 [maven-release-plugin] prepare release maven-plugin-tools-3.2
git-svn-id: https://svn.apache.org/repos/asf/maven/plugin-tools/trunk@1406561 13f79535-47bb-0310-9956-ffa450edef68
2012-11-07 11:31:37 +00:00
Kristian Rosenvold 43755711de o Added additional message with underlying cause
git-svn-id: https://svn.apache.org/repos/asf/maven/plugin-tools/trunk@1406554 13f79535-47bb-0310-9956-ffa450edef68
2012-11-07 11:17:02 +00:00
Kristian Rosenvold b66095855d o Logging works even better when the logger is not null
git-svn-id: https://svn.apache.org/repos/asf/maven/plugin-tools/trunk@1406538 13f79535-47bb-0310-9956-ffa450edef68
2012-11-07 10:49:01 +00:00
Herve Boutemy 805e0f84a7 [MPLUGIN-227]
o avoid NPE but get (intended-)explicit warning when unexpected situation happens (probably caused by using different plugin version between source generation and XML descriptor generation phases)
o try guessing the directory in such situation, using default location
o but don't fail in any case: 

git-svn-id: https://svn.apache.org/repos/asf/maven/plugin-tools/trunk@1406480 13f79535-47bb-0310-9956-ffa450edef68
2012-11-07 07:20:12 +00:00
Kristian Rosenvold a5647ce2c8 [maven-release-plugin] prepare for next development iteration
git-svn-id: https://svn.apache.org/repos/asf/maven/plugin-tools/trunk@1406221 13f79535-47bb-0310-9956-ffa450edef68
2012-11-06 16:57:58 +00:00
Kristian Rosenvold eca08f011f [maven-release-plugin] prepare release maven-plugin-tools-3.2
git-svn-id: https://svn.apache.org/repos/asf/maven/plugin-tools/trunk@1406219 13f79535-47bb-0310-9956-ffa450edef68
2012-11-06 16:57:04 +00:00
Kristian Rosenvold 188b792d5b [maven-release-plugin] prepare for next development iteration
git-svn-id: https://svn.apache.org/repos/asf/maven/plugin-tools/trunk@1406048 13f79535-47bb-0310-9956-ffa450edef68
2012-11-06 05:52:36 +00:00
Kristian Rosenvold 020cb87d5c [maven-release-plugin] prepare release maven-plugin-tools-3.2
git-svn-id: https://svn.apache.org/repos/asf/maven/plugin-tools/trunk@1406046 13f79535-47bb-0310-9956-ffa450edef68
2012-11-06 05:51:45 +00:00
Robert Scholte 197ce98685 Remove setUseAnnotations from PluginHelpGenerator, PluginToolsRequest has enough info to decide this.
git-svn-id: https://svn.apache.org/repos/asf/maven/plugin-tools/trunk@1406001 13f79535-47bb-0310-9956-ffa450edef68
2012-11-05 22:34:46 +00:00
Robert Scholte b7120e30cc String.indexOf(char) is faster than String.indexOf(String).
git-svn-id: https://svn.apache.org/repos/asf/maven/plugin-tools/trunk@1405630 13f79535-47bb-0310-9956-ffa450edef68
2012-11-04 20:38:18 +00:00
Herve Boutemy 134e412a36 improved descriptions
git-svn-id: https://svn.apache.org/repos/asf/maven/plugin-tools/trunk@1405607 13f79535-47bb-0310-9956-ffa450edef68
2012-11-04 18:54:17 +00:00
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