Herve Boutemy
7230ba93e3
[MPLUGIN-209] use maven-plugin-tools' java 5 annotations
...
git-svn-id: https://svn.apache.org/repos/asf/maven/plugin-tools/trunk@1345787 13f79535-47bb-0310-9956-ffa450edef68
2012-06-03 21:58:22 +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
be82de952e
removed unused import
...
git-svn-id: https://svn.apache.org/repos/asf/maven/plugin-tools/trunk@1338429 13f79535-47bb-0310-9956-ffa450edef68
2012-05-14 21:18:44 +00:00
Olivier Lamy
5dd3ecc698
use StringBuilder rather than StringBuffer
...
git-svn-id: https://svn.apache.org/repos/asf/maven/plugin-tools/trunk@1338289 13f79535-47bb-0310-9956-ffa450edef68
2012-05-14 16:53:36 +00:00
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
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
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
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
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
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
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
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
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
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
Benson Margulies
a1f9697b64
[MPLUGIN-124] The generated documentation for a Mojo should show if it is a build plugin or a reporting plugin
...
o This renders text corresponding to @requiresReport. There is no metadata that I can find
that answers the question 'Can this be invoked as a reporting plugin'
git-svn-id: https://svn.apache.org/repos/asf/maven/plugin-tools/trunk@1164545 13f79535-47bb-0310-9956-ffa450edef68
2011-09-02 14:19:21 +00:00
Benson Margulies
03e3a1d4c3
[MPLUGIN-168] Plugins with no mojos lead to exception and failure in PluginReport
...
git-svn-id: https://svn.apache.org/repos/asf/maven/plugin-tools/trunk@1164525 13f79535-47bb-0310-9956-ffa450edef68
2011-09-02 13:31:56 +00:00
Stephen Connolly
595cc6897c
[MPLUGIN-174] Add standard skip configuration option.
...
o There may be valid use cases where the skip property is useful.
git-svn-id: https://svn.apache.org/repos/asf/maven/plugin-tools/trunk@1133737 13f79535-47bb-0310-9956-ffa450edef68
2011-06-09 09:20:50 +00:00
Stephen Connolly
065a85cc28
[MPLUGIN-184] Upgrade to JDK5
...
Submitted by: Robert Scholte
o Applied with one change (upgraded surefire version from 2.4.3 to 2.8.1)
o All integration tests still passing on my machine
git-svn-id: https://svn.apache.org/repos/asf/maven/plugin-tools/trunk@1133707 13f79535-47bb-0310-9956-ffa450edef68
2011-06-09 08:28:59 +00:00
Stephen Connolly
723c6c03bf
fix typo in r1125604
...
git-svn-id: https://svn.apache.org/repos/asf/maven/plugin-tools/trunk@1125820 13f79535-47bb-0310-9956-ffa450edef68
2011-05-21 21:18:44 +00:00
Stephen Connolly
f88a58cecb
No point sitting on this change any longer.
...
git-svn-id: https://svn.apache.org/repos/asf/maven/plugin-tools/trunk@1125604 13f79535-47bb-0310-9956-ffa450edef68
2011-05-21 00:21:26 +00:00
Lukas Theussl
b42791542d
[MPLUGIN-180] use correct (input) encoding as default
...
git-svn-id: https://svn.apache.org/repos/asf/maven/plugin-tools/trunk@1059774 13f79535-47bb-0310-9956-ffa450edef68
2011-01-17 07:45:10 +00:00
Lukas Theussl
3f754b9ef6
[MPLUGIN-180] forward encoding to the PluginToolsRequest
...
git-svn-id: https://svn.apache.org/repos/asf/maven/plugin-tools/trunk@1059551 13f79535-47bb-0310-9956-ffa450edef68
2011-01-16 13:14:04 +00:00
Benjamin Bentmann
a30e8eabbd
[MPLUGIN-176] helpmojo: Use Java 5 generics in generated help mojo
...
git-svn-id: https://svn.apache.org/repos/asf/maven/plugin-tools/trunk@1050558 13f79535-47bb-0310-9956-ffa450edef68
2010-12-18 00:46:38 +00:00
Benjamin Bentmann
5fa8be28e3
[MPLUGIN-170] Mark plugin as thread-safe
...
git-svn-id: https://svn.apache.org/repos/asf/maven/plugin-tools/trunk@944815 13f79535-47bb-0310-9956-ffa450edef68
2010-05-16 12:28:02 +00:00
Benjamin Bentmann
443248d28e
o Formatted code
...
git-svn-id: https://svn.apache.org/repos/asf/maven/plugin-tools/trunk@944804 13f79535-47bb-0310-9956-ffa450edef68
2010-05-16 11:34:46 +00:00
Benjamin Bentmann
e869ef7b62
[MPLUGIN-146] Implement pluginXml parameter for maven-plugin-plugin
...
o Added a skip parameter instead which simply allows usage of src/main/resources/META-INF/maven/plugin.xml to yield the desired effect
git-svn-id: https://svn.apache.org/repos/asf/maven/plugin-tools/trunk@940010 13f79535-47bb-0310-9956-ffa450edef68
2010-05-01 13:35:33 +00:00
Benjamin Bentmann
a54c0dca73
o Polished code
...
git-svn-id: https://svn.apache.org/repos/asf/maven/plugin-tools/trunk@940009 13f79535-47bb-0310-9956-ffa450edef68
2010-05-01 13:32:37 +00:00
Benjamin Bentmann
8f3fb7e4e2
[MPLUGIN-168] Provide ability to set package of HelpMojo
...
git-svn-id: https://svn.apache.org/repos/asf/maven/plugin-tools/trunk@940004 13f79535-47bb-0310-9956-ffa450edef68
2010-05-01 12:54:30 +00:00
Dennis Lundberg
ba67980170
[MPLUGIN-166] Add Swedish translation
...
git-svn-id: https://svn.apache.org/repos/asf/maven/plugin-tools/trunk@938647 13f79535-47bb-0310-9956-ffa450edef68
2010-04-27 21:00:33 +00:00
Herve Boutemy
fba95a7f95
fixed typos
...
git-svn-id: https://svn.apache.org/repos/asf/maven/plugin-tools/trunk@829420 13f79535-47bb-0310-9956-ffa450edef68
2009-10-24 17:42:59 +00:00
Herve Boutemy
367d7e1adf
added modello xsd
...
git-svn-id: https://svn.apache.org/repos/asf/maven/plugin-tools/trunk@829382 13f79535-47bb-0310-9956-ffa450edef68
2009-10-24 14:53:47 +00:00
Benjamin Bentmann
9ebabd646f
[MPLUGIN-110] Make easier to pass parameters into MojoDescriptorExtractors
...
o Catched potential linkage error when users update the plugin version but forget the dependencies and provide a more helpful error message
git-svn-id: https://svn.apache.org/repos/asf/maven/plugin-tools/trunk@746796 13f79535-47bb-0310-9956-ffa450edef68
2009-02-22 18:41:03 +00:00
Benjamin Bentmann
a2ded7300c
o Adjusted encoding default value to follow our proposal
...
git-svn-id: https://svn.apache.org/repos/asf/maven/plugin-tools/trunk@746386 13f79535-47bb-0310-9956-ffa450edef68
2009-02-20 22:17:25 +00:00
John Dennis Casey
5c42776c50
[MPLUGIN-111] Warn about the use of platform encoding for extracting mojo metadata. This warning is adapted from that used in the resources plugin, from maven-filtering.
...
git-svn-id: https://svn.apache.org/repos/asf/maven/plugin-tools/trunk@746382 13f79535-47bb-0310-9956-ffa450edef68
2009-02-20 21:58:19 +00:00
John Dennis Casey
d488f9c649
[MPLUGIN-100] Pass new PluginToolsRequest through Generator instances too, so generators like the help mojo generator can use the encoding, etc. parameters.
...
git-svn-id: https://svn.apache.org/repos/asf/maven/plugin-tools/trunk@746372 13f79535-47bb-0310-9956-ffa450edef68
2009-02-20 21:42:27 +00:00
John Dennis Casey
03ed8882f2
[MPLUGIN-101] Add encoding parameter to maven-plugin-plugin mojos, and add encoding to PluginToolsRequest to allow it to pass through the plugin tools when executed.
...
git-svn-id: https://svn.apache.org/repos/asf/maven/plugin-tools/trunk@746366 13f79535-47bb-0310-9956-ffa450edef68
2009-02-20 21:13:39 +00:00
John Dennis Casey
9f303ca83c
[MPLUGIN-110] Amend API to pass PluginToolsRequest around instead of project and pluginDescriptor. This will allow expansion of parameter passing in the future to include things like encoding, etc.
...
git-svn-id: https://svn.apache.org/repos/asf/maven/plugin-tools/trunk@746360 13f79535-47bb-0310-9956-ffa450edef68
2009-02-20 20:25:53 +00:00
Benjamin Bentmann
f3458ce478
[MPLUGIN-140] Plugin report states wrong JDK requirement
...
git-svn-id: https://svn.apache.org/repos/asf/maven/plugin-tools/trunk@730368 13f79535-47bb-0310-9956-ffa450edef68
2008-12-31 10:37:22 +00:00
Benjamin Bentmann
2ec42912fd
o Polished documentation
...
git-svn-id: https://svn.apache.org/repos/asf/maven/plugin-tools/trunk@693885 13f79535-47bb-0310-9956-ffa450edef68
2008-09-10 16:34:50 +00:00
Benjamin Bentmann
74c384ebe5
[MPLUGIN-138] Suppress bogus warning in case goalPrefix has been set to default goal prefix
...
git-svn-id: https://svn.apache.org/repos/asf/maven/plugin-tools/trunk@691149 13f79535-47bb-0310-9956-ffa450edef68
2008-09-02 08:26:12 +00:00
Benjamin Bentmann
f7e09860e3
o Made "System Requirements" and "Usage" subsections of "Plugin Documentation" to match logical structure
...
git-svn-id: https://svn.apache.org/repos/asf/maven/plugin-tools/trunk@689910 13f79535-47bb-0310-9956-ffa450edef68
2008-08-28 17:36:10 +00:00
Vincent Siveton
da57cba2a1
o fixed Javadoc
...
git-svn-id: https://svn.apache.org/repos/asf/maven/plugin-tools/trunk@685841 13f79535-47bb-0310-9956-ffa450edef68
2008-08-14 10:36:32 +00:00
Benjamin Bentmann
af24fd6d6d
o Fixed nesting of block-level elements
...
git-svn-id: https://svn.apache.org/repos/asf/maven/plugin-tools/trunk@684481 13f79535-47bb-0310-9956-ffa450edef68
2008-08-10 12:13:27 +00:00
Benjamin Bentmann
1a9739f878
[MPLUGIN-132] Don't encourage users to use "mvn -up" to update plugins
...
o Updated German bundle
git-svn-id: https://svn.apache.org/repos/asf/maven/plugin-tools/trunk@684476 13f79535-47bb-0310-9956-ffa450edef68
2008-08-10 12:03:02 +00:00
Vincent Siveton
c0ab72d4e5
o fixed French typo
...
git-svn-id: https://svn.apache.org/repos/asf/maven/plugin-tools/trunk@684469 13f79535-47bb-0310-9956-ffa450edef68
2008-08-10 11:46:13 +00:00
Vincent Siveton
d5f8688fec
MPLUGIN-132: Don't encourage users to use "mvn -up" to update plugins
...
o removed mvn -up
git-svn-id: https://svn.apache.org/repos/asf/maven/plugin-tools/trunk@684468 13f79535-47bb-0310-9956-ffa450edef68
2008-08-10 11:45:11 +00:00