Commit Graph

70 Commits (6a2c0dfce7558354f4979020e4970cfdaf2b0044)

Author SHA1 Message Date
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
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
Herve Boutemy 53dfd41c54 removed readonly and required attributes, started with r1339666
git-svn-id: https://svn.apache.org/repos/asf/maven/plugin-tools/trunk@1339872 13f79535-47bb-0310-9956-ffa450edef68
2012-05-17 21:45:16 +00:00
Herve Boutemy 34400e4e3c removed readonly and required attributes from component configuration, both in java 5 annotations or javadoc tags documentation, since they are ignored
git-svn-id: https://svn.apache.org/repos/asf/maven/plugin-tools/trunk@1339666 13f79535-47bb-0310-9956-ffa450edef68
2012-05-17 15:52:18 +00:00
Herve Boutemy d56e6cba11 renamed DependencyScope to ResolutionScope to better match the intent
git-svn-id: https://svn.apache.org/repos/asf/maven/plugin-tools/trunk@1338393 13f79535-47bb-0310-9956-ffa450edef68
2012-05-14 20:46:10 +00:00
Herve Boutemy 169cb9dcc2 [MPLUGIN-194] support expression="a property" in addition to expression="${a property}"
git-svn-id: https://svn.apache.org/repos/asf/maven/plugin-tools/trunk@1337816 13f79535-47bb-0310-9956-ffa450edef68
2012-05-13 09:04:24 +00:00
Herve Boutemy b7864f235b formatting
git-svn-id: https://svn.apache.org/repos/asf/maven/plugin-tools/trunk@1337705 13f79535-47bb-0310-9956-ffa450edef68
2012-05-12 22:14:26 +00:00
Olivier Lamy 2f1b305901 javadoc from components.xml and remove file
git-svn-id: https://svn.apache.org/repos/asf/maven/plugin-tools/trunk@1337658 13f79535-47bb-0310-9956-ffa450edef68
2012-05-12 21:13:41 +00:00
Olivier Lamy b6e4781de6 generate components.xml rather than writing it manually
git-svn-id: https://svn.apache.org/repos/asf/maven/plugin-tools/trunk@1337657 13f79535-47bb-0310-9956-ffa450edef68
2012-05-12 21:13:24 +00:00
Olivier Lamy ca84ee10df restore required and readonly attributes in @Component (not sure the need of that :-) ) maybe future use in core.
git-svn-id: https://svn.apache.org/repos/asf/maven/plugin-tools/trunk@1337639 13f79535-47bb-0310-9956-ffa450edef68
2012-05-12 20:37:35 +00:00
Herve Boutemy f960418b9c enum introduction fix
git-svn-id: https://svn.apache.org/repos/asf/maven/plugin-tools/trunk@1337600 13f79535-47bb-0310-9956-ffa450edef68
2012-05-12 17:41:36 +00:00
Herve Boutemy c95ea5dd89 first pass at IT fix since enums introduction
git-svn-id: https://svn.apache.org/repos/asf/maven/plugin-tools/trunk@1337599 13f79535-47bb-0310-9956-ffa450edef68
2012-05-12 17:38:03 +00:00
Herve Boutemy 360a9d2e8e added InstanciationStrategy enumeration
git-svn-id: https://svn.apache.org/repos/asf/maven/plugin-tools/trunk@1337592 13f79535-47bb-0310-9956-ffa450edef68
2012-05-12 17:07:01 +00:00
Herve Boutemy c9063cbb83 added DependencyScope enumeration
git-svn-id: https://svn.apache.org/repos/asf/maven/plugin-tools/trunk@1337586 13f79535-47bb-0310-9956-ffa450edef68
2012-05-12 16:14:40 +00:00
Herve Boutemy 36f982ee7a changed name for more consistency with other extractors
git-svn-id: https://svn.apache.org/repos/asf/maven/plugin-tools/trunk@1337570 13f79535-47bb-0310-9956-ffa450edef68
2012-05-12 15:27:38 +00:00
Herve Boutemy d429187237 fixed typo
git-svn-id: https://svn.apache.org/repos/asf/maven/plugin-tools/trunk@1337569 13f79535-47bb-0310-9956-ffa450edef68
2012-05-12 15:25:54 +00:00
Herve Boutemy 72dada3d21 added documentation, with the same example as Mojo Javadoc Tags
git-svn-id: https://svn.apache.org/repos/asf/maven/plugin-tools/trunk@1337568 13f79535-47bb-0310-9956-ffa450edef68
2012-05-12 15:23:34 +00:00
Herve Boutemy e77f26d98f code formatting
git-svn-id: https://svn.apache.org/repos/asf/maven/plugin-tools/trunk@1337556 13f79535-47bb-0310-9956-ffa450edef68
2012-05-12 14:51:14 +00:00
Olivier Lamy 69afeb1a56 fix mvn 2 compatibility
git-svn-id: https://svn.apache.org/repos/asf/maven/plugin-tools/branches/MPLUGIN-189@1337351 13f79535-47bb-0310-9956-ffa450edef68
2012-05-11 20:02:08 +00:00
Olivier Lamy 2f6eee2513 [MPLUGIN-189] if helpPackageName is not configured change the package of the generic class name to have a similar package as before annotations
git-svn-id: https://svn.apache.org/repos/asf/maven/plugin-tools/branches/MPLUGIN-189@1337279 13f79535-47bb-0310-9956-ffa450edef68
2012-05-11 16:46:34 +00:00
Olivier Lamy ba66d8def7 add warning if artifact with sources classifier not found
git-svn-id: https://svn.apache.org/repos/asf/maven/plugin-tools/branches/MPLUGIN-189@1336293 13f79535-47bb-0310-9956-ffa450edef68
2012-05-09 16:45:49 +00:00
Olivier Lamy d85b22ec88 [MPLUGIN-189] scan sources from dependencies if sources classifier found to get @since,@deprecated and text
git-svn-id: https://svn.apache.org/repos/asf/maven/plugin-tools/branches/MPLUGIN-189@1336291 13f79535-47bb-0310-9956-ffa450edef68
2012-05-09 16:45:26 +00:00
Olivier Lamy ccc68be0c6 @Execute can come from parent classes hierarchy
order parameters/components on fieldName order to ensure stability of tests.

git-svn-id: https://svn.apache.org/repos/asf/maven/plugin-tools/branches/MPLUGIN-189@1336290 13f79535-47bb-0310-9956-ffa450edef68
2012-05-09 16:43:54 +00:00
Olivier Lamy d1e2e09ba8 add the directory only if exists
git-svn-id: https://svn.apache.org/repos/asf/maven/plugin-tools/branches/MPLUGIN-189@1336288 13f79535-47bb-0310-9956-ffa450edef68
2012-05-09 16:43:10 +00:00
Olivier Lamy 9badbe7f68 [MPLUGIN-189] scan sources from reactors project to get @since,@deprecated and text
git-svn-id: https://svn.apache.org/repos/asf/maven/plugin-tools/branches/MPLUGIN-189@1335767 13f79535-47bb-0310-9956-ffa450edef68
2012-05-08 21:01:42 +00:00
Olivier Lamy 261a3cf86a exclude @Mojo annotation when coming from classes from dependencies
git-svn-id: https://svn.apache.org/repos/asf/maven/plugin-tools/branches/MPLUGIN-189@1335766 13f79535-47bb-0310-9956-ffa450edef68
2012-05-08 21:01:28 +00:00
Olivier Lamy 3dd6a922a9 store the origin artifact of the annotation for later use
git-svn-id: https://svn.apache.org/repos/asf/maven/plugin-tools/branches/MPLUGIN-189@1335765 13f79535-47bb-0310-9956-ffa450edef68
2012-05-08 21:01:10 +00:00
Olivier Lamy 18e8cb4178 use artifacts for scanning for future use
git-svn-id: https://svn.apache.org/repos/asf/maven/plugin-tools/branches/MPLUGIN-189@1335764 13f79535-47bb-0310-9956-ffa450edef68
2012-05-08 21:00:44 +00:00
Olivier Lamy 77a87b0236 [MPLUGIN-189] support inheritence from classes available in dependencies: it with annotations in parent class available in reactors
git-svn-id: https://svn.apache.org/repos/asf/maven/plugin-tools/branches/MPLUGIN-189@1335763 13f79535-47bb-0310-9956-ffa450edef68
2012-05-08 21:00:16 +00:00
Olivier Lamy 2373bae319 [MPLUGIN-189] support components field inheritance without role defined
git-svn-id: https://svn.apache.org/repos/asf/maven/plugin-tools/branches/MPLUGIN-189@1335092 13f79535-47bb-0310-9956-ffa450edef68
2012-05-07 16:15:35 +00:00