Commit Graph

763 Commits (3797962e88d41de993c94b40a9b25ced2d0fd48c)

Author SHA1 Message Date
Kristian Rosenvold 3797962e88 [maven-release-plugin] copy for tag maven-plugin-tools-3.2
git-svn-id: https://svn.apache.org/repos/asf/maven/plugin-tools/tags/maven-plugin-tools-3.2@1406624 13f79535-47bb-0310-9956-ffa450edef68
2012-11-07 13:32:39 +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 eef0a7817c [maven-release-plugin] copy for tag maven-plugin-tools-3.2
git-svn-id: https://svn.apache.org/repos/asf/maven/plugin-tools/tags/maven-plugin-tools-3.2@1406562 13f79535-47bb-0310-9956-ffa450edef68
2012-11-07 11:31:59 +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
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 c759f79fa1 [maven-release-plugin] copy for tag maven-plugin-tools-3.2
git-svn-id: https://svn.apache.org/repos/asf/maven/plugin-tools/tags/maven-plugin-tools-3.2@1406220 13f79535-47bb-0310-9956-ffa450edef68
2012-11-06 16:57:27 +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 e2487f0b15 [maven-release-plugin] copy for tag maven-plugin-tools-3.2
git-svn-id: https://svn.apache.org/repos/asf/maven/plugin-tools/tags/maven-plugin-tools-3.2@1406047 13f79535-47bb-0310-9956-ffa450edef68
2012-11-06 05:52:04 +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