Herve Boutemy
6a2c0dfce7
fixed POM xsd location
...
git-svn-id: https://svn.apache.org/repos/asf/maven/plugin-tools/trunk@1344949 13f79535-47bb-0310-9956-ffa450edef68
2012-06-01 00:20:23 +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
8409babf38
extended IT for annotations
...
git-svn-id: https://svn.apache.org/repos/asf/maven/plugin-tools/trunk@1343181 13f79535-47bb-0310-9956-ffa450edef68
2012-05-28 10:03:40 +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
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
f603ef639d
added pom xsd reference
...
git-svn-id: https://svn.apache.org/repos/asf/maven/plugin-tools/trunk@1340807 13f79535-47bb-0310-9956-ffa450edef68
2012-05-20 19:23:12 +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
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
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
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
Olivier Lamy
34c68c011d
annotation need only class retentionPolicy
...
git-svn-id: https://svn.apache.org/repos/asf/maven/plugin-tools/trunk@1338003 13f79535-47bb-0310-9956-ffa450edef68
2012-05-13 23:04:57 +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
369596166a
[MPLUGIN-189] changed descriptor goal default phase from generate-resources to process-classes for Java 5 annotations (which are actually taken from compiled code, not from source)
...
git-svn-id: https://svn.apache.org/repos/asf/maven/plugin-tools/trunk@1337808 13f79535-47bb-0310-9956-ffa450edef68
2012-05-13 08:29:05 +00:00
Herve Boutemy
b3acbd4df6
enum introduction fix
...
git-svn-id: https://svn.apache.org/repos/asf/maven/plugin-tools/trunk@1337601 13f79535-47bb-0310-9956-ffa450edef68
2012-05-12 17:46:30 +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
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
2eef7a412b
don't test help generation in all it, use doclet for help generation to not force users to add annotations artifact as a dependency
...
git-svn-id: https://svn.apache.org/repos/asf/maven/plugin-tools/branches/MPLUGIN-189@1337275 13f79535-47bb-0310-9956-ffa450edef68
2012-05-11 16:45:45 +00:00
Olivier Lamy
4ec2eaf3a5
[MPLUGIN-189] push some stuff on help for annotations
...
the goal is to have a generic class which will read the descriptor.
Copy of the descriptor with cleaning html for description fields (copy in a path META-INF/maven/${groupId}/${artifactId}/plugin-description.xml
git-svn-id: https://svn.apache.org/repos/asf/maven/plugin-tools/branches/MPLUGIN-189@1337273 13f79535-47bb-0310-9956-ffa450edef68
2012-05-11 16:44:59 +00:00
Olivier Lamy
32975142d5
comment test for help generation with annotations due to chicken and eggs trouble
...
git-svn-id: https://svn.apache.org/repos/asf/maven/plugin-tools/branches/MPLUGIN-189@1333851 13f79535-47bb-0310-9956-ffa450edef68
2012-05-04 10:05:28 +00:00
Olivier Lamy
28a6f54643
revert back phase change help generation with doclet must continue to work
...
git-svn-id: https://svn.apache.org/repos/asf/maven/plugin-tools/branches/MPLUGIN-189@1333850 13f79535-47bb-0310-9956-ffa450edef68
2012-05-04 10:05:16 +00:00
Olivier Lamy
5da55eb1be
add an it test.
...
add a flag to prevent error when using only annotations: no descriptors found
extraction is bind to generate-sources in maven core for maven-plugin packaging so at this stage no classes available for scanning annotations
git-svn-id: https://svn.apache.org/repos/asf/maven/plugin-tools/branches/MPLUGIN-189@1333847 13f79535-47bb-0310-9956-ffa450edef68
2012-05-04 10:03:54 +00:00