Commit Graph

95 Commits (311aa0921880233912d7e439f46188050ee50966)

Author SHA1 Message Date
Dennis Lundberg 00288684b1 [MPLUGIN-266] Incorrect warning comment about deprecated @component usage for maven objects
Additional tweaks to the warning message

git-svn-id: https://svn.apache.org/repos/asf/maven/plugin-tools/trunk@1610973 13f79535-47bb-0310-9956-ffa450edef68
2014-07-16 11:55:05 +00:00
Tony Chemit f224aa88c6 [MPLUGIN-266] Incorrect warning comment about deprecated @component usage for maven objects
git-svn-id: https://svn.apache.org/repos/asf/maven/plugin-tools/trunk@1599146 13f79535-47bb-0310-9956-ffa450edef68
2014-06-02 09:54:18 +00:00
Herve Boutemy daf8877b3d code simplification
git-svn-id: https://svn.apache.org/repos/asf/maven/plugin-tools/trunk@1592265 13f79535-47bb-0310-9956-ffa450edef68
2014-05-03 19:05:48 +00:00
Herve Boutemy 63a11167e0 limit debug output: display found class only when annotation is found
git-svn-id: https://svn.apache.org/repos/asf/maven/plugin-tools/trunk@1592262 13f79535-47bb-0310-9956-ffa450edef68
2014-05-03 18:51:13 +00:00
Herve Boutemy ca9c92eaab improved javadoc
git-svn-id: https://svn.apache.org/repos/asf/maven/plugin-tools/trunk@1592237 13f79535-47bb-0310-9956-ffa450edef68
2014-05-03 16:19:49 +00:00
Herve Boutemy c0ba1194b1 [MPLUGIN-265] removed deprecated API since introduction of PluginToolsRequest
git-svn-id: https://svn.apache.org/repos/asf/maven/plugin-tools/trunk@1592229 13f79535-47bb-0310-9956-ffa450edef68
2014-05-03 15:50:05 +00:00
Herve Boutemy 37b87d5ef5 [MPLUGIN-259] added @Parameter name="xxx" to set bean property name different from class' field
git-svn-id: https://svn.apache.org/repos/asf/maven/plugin-tools/trunk@1592217 13f79535-47bb-0310-9956-ffa450edef68
2014-05-03 15:20:29 +00:00
Herve Boutemy 10d0a99bec code simplification
git-svn-id: https://svn.apache.org/repos/asf/maven/plugin-tools/trunk@1592004 13f79535-47bb-0310-9956-ffa450edef68
2014-05-02 18:39:11 +00:00
Herve Boutemy a6eab7460b code simplification
git-svn-id: https://svn.apache.org/repos/asf/maven/plugin-tools/trunk@1591999 13f79535-47bb-0310-9956-ffa450edef68
2014-05-02 18:29:41 +00:00
Herve Boutemy c339131883 removed too verbose debug log items
git-svn-id: https://svn.apache.org/repos/asf/maven/plugin-tools/trunk@1590814 13f79535-47bb-0310-9956-ffa450edef68
2014-04-28 21:42:54 +00:00
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
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 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 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
Herve Boutemy 3bf23ba831 fixed documentation for latests changes (DependencyScope -> ResolutionScope, expression -> property, removal of readonly and required from Component)
git-svn-id: https://svn.apache.org/repos/asf/maven/plugin-tools/trunk@1339889 13f79535-47bb-0310-9956-ffa450edef68
2012-05-17 22:22:49 +00:00
Herve Boutemy 092e4267b0 [MPLUGIN-196] rename expression attribute of parameter to property for Java 5 annotation
git-svn-id: https://svn.apache.org/repos/asf/maven/plugin-tools/trunk@1339888 13f79535-47bb-0310-9956-ffa450edef68
2012-05-17 22:20:31 +00:00