Herve Boutemy
cb0fda1300
continue refactoring: split generation utils from PluginUtils to GeneratorUtils
...
git-svn-id: https://svn.apache.org/repos/asf/maven/plugin-tools/trunk@1337854 13f79535-47bb-0310-9956-ffa450edef68
2012-05-13 12:09:13 +00:00
Herve Boutemy
d1998943e5
fixed typo
...
git-svn-id: https://svn.apache.org/repos/asf/maven/plugin-tools/trunk@1337850 13f79535-47bb-0310-9956-ffa450edef68
2012-05-13 11:23:29 +00:00
Herve Boutemy
a9aca6f75c
refactoring: split generators part of maven-plugin-tools-api to its own maven-plugin-tools-generators module
...
git-svn-id: https://svn.apache.org/repos/asf/maven/plugin-tools/trunk@1337845 13f79535-47bb-0310-9956-ffa450edef68
2012-05-13 11:09:17 +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
e42b381a7f
removed dead code
...
git-svn-id: https://svn.apache.org/repos/asf/maven/plugin-tools/trunk@1337712 13f79535-47bb-0310-9956-ffa450edef68
2012-05-12 22:41:56 +00:00
Olivier Lamy
d62a360110
use released version of invoker plugin
...
git-svn-id: https://svn.apache.org/repos/asf/maven/plugin-tools/trunk@1337694 13f79535-47bb-0310-9956-ffa450edef68
2012-05-12 21:34:09 +00:00
Herve Boutemy
5d63f01d12
reverted maven-reporting-impl upgrade since it causes a failure with mvn 2.2.1
...
git-svn-id: https://svn.apache.org/repos/asf/maven/plugin-tools/trunk@1337606 13f79535-47bb-0310-9956-ffa450edef68
2012-05-12 19:01:13 +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
Herve Boutemy
eeac216d3f
updated maven-reporting-impl
...
git-svn-id: https://svn.apache.org/repos/asf/maven/plugin-tools/trunk@1337559 13f79535-47bb-0310-9956-ffa450edef68
2012-05-12 14:58:43 +00:00
Herve Boutemy
acc5979f13
removed unused imports
...
git-svn-id: https://svn.apache.org/repos/asf/maven/plugin-tools/trunk@1337554 13f79535-47bb-0310-9956-ffa450edef68
2012-05-12 14:39:30 +00:00
Herve Boutemy
45f4ad6034
improved javadoc
...
git-svn-id: https://svn.apache.org/repos/asf/maven/plugin-tools/branches/MPLUGIN-189@1337493 13f79535-47bb-0310-9956-ffa450edef68
2012-05-12 10:01:00 +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
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
Olivier Lamy
e008c8012c
[MPLUGIN-189] support components field inheritance
...
git-svn-id: https://svn.apache.org/repos/asf/maven/plugin-tools/branches/MPLUGIN-189@1335091 13f79535-47bb-0310-9956-ffa450edef68
2012-05-07 16:15:12 +00:00
Olivier Lamy
a4ba9593bb
improve it
...
git-svn-id: https://svn.apache.org/repos/asf/maven/plugin-tools/branches/MPLUGIN-189@1335070 13f79535-47bb-0310-9956-ffa450edef68
2012-05-07 15:40:20 +00:00
Olivier Lamy
ccc0c36afe
[MPLUGIN-189] support parameter field inheritance
...
git-svn-id: https://svn.apache.org/repos/asf/maven/plugin-tools/branches/MPLUGIN-189@1335069 13f79535-47bb-0310-9956-ffa450edef68
2012-05-07 15:39:56 +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
Olivier Lamy
581a5da641
move annotations to an other artifacts: users only need annotations and the whole content of the scan tooling
...
git-svn-id: https://svn.apache.org/repos/asf/maven/plugin-tools/branches/MPLUGIN-189@1333844 13f79535-47bb-0310-9956-ffa450edef68
2012-05-04 10:02:40 +00:00
Olivier Lamy
6a4e7387fc
simplify properties with using ${project.version}
...
git-svn-id: https://svn.apache.org/repos/asf/maven/plugin-tools/branches/MPLUGIN-189@1331711 13f79535-47bb-0310-9956-ffa450edef68
2012-04-28 08:41:46 +00:00
Olivier Lamy
a396a42d68
bump version to 3.0-SNAPSHOT
...
git-svn-id: https://svn.apache.org/repos/asf/maven/plugin-tools/branches/MPLUGIN-189@1331709 13f79535-47bb-0310-9956-ffa450edef68
2012-04-28 08:35:48 +00:00
Olivier Lamy
3c1c831de4
avoid it running twice
...
git-svn-id: https://svn.apache.org/repos/asf/maven/plugin-tools/branches/MPLUGIN-189@1331611 13f79535-47bb-0310-9956-ffa450edef68
2012-04-27 22:07:49 +00:00
Robert Scholte
e3c0d1e684
Add IT for MPLUGIN-187, can't reproduce it with current version
...
git-svn-id: https://svn.apache.org/repos/asf/maven/plugin-tools/trunk@1328474 13f79535-47bb-0310-9956-ffa450edef68
2012-04-20 18:28:26 +00:00
Herve Boutemy
63d5fea846
fixed relative links
...
git-svn-id: https://svn.apache.org/repos/asf/maven/plugin-tools/trunk@1178959 13f79535-47bb-0310-9956-ffa450edef68
2011-10-04 21:24:11 +00:00
Herve Boutemy
6daae712b5
removed unused import
...
git-svn-id: https://svn.apache.org/repos/asf/maven/plugin-tools/trunk@1178583 13f79535-47bb-0310-9956-ffa450edef68
2011-10-03 21:22:09 +00:00
Herve Boutemy
9d5fe284c6
o updated maven-reporting-impl version to match Doxia update
...
o removed configuration already inherited from parent
o simplified poms
git-svn-id: https://svn.apache.org/repos/asf/maven/plugin-tools/trunk@1164686 13f79535-47bb-0310-9956-ffa450edef68
2011-09-02 20:16:28 +00:00
Herve Boutemy
eee0b9c069
o updated maven-reporting-impl version to match Doxia update
...
o removed configuration already inherited from parent
git-svn-id: https://svn.apache.org/repos/asf/maven/plugin-tools/trunk@1164679 13f79535-47bb-0310-9956-ffa450edef68
2011-09-02 19:59:25 +00:00
Benson Margulies
9adfa004ec
First I made some pointless POM changes, and then the release plugin didn't quite put things back
...
the way it found them at the end of prepare. Put everything back into line for the next round.
git-svn-id: https://svn.apache.org/repos/asf/maven/plugin-tools/trunk@1164629 13f79535-47bb-0310-9956-ffa450edef68
2011-09-02 16:53:58 +00:00
Benson Margulies
98556bd4e8
[maven-release-plugin] prepare for next development iteration
...
git-svn-id: https://svn.apache.org/repos/asf/maven/plugin-tools/trunk@1164612 13f79535-47bb-0310-9956-ffa450edef68
2011-09-02 16:24:38 +00:00
Benson Margulies
efca52a3ea
[maven-release-plugin] prepare release maven-plugin-tools-2.9
...
git-svn-id: https://svn.apache.org/repos/asf/maven/plugin-tools/trunk@1164610 13f79535-47bb-0310-9956-ffa450edef68
2011-09-02 16:24:26 +00:00
Benson Margulies
1b4cf03cea
pre-release cleanup, site plugin 3.0, etc.
...
git-svn-id: https://svn.apache.org/repos/asf/maven/plugin-tools/trunk@1164601 13f79535-47bb-0310-9956-ffa450edef68
2011-09-02 16:11:05 +00:00
Benson Margulies
e0ae576de1
Try to make release plugin happy.
...
git-svn-id: https://svn.apache.org/repos/asf/maven/plugin-tools/trunk@1164593 13f79535-47bb-0310-9956-ffa450edef68
2011-09-02 15:55:35 +00:00
Benson Margulies
93cc7a1052
Update to new parent version.
...
git-svn-id: https://svn.apache.org/repos/asf/maven/plugin-tools/trunk@1164591 13f79535-47bb-0310-9956-ffa450edef68
2011-09-02 15:54:50 +00:00
Benson Margulies
20c5286c7c
[MPLUGIN-179] Clarify the goalPrefix (is there a default value for example) param
...
git-svn-id: https://svn.apache.org/repos/asf/maven/plugin-tools/trunk@1164587 13f79535-47bb-0310-9956-ffa450edef68
2011-09-02 15:47:35 +00:00
Benson Margulies
8a41324bbd
[MPLUGIN-177] Required JDK incorrectly specified if using default for m-compiler-p
...
o forgot two svn adds.
git-svn-id: https://svn.apache.org/repos/asf/maven/plugin-tools/trunk@1164585 13f79535-47bb-0310-9956-ffa450edef68
2011-09-02 15:40:15 +00:00
Benson Margulies
89be0cfb89
[MPLUGIN-177] Required JDK incorrectly specified if using default for m-compiler-p
...
o if the target isn't there, refer the reader to the compiler plugin. Don't try to
maintain a list of default versions for compiler plugin versions, and never say '1.1'.
git-svn-id: https://svn.apache.org/repos/asf/maven/plugin-tools/trunk@1164584 13f79535-47bb-0310-9956-ffa450edef68
2011-09-02 15:38:56 +00:00