Commit Graph

100 Commits (b8b9a466aa6dbbb0c8b0f4f602f07382c7c8693e)

Author SHA1 Message Date
Herve Boutemy b8b9a466aa [MPLUGIN-242] reverted unit test in r1590803 since it breaks actual maven-plugin-plugin build which is using plugin-tools 3.2 (affected by the bug)
git-svn-id: https://svn.apache.org/repos/asf/maven/plugin-tools/trunk@1590812 13f79535-47bb-0310-9956-ffa450edef68
2014-04-28 21:37:03 +00:00
Herve Boutemy 6d936298d3 [MPLUGIN-242] NullPointerException in MojoClassVisitor.visit() fix
Submitted by: Mikolaj Izdebski

git-svn-id: https://svn.apache.org/repos/asf/maven/plugin-tools/trunk@1590811 13f79535-47bb-0310-9956-ffa450edef68
2014-04-28 21:34:44 +00:00
Herve Boutemy 62561197e8 [MPLUGIN-242] NullPointerException in MojoClassVisitor.visit() unit test
Submitted by: Mikolaj Izdebski

git-svn-id: https://svn.apache.org/repos/asf/maven/plugin-tools/trunk@1590803 13f79535-47bb-0310-9956-ffa450edef68
2014-04-28 21:18:04 +00:00
Herve Boutemy f8a946df81 [MPLUGIN-257] deprecated classical Maven objects as components: replaced with code snippets in documentation
git-svn-id: https://svn.apache.org/repos/asf/maven/plugin-tools/trunk@1590401 13f79535-47bb-0310-9956-ffa450edef68
2014-04-27 15:00:54 +00:00
Herve Boutemy 4db874b18f show ${project.basedir} instead of ${basedir}
git-svn-id: https://svn.apache.org/repos/asf/maven/plugin-tools/trunk@1590398 13f79535-47bb-0310-9956-ffa450edef68
2014-04-27 14:14:41 +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
Herve Boutemy 9c26ce960d [MPLUGIN-249] give snippets to show use of expressions to get Maven objects
git-svn-id: https://svn.apache.org/repos/asf/maven/plugin-tools/trunk@1505210 13f79535-47bb-0310-9956-ffa450edef68
2013-07-20 21:20:38 +00:00
Anders Hammar fcc328fb6e Fixed incorrect English wording
git-svn-id: https://svn.apache.org/repos/asf/maven/plugin-tools/trunk@1415181 13f79535-47bb-0310-9956-ffa450edef68
2012-11-29 14:31:26 +00:00
Anders Hammar 435fbb1d04 Added a missing comma in code example
git-svn-id: https://svn.apache.org/repos/asf/maven/plugin-tools/trunk@1415163 13f79535-47bb-0310-9956-ffa450edef68
2012-11-29 13:57:49 +00:00
Anders Hammar f67446b914 [MPLUGIN-236] Value for Mojo's 'defaultPhase' parameter is incorrectly a string in examples
git-svn-id: https://svn.apache.org/repos/asf/maven/plugin-tools/trunk@1415161 13f79535-47bb-0310-9956-ffa450edef68
2012-11-29 13:54:53 +00:00
Olivier Lamy 411ab0bb48 [MPLUGIN-234] Extreme amounts of debug logging.
git-svn-id: https://svn.apache.org/repos/asf/maven/plugin-tools/trunk@1412307 13f79535-47bb-0310-9956-ffa450edef68
2012-11-21 21:27:04 +00:00
Herve Boutemy 40397727da [MPLUGIN-233] removed InstanciationStrategy enum from annotations
git-svn-id: https://svn.apache.org/repos/asf/maven/plugin-tools/trunk@1406929 13f79535-47bb-0310-9956-ffa450edef68
2012-11-08 05:29:49 +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 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 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
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 6a460fe73d code simplification
git-svn-id: https://svn.apache.org/repos/asf/maven/plugin-tools/trunk@1363509 13f79535-47bb-0310-9956-ffa450edef68
2012-07-19 19:56:20 +00:00
Herve Boutemy 06dbbb5f7f code formatting
git-svn-id: https://svn.apache.org/repos/asf/maven/plugin-tools/trunk@1356324 13f79535-47bb-0310-9956-ffa450edef68
2012-07-02 16:29:45 +00:00
Benson Margulies 0c494380bc MPLUGIN-219: Instantiate spelled wrong in annotation
o new enum added with correct spelling
o compatibility arranged.


git-svn-id: https://svn.apache.org/repos/asf/maven/plugin-tools/trunk@1356038 13f79535-47bb-0310-9956-ffa450edef68
2012-07-01 22:34:15 +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 c46422fe0d [MPLUGIN-216] fixed default dependency resolution value as none for java 5 annotations
git-svn-id: https://svn.apache.org/repos/asf/maven/plugin-tools/trunk@1353331 13f79535-47bb-0310-9956-ffa450edef68
2012-06-24 20:59:37 +00:00
Herve Boutemy 1c9a253347 [MPLUGIN-214] fixed description generated by Maven objects marked as component (required=true and no implementation, and since+deprecated for tags)
git-svn-id: https://svn.apache.org/repos/asf/maven/plugin-tools/trunk@1353231 13f79535-47bb-0310-9956-ffa450edef68
2012-06-24 08:36:58 +00:00
Olivier Lamy 71415e98eb [MPLUGIN-213] NullPointerException in descriptor goal
Submitted by Tony Chemit.

git-svn-id: https://svn.apache.org/repos/asf/maven/plugin-tools/trunk@1352829 13f79535-47bb-0310-9956-ffa450edef68
2012-06-22 10:10:50 +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
Olivier Lamy 267ed41c4c fix it and missing annotations to descriptor values set
git-svn-id: https://svn.apache.org/repos/asf/maven/plugin-tools/trunk@1343198 13f79535-47bb-0310-9956-ffa450edef68
2012-05-28 10:39:49 +00:00
Herve Boutemy f6ac9094af fixed documentation: @since and @deprecated are ignored for components
git-svn-id: https://svn.apache.org/repos/asf/maven/plugin-tools/trunk@1343182 13f79535-47bb-0310-9956-ffa450edef68
2012-05-28 10:04:16 +00:00
Olivier Lamy 12f6d3fe88 remove non needed noisy debug log
git-svn-id: https://svn.apache.org/repos/asf/maven/plugin-tools/trunk@1343170 13f79535-47bb-0310-9956-ffa450edef68
2012-05-28 09:26:10 +00:00
Olivier Lamy 09b55931a9 add comments
git-svn-id: https://svn.apache.org/repos/asf/maven/plugin-tools/trunk@1343161 13f79535-47bb-0310-9956-ffa450edef68
2012-05-28 08:15:56 +00:00
Olivier Lamy e37c9d413c [MPLUGIN-206] Annotations in superclasses are not found if an intermediate class is not annotated.
git-svn-id: https://svn.apache.org/repos/asf/maven/plugin-tools/trunk@1343159 13f79535-47bb-0310-9956-ffa450edef68
2012-05-28 08:15:25 +00:00
Olivier Lamy 3381348ff3 [MPLUGIN-205] @Mojo in maven-plugin-annotations does not use the specified value of requiresProject
Submitted by Joseph Walton.

git-svn-id: https://svn.apache.org/repos/asf/maven/plugin-tools/trunk@1343148 13f79535-47bb-0310-9956-ffa450edef68
2012-05-28 06:43:33 +00:00
Herve Boutemy 2ebeedd214 removed redundant static modifier
git-svn-id: https://svn.apache.org/repos/asf/maven/plugin-tools/trunk@1343106 13f79535-47bb-0310-9956-ffa450edef68
2012-05-27 21:31:23 +00:00
Herve Boutemy 328f9208db renamed constant
git-svn-id: https://svn.apache.org/repos/asf/maven/plugin-tools/trunk@1343105 13f79535-47bb-0310-9956-ffa450edef68
2012-05-27 21:30:35 +00:00
Herve Boutemy 1e7bbd5bc6 [MPLUGIN-204] added support for some Maven objects injected as components: session, project, mojo, plugin and settings
git-svn-id: https://svn.apache.org/repos/asf/maven/plugin-tools/trunk@1343086 13f79535-47bb-0310-9956-ffa450edef68
2012-05-27 20:21:15 +00:00
Olivier Lamy 5c58ab6d40 use hint rather than roleHint fix documentation
git-svn-id: https://svn.apache.org/repos/asf/maven/plugin-tools/trunk@1341653 13f79535-47bb-0310-9956-ffa450edef68
2012-05-22 21:43:00 +00:00
Olivier Lamy f375619f9c use hint rather than roleHint
git-svn-id: https://svn.apache.org/repos/asf/maven/plugin-tools/trunk@1341650 13f79535-47bb-0310-9956-ffa450edef68
2012-05-22 21:42:04 +00:00
Herve Boutemy b3be96af8e o fixed role as Class<?> type
o improved examples

git-svn-id: https://svn.apache.org/repos/asf/maven/plugin-tools/trunk@1341647 13f79535-47bb-0310-9956-ffa450edef68
2012-05-22 21:35:43 +00:00
Herve Boutemy 2bc4e52ac7 removed unused method parameters
git-svn-id: https://svn.apache.org/repos/asf/maven/plugin-tools/trunk@1340728 13f79535-47bb-0310-9956-ffa450edef68
2012-05-20 14:10:38 +00:00
Olivier Lamy 8569bbeb56 @Component role attribute is now of type Class<?>
git-svn-id: https://svn.apache.org/repos/asf/maven/plugin-tools/trunk@1340709 13f79535-47bb-0310-9956-ffa450edef68
2012-05-20 13:20:25 +00:00
Herve Boutemy e647661af9 code simplification
git-svn-id: https://svn.apache.org/repos/asf/maven/plugin-tools/trunk@1340702 13f79535-47bb-0310-9956-ffa450edef68
2012-05-20 12:56:23 +00:00
Herve Boutemy 745441f7aa extracted scanAnnotations() and scanJavadoc() methods for better understanding
git-svn-id: https://svn.apache.org/repos/asf/maven/plugin-tools/trunk@1340693 13f79535-47bb-0310-9956-ffa450edef68
2012-05-20 12:26:44 +00:00
Herve Boutemy 99ff18a545 reverted r1340586: readonly is useful to avoid normal configuration of a plugin attribute at use time
git-svn-id: https://svn.apache.org/repos/asf/maven/plugin-tools/trunk@1340685 13f79535-47bb-0310-9956-ffa450edef68
2012-05-20 11:48:46 +00:00
Herve Boutemy bf49e7e7b5 removed readonly parameter to @Parameter annotation since this attribute was only useful when @Component didn't exist
git-svn-id: https://svn.apache.org/repos/asf/maven/plugin-tools/trunk@1340586 13f79535-47bb-0310-9956-ffa450edef68
2012-05-19 22:42:30 +00:00