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
404aeb03b5
extended IT for javadoc tags
...
git-svn-id: https://svn.apache.org/repos/asf/maven/plugin-tools/trunk@1343175 13f79535-47bb-0310-9956-ffa450edef68
2012-05-28 09:39:00 +00:00
Olivier Lamy
fe79314db9
[MPLUGIN-206] add it classes
...
git-svn-id: https://svn.apache.org/repos/asf/maven/plugin-tools/trunk@1343160 13f79535-47bb-0310-9956-ffa450edef68
2012-05-28 08:15:41 +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
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
Herve Boutemy
6cc24a1747
read plugin-help.xml with encoding detection
...
git-svn-id: https://svn.apache.org/repos/asf/maven/plugin-tools/trunk@1342963 13f79535-47bb-0310-9956-ffa450edef68
2012-05-26 20:56:04 +00:00
Herve Boutemy
2e6586509a
added readonly parameter
...
git-svn-id: https://svn.apache.org/repos/asf/maven/plugin-tools/trunk@1342912 13f79535-47bb-0310-9956-ffa450edef68
2012-05-26 15:34:01 +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
Olivier Lamy
88a6f9df83
move ant version to a property
...
git-svn-id: https://svn.apache.org/repos/asf/maven/plugin-tools/trunk@1340913 13f79535-47bb-0310-9956-ffa450edef68
2012-05-21 07:35:26 +00:00
Olivier Lamy
aa929e452f
fix groupId
...
git-svn-id: https://svn.apache.org/repos/asf/maven/plugin-tools/trunk@1340868 13f79535-47bb-0310-9956-ffa450edef68
2012-05-20 23:01:33 +00:00
Olivier Lamy
c519ab14d5
add maven script as dependency for it tests
...
git-svn-id: https://svn.apache.org/repos/asf/maven/plugin-tools/trunk@1340867 13f79535-47bb-0310-9956-ffa450edef68
2012-05-20 23:01:19 +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
02b29353d6
[MPLUGIN-196] added property support to javadoc tags in addition to expression, deprecating expression
...
git-svn-id: https://svn.apache.org/repos/asf/maven/plugin-tools/trunk@1340574 13f79535-47bb-0310-9956-ffa450edef68
2012-05-19 21:53: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
c63c9e01fb
fixed IT for Maven 2
...
git-svn-id: https://svn.apache.org/repos/asf/maven/plugin-tools/trunk@1339721 13f79535-47bb-0310-9956-ffa450edef68
2012-05-17 17:16:40 +00:00
Herve Boutemy
a2be81a06d
fixed IT broken since DependencyScope was renamed to ResolutionScope in r1338393
...
git-svn-id: https://svn.apache.org/repos/asf/maven/plugin-tools/trunk@1339704 13f79535-47bb-0310-9956-ffa450edef68
2012-05-17 16:53:56 +00:00
Olivier Lamy
4abefe4080
add it test for plugin report with annotations
...
git-svn-id: https://svn.apache.org/repos/asf/maven/plugin-tools/trunk@1338439 13f79535-47bb-0310-9956-ffa450edef68
2012-05-14 21:33:29 +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
650437ad74
improve test of requiresDependencyResolution
...
git-svn-id: https://svn.apache.org/repos/asf/maven/plugin-tools/trunk@1338386 13f79535-47bb-0310-9956-ffa450edef68
2012-05-14 20:26:18 +00:00
Olivier Lamy
b01afaf047
add documentation for ant mojo
...
git-svn-id: https://svn.apache.org/repos/asf/maven/plugin-tools/trunk@1338356 13f79535-47bb-0310-9956-ffa450edef68
2012-05-14 19:37:45 +00:00
Olivier Lamy
c31075dd21
add SNIPPET for documentation purpose
...
git-svn-id: https://svn.apache.org/repos/asf/maven/plugin-tools/trunk@1338293 13f79535-47bb-0310-9956-ffa450edef68
2012-05-14 17:07:37 +00:00
Olivier Lamy
dd9b113101
add a simple it for beanshell mojo
...
git-svn-id: https://svn.apache.org/repos/asf/maven/plugin-tools/trunk@1338290 13f79535-47bb-0310-9956-ffa450edef68
2012-05-14 16:54:01 +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
4b0853179f
fixed ant ITs
...
git-svn-id: https://svn.apache.org/repos/asf/maven/plugin-tools/trunk@1337965 13f79535-47bb-0310-9956-ffa450edef68
2012-05-13 19:01:22 +00:00
Olivier Lamy
94b7573eff
pom cleanup
...
git-svn-id: https://svn.apache.org/repos/asf/maven/plugin-tools/trunk@1337868 13f79535-47bb-0310-9956-ffa450edef68
2012-05-13 13:06:31 +00:00
Olivier Lamy
cbd4578330
missed to add the file
...
git-svn-id: https://svn.apache.org/repos/asf/maven/plugin-tools/trunk@1337866 13f79535-47bb-0310-9956-ffa450edef68
2012-05-13 13:03:30 +00:00
Olivier Lamy
4feea7b268
move ant test to maven plugin it tests
...
git-svn-id: https://svn.apache.org/repos/asf/maven/plugin-tools/trunk@1337865 13f79535-47bb-0310-9956-ffa450edef68
2012-05-13 13:03:13 +00:00
Olivier Lamy
0d9832fdd5
missed to add the file
...
git-svn-id: https://svn.apache.org/repos/asf/maven/plugin-tools/trunk@1337863 13f79535-47bb-0310-9956-ffa450edef68
2012-05-13 12:54:02 +00:00
Olivier Lamy
bbe8ee8d63
move ant test to maven plugin it tests
...
git-svn-id: https://svn.apache.org/repos/asf/maven/plugin-tools/trunk@1337862 13f79535-47bb-0310-9956-ffa450edef68
2012-05-13 12:52:59 +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
Olivier Lamy
a0635587e4
add a simple it test with ant mojo
...
git-svn-id: https://svn.apache.org/repos/asf/maven/plugin-tools/trunk@1337714 13f79535-47bb-0310-9956-ffa450edef68
2012-05-12 22:52:34 +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
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
643c8de61c
fix package name parameter for help generation
...
git-svn-id: https://svn.apache.org/repos/asf/maven/plugin-tools/branches/MPLUGIN-189@1337278 13f79535-47bb-0310-9956-ffa450edef68
2012-05-11 16:46:13 +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
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
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
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