Commit Graph

117 Commits (e0ae576de18147ba902a15eb15841ef9a2796c2f)

Author SHA1 Message Date
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
Benjamin Bentmann 0989ec1c08 o Adjusted log level
git-svn-id: https://svn.apache.org/repos/asf/maven/plugin-tools/trunk@693887 13f79535-47bb-0310-9956-ffa450edef68
2008-09-10 16:37:28 +00:00
Vincent Siveton e4a1c9311d o be sure that deprecated tag for parameter is not empty
git-svn-id: https://svn.apache.org/repos/asf/maven/plugin-tools/trunk@690503 13f79535-47bb-0310-9956-ffa450edef68
2008-08-30 13:39:27 +00:00
Vincent Siveton e14d6818b1 MPLUGIN-137: PluginDescriptorGenerator doesn't write plugin name
o added missing field

git-svn-id: https://svn.apache.org/repos/asf/maven/plugin-tools/trunk@690496 13f79535-47bb-0310-9956-ffa450edef68
2008-08-30 13:06:17 +00:00
Vincent Siveton 5639cdc491 o take car if pluginDescriptor.getName() is unknown
git-svn-id: https://svn.apache.org/repos/asf/maven/plugin-tools/trunk@690415 13f79535-47bb-0310-9956-ffa450edef68
2008-08-29 22:53:35 +00:00
Vincent Siveton aa820b38dc o take car if pluginDescriptor.getName() is unknown
git-svn-id: https://svn.apache.org/repos/asf/maven/plugin-tools/trunk@690414 13f79535-47bb-0310-9956-ffa450edef68
2008-08-29 22:50:34 +00:00
Vincent Siveton 27414b458d o revert part of r690203 and improved it
git-svn-id: https://svn.apache.org/repos/asf/maven/plugin-tools/trunk@690403 13f79535-47bb-0310-9956-ffa450edef68
2008-08-29 22:08:31 +00:00
Vincent Siveton a8b07dbe42 o ordering mojodescriptors and parameters
git-svn-id: https://svn.apache.org/repos/asf/maven/plugin-tools/trunk@690203 13f79535-47bb-0310-9956-ffa450edef68
2008-08-29 12:22:19 +00:00
John Dennis Casey 7e65cf62ad [MNG-3731] Detect absolute script directories, and only prepend basedir to relative paths.
git-svn-id: https://svn.apache.org/repos/asf/maven/plugin-tools/trunk@689698 13f79535-47bb-0310-9956-ffa450edef68
2008-08-28 02:09:10 +00:00
Benjamin Bentmann 69f5bd3eb2 [MPLUGIN-135] Deprecated info in parameter table of goal page contains garbage
git-svn-id: https://svn.apache.org/repos/asf/maven/plugin-tools/trunk@687801 13f79535-47bb-0310-9956-ffa450edef68
2008-08-21 16:46:26 +00:00
Vincent Siveton 4c3d449369 o fixed checkstyle + updated javadoc
git-svn-id: https://svn.apache.org/repos/asf/maven/plugin-tools/trunk@684236 13f79535-47bb-0310-9956-ffa450edef68
2008-08-09 12:11:34 +00:00
Vincent Siveton e4d2f9c283 MPLUGIN-131: PluginXdocGenerator doesn't handle correctly the Resource bundles and make typo in some languages
o move all i18n texts in bundle
o using MessageFormat to format some values

git-svn-id: https://svn.apache.org/repos/asf/maven/plugin-tools/trunk@684062 13f79535-47bb-0310-9956-ffa450edef68
2008-08-08 19:28:52 +00:00
Vincent Siveton ef016223f4 MPLUGIN-128: Add a line break before writing default value in description field
o added a line break and used strong tag

git-svn-id: https://svn.apache.org/repos/asf/maven/plugin-tools/trunk@683993 13f79535-47bb-0310-9956-ffa450edef68
2008-08-08 15:08:42 +00:00
Vincent Siveton e834ade9d1 MPLUGIN-130: PluginDescriptorGenerator doesn't write deprecated tag for a mojo
o added deprecated tag

git-svn-id: https://svn.apache.org/repos/asf/maven/plugin-tools/trunk@683987 13f79535-47bb-0310-9956-ffa450edef68
2008-08-08 14:52:32 +00:00
Vincent Siveton 2f241ee5e4 o revert part of r683705 due to comments on dev@
o change the modifier to private for generated toLines()

git-svn-id: https://svn.apache.org/repos/asf/maven/plugin-tools/trunk@683951 13f79535-47bb-0310-9956-ffa450edef68
2008-08-08 12:31:31 +00:00
Vincent Siveton 6a27c2f25b o added a validation for lineLength and indentSize and updated Javadoc (should be positive)
o change modifier for toLines() into public static so it could be used outside like in the help plugin

git-svn-id: https://svn.apache.org/repos/asf/maven/plugin-tools/trunk@683705 13f79535-47bb-0310-9956-ffa450edef68
2008-08-07 20:29:31 +00:00
Vincent Siveton dfcc49f871 o improved the generated class Javadoc and added @author tag
git-svn-id: https://svn.apache.org/repos/asf/maven/plugin-tools/trunk@683377 13f79535-47bb-0310-9956-ffa450edef68
2008-08-06 19:06:37 +00:00
Vincent Siveton 741179ac0c o deprecated toText and move this method to PluginUtils
git-svn-id: https://svn.apache.org/repos/asf/maven/plugin-tools/trunk@683374 13f79535-47bb-0310-9956-ffa450edef68
2008-08-06 19:03:43 +00:00
Vincent Siveton 2d35862ed0 o provided minimalist site.xml and apt files
o using <menu/> tag in site.xml

git-svn-id: https://svn.apache.org/repos/asf/maven/plugin-tools/trunk@677131 13f79535-47bb-0310-9956-ffa450edef68
2008-07-16 02:06:59 +00:00