Olivier Lamy
6b38de8036
fix help content generation from <pre> tag
...
git-svn-id: https://svn.apache.org/repos/asf/maven/plugin-tools/branches/MPLUGIN-189@1337408 13f79535-47bb-0310-9956-ffa450edef68
2012-05-11 23:06:56 +00:00
Olivier Lamy
a9bb0f6571
restore javadoc comment on the generated help mojo
...
git-svn-id: https://svn.apache.org/repos/asf/maven/plugin-tools/branches/MPLUGIN-189@1337406 13f79535-47bb-0310-9956-ffa450edef68
2012-05-11 22:56:12 +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
34ebb1721b
use generics
...
git-svn-id: https://svn.apache.org/repos/asf/maven/plugin-tools/branches/MPLUGIN-189@1337280 13f79535-47bb-0310-9956-ffa450edef68
2012-05-11 16:46:48 +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
0aa8ad9c05
missed to add files
...
git-svn-id: https://svn.apache.org/repos/asf/maven/plugin-tools/branches/MPLUGIN-189@1337274 13f79535-47bb-0310-9956-ffa450edef68
2012-05-11 16:45:16 +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
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
f1d00798bf
more Java 5 use
...
git-svn-id: https://svn.apache.org/repos/asf/maven/plugin-tools/trunk@1212908 13f79535-47bb-0310-9956-ffa450edef68
2011-12-10 22:38:37 +00:00
Herve Boutemy
c61b94ee17
more Java 5 use
...
git-svn-id: https://svn.apache.org/repos/asf/maven/plugin-tools/trunk@1212905 13f79535-47bb-0310-9956-ffa450edef68
2011-12-10 22:31:48 +00:00
Herve Boutemy
9f2696c98a
close stream
...
git-svn-id: https://svn.apache.org/repos/asf/maven/plugin-tools/trunk@1200898 13f79535-47bb-0310-9956-ffa450edef68
2011-11-11 14:26:56 +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
0de9ffa666
added direct javadoc and jxr entries in Overview menu
...
git-svn-id: https://svn.apache.org/repos/asf/maven/plugin-tools/trunk@1164702 13f79535-47bb-0310-9956-ffa450edef68
2011-09-02 20:44:25 +00:00
Herve Boutemy
b4717f0c9a
improved french translation
...
git-svn-id: https://svn.apache.org/repos/asf/maven/plugin-tools/trunk@1164677 13f79535-47bb-0310-9956-ffa450edef68
2011-09-02 19:51:10 +00:00
Benson Margulies
2a9baa7354
[MPLUGIN-124]: The generated documentation for a Mojo should show if it is a build plugin or a reporting plugin
...
o adjust wording after reading Vincent's remarks more carefully.
git-svn-id: https://svn.apache.org/repos/asf/maven/plugin-tools/trunk@1164547 13f79535-47bb-0310-9956-ffa450edef68
2011-09-02 14:21:50 +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
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
6c63ab9110
[MPLUGIN-173] Start using net.sf.jtidy artifact with correct I/O encoding
...
Submitted by: Stanislav Ochotnicky
o Applied without change
git-svn-id: https://svn.apache.org/repos/asf/maven/plugin-tools/trunk@1133705 13f79535-47bb-0310-9956-ffa450edef68
2011-06-09 08:21:03 +00:00
Dennis Lundberg
3c5911b8a9
[MPLUGIN-183] When setting useJava5 to true the generated code has warnings for Java 5 features
...
git-svn-id: https://svn.apache.org/repos/asf/maven/plugin-tools/trunk@1098364 13f79535-47bb-0310-9956-ffa450edef68
2011-05-01 16:07:11 +00:00
Dennis Lundberg
7f32cbc96f
o Fix errors reported by Checkstyle.
...
git-svn-id: https://svn.apache.org/repos/asf/maven/plugin-tools/trunk@1067539 13f79535-47bb-0310-9956-ffa450edef68
2011-02-05 22:11:34 +00:00
Dennis Lundberg
4e5f561c73
o Add missing license headers.
...
git-svn-id: https://svn.apache.org/repos/asf/maven/plugin-tools/trunk@1067538 13f79535-47bb-0310-9956-ffa450edef68
2011-02-05 22:10:52 +00:00
Dennis Lundberg
269ca6f328
[MPLUGIN-165] Upgrading to Maven Site 2.1 messes up plugin site generation
...
Submitted by: Robert Scholte
Reviewed by: Dennis Lundberg
git-svn-id: https://svn.apache.org/repos/asf/maven/plugin-tools/trunk@1057355 13f79535-47bb-0310-9956-ffa450edef68
2011-01-10 20:58:09 +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
9ea26413d9
[MPLUGIN-178] Generated help mojo should indicate parameter expression and required status
...
git-svn-id: https://svn.apache.org/repos/asf/maven/plugin-tools/trunk@1050544 13f79535-47bb-0310-9956-ffa450edef68
2010-12-18 00:18:09 +00:00
Benjamin Bentmann
629ed1299a
o Removed irritating reference to Maven version 2
...
git-svn-id: https://svn.apache.org/repos/asf/maven/plugin-tools/trunk@1023489 13f79535-47bb-0310-9956-ffa450edef68
2010-10-17 12:57:32 +00:00
Benjamin Bentmann
87c21dc717
[MPLUGIN-171] Mark generated help goal as thread-safe
...
git-svn-id: https://svn.apache.org/repos/asf/maven/plugin-tools/trunk@944821 13f79535-47bb-0310-9956-ffa450edef68
2010-05-16 12:38:17 +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
Benjamin Bentmann
b8a9bbe373
o Polished code
...
git-svn-id: https://svn.apache.org/repos/asf/maven/plugin-tools/trunk@938263 13f79535-47bb-0310-9956-ffa450edef68
2010-04-26 22:48:25 +00:00
Kristian Rosenvold
ee79e019e3
[MPLUGIN-169][MPLUGIN-159] Added support for @threadSafe and @requiresDependencyCollection
...
git-svn-id: https://svn.apache.org/repos/asf/maven/plugin-tools/trunk@938248 13f79535-47bb-0310-9956-ffa450edef68
2010-04-26 21:32:51 +00:00
Dennis Lundberg
4b2570debc
o Add xml schema
...
git-svn-id: https://svn.apache.org/repos/asf/maven/plugin-tools/trunk@897544 13f79535-47bb-0310-9956-ffa450edef68
2010-01-09 21:06:11 +00:00
Benjamin Bentmann
d11dfa4223
[MPLUGIN-148] PluginXdocGenerator generates poorly formed output when default values contain XML
...
Submitted by: Brent N Atkinson
o Enriched with test
git-svn-id: https://svn.apache.org/repos/asf/maven/plugin-tools/trunk@821512 13f79535-47bb-0310-9956-ffa450edef68
2009-10-04 11:22:41 +00:00
Benjamin Bentmann
0556d6182d
[MPLUGIN-161] plugin:xdoc generates an incomplete description about the execution of another plugin goal
...
git-svn-id: https://svn.apache.org/repos/asf/maven/plugin-tools/trunk@821367 13f79535-47bb-0310-9956-ffa450edef68
2009-10-03 17:17:48 +00:00
Vincent Siveton
65063ace8d
MPLUGIN-157: Review the Doxia Sink calls
...
o added Doxia schema
o fix empty attributes
git-svn-id: https://svn.apache.org/repos/asf/maven/plugin-tools/trunk@804672 13f79535-47bb-0310-9956-ffa450edef68
2009-08-16 11:48:30 +00:00
Benjamin Bentmann
08da1932fd
[MPLUGIN-156] Stabilize ordering of configuration and requirements in generated plugin descriptor
...
git-svn-id: https://svn.apache.org/repos/asf/maven/plugin-tools/trunk@800623 13f79535-47bb-0310-9956-ffa450edef68
2009-08-03 23:30:38 +00:00
Benjamin Bentmann
7f49d49717
o Updated tests to use non-deprecated API
...
git-svn-id: https://svn.apache.org/repos/asf/maven/plugin-tools/trunk@746407 13f79535-47bb-0310-9956-ffa450edef68
2009-02-20 22:55:44 +00:00
Benjamin Bentmann
5f9cec0836
[MPLUGIN-106] remove no mojo deprecation warning and throw an exception
...
o Enabled unit test
git-svn-id: https://svn.apache.org/repos/asf/maven/plugin-tools/trunk@746402 13f79535-47bb-0310-9956-ffa450edef68
2009-02-20 22:45:16 +00:00
Benjamin Bentmann
1ef2a82af8
o Fixed some javadoc issues
...
git-svn-id: https://svn.apache.org/repos/asf/maven/plugin-tools/trunk@746400 13f79535-47bb-0310-9956-ffa450edef68
2009-02-20 22:42:13 +00:00
Benjamin Bentmann
23b1cd791f
[MPLUGIN-100] Allow customization of file encoding used for generated help goal
...
o Used encoding from request for output file
git-svn-id: https://svn.apache.org/repos/asf/maven/plugin-tools/trunk@746389 13f79535-47bb-0310-9956-ffa450edef68
2009-02-20 22:26:33 +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
b38d62494f
[MPLUGIN-106] Throw an exception when no mojo defs found for a plugin, instead of merely warning about it.
...
git-svn-id: https://svn.apache.org/repos/asf/maven/plugin-tools/trunk@746379 13f79535-47bb-0310-9956-ffa450edef68
2009-02-20 21:49:40 +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
Herve Boutemy
8e70adc89b
code simplification
...
git-svn-id: https://svn.apache.org/repos/asf/maven/plugin-tools/trunk@703672 13f79535-47bb-0310-9956-ffa450edef68
2008-10-11 15:04:58 +00:00
Benjamin Bentmann
c551c6a63c
o Polished site
...
git-svn-id: https://svn.apache.org/repos/asf/maven/plugin-tools/trunk@695160 13f79535-47bb-0310-9956-ffa450edef68
2008-09-14 09:28:08 +00:00
Benjamin Bentmann
4ae636f4d2
o Polished site
...
git-svn-id: https://svn.apache.org/repos/asf/maven/plugin-tools/trunk@694657 13f79535-47bb-0310-9956-ffa450edef68
2008-09-12 09:01:48 +00:00