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
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