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
Herve Boutemy
5d366fc36f
upgraded mpir to 2.6 to avoid MPIR-255
...
git-svn-id: https://svn.apache.org/repos/asf/maven/plugin-tools/trunk@1406474 13f79535-47bb-0310-9956-ffa450edef68
2012-11-07 06:30:21 +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
8bf5e39f23
Removed more version numbers.
...
git-svn-id: https://svn.apache.org/repos/asf/maven/plugin-tools/trunk@1406218 13f79535-47bb-0310-9956-ffa450edef68
2012-11-06 16:55:38 +00:00
Kristian Rosenvold
c8daa9d43f
o Removed version number. Yuck
...
git-svn-id: https://svn.apache.org/repos/asf/maven/plugin-tools/trunk@1406215 13f79535-47bb-0310-9956-ffa450edef68
2012-11-06 16:49:05 +00:00
Kristian Rosenvold
7bb944fbd5
Removed plugin-plugin from plugin management in its own module
...
git-svn-id: https://svn.apache.org/repos/asf/maven/plugin-tools/trunk@1406181 13f79535-47bb-0310-9956-ffa450edef68
2012-11-06 15:36:34 +00:00
Kristian Rosenvold
1bf5543db3
REvert 3.2 release attempt
...
This reverts commit e9e95bdc8d2629aa72d3e2f7c0230275ee2b40f7.
git-svn-id: https://svn.apache.org/repos/asf/maven/plugin-tools/trunk@1406179 13f79535-47bb-0310-9956-ffa450edef68
2012-11-06 15:32:59 +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
Dennis Lundberg
570bb47130
[MPLUGIN-223] HelpMojo is not extracted when using java-annotations extractor
...
- Add an IT to verify that this issue has been solved
git-svn-id: https://svn.apache.org/repos/asf/maven/plugin-tools/trunk@1405948 13f79535-47bb-0310-9956-ffa450edef68
2012-11-05 20:50:43 +00:00
Robert Scholte
1a3ad06e35
Update QDox to 1.12.1
...
git-svn-id: https://svn.apache.org/repos/asf/maven/plugin-tools/trunk@1405658 13f79535-47bb-0310-9956-ffa450edef68
2012-11-04 22:40:20 +00:00
Herve Boutemy
404009701f
updated plexus-archiver
...
git-svn-id: https://svn.apache.org/repos/asf/maven/plugin-tools/trunk@1405654 13f79535-47bb-0310-9956-ffa450edef68
2012-11-04 22:22:02 +00:00
Robert Scholte
866e3c18f0
These nested if statements could be combined
...
git-svn-id: https://svn.apache.org/repos/asf/maven/plugin-tools/trunk@1405633 13f79535-47bb-0310-9956-ffa450edef68
2012-11-04 20:50:33 +00:00
Robert Scholte
96cb878188
Avoid calling toString() on String objects; this is unnecessary.
...
git-svn-id: https://svn.apache.org/repos/asf/maven/plugin-tools/trunk@1405631 13f79535-47bb-0310-9956-ffa450edef68
2012-11-04 20:44:47 +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
Robert Scholte
1de1779688
Add definitionList of special Maven objects with their class
...
git-svn-id: https://svn.apache.org/repos/asf/maven/plugin-tools/trunk@1405624 13f79535-47bb-0310-9956-ffa450edef68
2012-11-04 19:37:07 +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
Herve Boutemy
afe2ca3e3f
PluginDescriptor is available only for Maven 3
...
git-svn-id: https://svn.apache.org/repos/asf/maven/plugin-tools/trunk@1405603 13f79535-47bb-0310-9956-ffa450edef68
2012-11-04 18:48:08 +00:00
Herve Boutemy
db38a1222a
provided scope is sufficient
...
git-svn-id: https://svn.apache.org/repos/asf/maven/plugin-tools/trunk@1405600 13f79535-47bb-0310-9956-ffa450edef68
2012-11-04 18:41:11 +00:00
Robert Scholte
618cd24a12
[MPLUGIN-220] Can not use regex in @Parameter(defaultValue)
...
Confirm with IT that qdox-1.12.1-SNAPSHOT will fix the issue.
Update once QDox is released
git-svn-id: https://svn.apache.org/repos/asf/maven/plugin-tools/trunk@1405438 13f79535-47bb-0310-9956-ffa450edef68
2012-11-03 22:47:37 +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
Herve Boutemy
27581ab1ee
${plugin} is only recognized by Maven 3
...
git-svn-id: https://svn.apache.org/repos/asf/maven/plugin-tools/trunk@1405336 13f79535-47bb-0310-9956-ffa450edef68
2012-11-03 13:56:10 +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
6ca8252f0a
[MPLUGIN-225] made generated descriptor from MojoExecution as Component compatible with Maven 2
...
git-svn-id: https://svn.apache.org/repos/asf/maven/plugin-tools/trunk@1405330 13f79535-47bb-0310-9956-ffa450edef68
2012-11-03 13:28:02 +00:00
Herve Boutemy
80aacd51f2
[MPLUGIN-225] made generated descriptor from MojoExecution as Component compatible with Maven 2
...
git-svn-id: https://svn.apache.org/repos/asf/maven/plugin-tools/trunk@1405318 13f79535-47bb-0310-9956-ffa450edef68
2012-11-03 10:57:36 +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
b81e8af383
improved notice about phases
...
git-svn-id: https://svn.apache.org/repos/asf/maven/plugin-tools/trunk@1389660 13f79535-47bb-0310-9956-ffa450edef68
2012-09-25 00:03:37 +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
2ead1c9957
added a link to MNG-5346
...
git-svn-id: https://svn.apache.org/repos/asf/maven/plugin-tools/trunk@1385317 13f79535-47bb-0310-9956-ffa450edef68
2012-09-16 16:51:43 +00:00
Robert Scholte
7dc8061119
Add packaging
...
git-svn-id: https://svn.apache.org/repos/asf/maven/plugin-tools/trunk@1375778 13f79535-47bb-0310-9956-ffa450edef68
2012-08-21 20:43:29 +00:00
Olivier Lamy
2a925264f5
use last parent pom
...
git-svn-id: https://svn.apache.org/repos/asf/maven/plugin-tools/trunk@1372611 13f79535-47bb-0310-9956-ffa450edef68
2012-08-13 20:58:08 +00:00
Olivier Lamy
61834d0374
clarify scope of annotations for plugin execution
...
git-svn-id: https://svn.apache.org/repos/asf/maven/plugin-tools/trunk@1372610 13f79535-47bb-0310-9956-ffa450edef68
2012-08-13 20:57:58 +00:00
Olivier Lamy
74f2a09f0d
fix doc
...
git-svn-id: https://svn.apache.org/repos/asf/maven/plugin-tools/trunk@1367804 13f79535-47bb-0310-9956-ffa450edef68
2012-07-31 22:22:05 +00:00
Olivier Lamy
51d5a633f6
this it need maven3
...
git-svn-id: https://svn.apache.org/repos/asf/maven/plugin-tools/trunk@1367509 13f79535-47bb-0310-9956-ffa450edef68
2012-07-31 11:56:54 +00:00
Olivier Lamy
b7cd9996e8
only scope compile is needed for annotations
...
git-svn-id: https://svn.apache.org/repos/asf/maven/plugin-tools/trunk@1367470 13f79535-47bb-0310-9956-ffa450edef68
2012-07-31 09:03:18 +00:00