Commit Graph

150 Commits (dae672097a798f03083b744f9374a7c4fc46d5a9)

Author SHA1 Message Date
Benjamin Bentmann c5c948dc4f [MPLUGIN-92] helpmojo resulting mojo requires a project and performs multiple times
Submitted by: Raphaël Piéroni
Reviewed by: Benjamin Bentmann

o Omitted @aggregator from patch which is implied by @requiresProject=false

git-svn-id: https://svn.apache.org/repos/asf/maven/plugin-tools/trunk@654751 13f79535-47bb-0310-9956-ffa450edef68
2008-05-09 10:35:47 +00:00
Benjamin Bentmann e53b68e2b0 o Referred to "goal" instead of "mojo" (the term "mojo" refers to the implementation and is confusing to end-users)
git-svn-id: https://svn.apache.org/repos/asf/maven/plugin-tools/trunk@647415 13f79535-47bb-0310-9956-ffa450edef68
2008-04-12 10:28:38 +00:00
Benjamin Bentmann 90d9118e31 o Wrapped checked exception
git-svn-id: https://svn.apache.org/repos/asf/maven/plugin-tools/trunk@645233 13f79535-47bb-0310-9956-ffa450edef68
2008-04-06 12:43:32 +00:00
Herve Boutemy dac53b5855 fixed tests when there are spaces in directory name
git-svn-id: https://svn.apache.org/repos/asf/maven/plugin-tools/trunk@645086 13f79535-47bb-0310-9956-ffa450edef68
2008-04-05 13:01:28 +00:00
Herve Boutemy 31e3987e33 fixed tests when there are spaces in directory name
git-svn-id: https://svn.apache.org/repos/asf/maven/plugin-tools/trunk@645076 13f79535-47bb-0310-9956-ffa450edef68
2008-04-05 11:09:56 +00:00
Herve Boutemy 0f8a88c25a generate mode readable code
git-svn-id: https://svn.apache.org/repos/asf/maven/plugin-tools/trunk@643859 13f79535-47bb-0310-9956-ffa450edef68
2008-04-02 11:43:10 +00:00
Benjamin Bentmann 0d658ca66e [MPLUGIN-98] Remove javadoc inline tags from output of help mojo
git-svn-id: https://svn.apache.org/repos/asf/maven/plugin-tools/trunk@643559 13f79535-47bb-0310-9956-ffa450edef68
2008-04-01 20:49:26 +00:00
Benjamin Bentmann 6ebf227d09 [MPLUGIN-96] Handle character encoding properly in makeHtmlValid()
git-svn-id: https://svn.apache.org/repos/asf/maven/plugin-tools/trunk@643558 13f79535-47bb-0310-9956-ffa450edef68
2008-04-01 20:42:11 +00:00
Herve Boutemy 25e6052da5 [MPLUGIN-95] Output proper charset name in XDoc report for mojos
Submitted by: Benjamin Bentmann

git-svn-id: https://svn.apache.org/repos/asf/maven/plugin-tools/trunk@643342 13f79535-47bb-0310-9956-ffa450edef68
2008-04-01 09:52:43 +00:00
Herve Boutemy 5db1b14327 [MPLUGIN-94] Use correct encoding for plugin descriptor
Submitted by: Benjamin Bentmann

git-svn-id: https://svn.apache.org/repos/asf/maven/plugin-tools/trunk@643339 13f79535-47bb-0310-9956-ffa450edef68
2008-04-01 09:45:55 +00:00
Herve Boutemy eb65a54d9f [MPLUGIN-107] escape special characters from descriptions in generated java source
git-svn-id: https://svn.apache.org/repos/asf/maven/plugin-tools/trunk@643334 13f79535-47bb-0310-9956-ffa450edef68
2008-04-01 09:24:47 +00:00
Brian E Fox 27fb0c825a MPLUGIN-102: restore previous functionality and add a deprecation warning
git-svn-id: https://svn.apache.org/repos/asf/maven/plugin-tools/trunk@639783 13f79535-47bb-0310-9956-ffa450edef68
2008-03-21 20:00:39 +00:00
Brian E Fox cee8797a44 MPLUGIN-102: restore previous functionality and add a deprecation warning
git-svn-id: https://svn.apache.org/repos/asf/maven/plugin-tools/trunk@639782 13f79535-47bb-0310-9956-ffa450edef68
2008-03-21 20:00:17 +00:00
Benjamin Bentmann d44a1c3888 o Fixed usage of FileReader to get correct/reliable character decoding
git-svn-id: https://svn.apache.org/repos/asf/maven/plugin-tools/trunk@637204 13f79535-47bb-0310-9956-ffa450edef68
2008-03-14 18:34:21 +00:00
Dennis Lundberg 3cb84e44ab o Fix typos.
git-svn-id: https://svn.apache.org/repos/asf/maven/plugin-tools/trunk@635325 13f79535-47bb-0310-9956-ffa450edef68
2008-03-09 18:59:50 +00:00
Vincent Siveton 8e95bdf7eb MPLUGIN-80: Detection of report goals always fails due to class loader separation
o added @execute tag
o take care of the executed project

git-svn-id: https://svn.apache.org/repos/asf/maven/plugin-tools/trunk@635233 13f79535-47bb-0310-9956-ffa450edef68
2008-03-09 13:26:54 +00:00
Vincent Siveton 50014a564f MPLUGIN-90: Refactor makeValidHtml into PluginUtils for better reusage
Submitted by: Benjamin Bentmann
Reviewed by: Vincent Siveton

o applied

git-svn-id: https://svn.apache.org/repos/asf/maven/plugin-tools/trunk@634963 13f79535-47bb-0310-9956-ffa450edef68
2008-03-08 13:44:45 +00:00
Vincent Siveton aaf7f10e1c MPLUGIN-89: Restore compat with Java 1.4
Submitted by: Benjamin Bentmann
Reviewed by: Vincent Siveton

o applied

git-svn-id: https://svn.apache.org/repos/asf/maven/plugin-tools/trunk@634962 13f79535-47bb-0310-9956-ffa450edef68
2008-03-08 13:42:09 +00:00
Vincent Siveton d0a37aaa1c MPLUGIN-88: Fix punctuation for description of mojo attributes
Submitted by: Benjamin Bentmann
Reviewed by: Vincent Siveton

o applied

git-svn-id: https://svn.apache.org/repos/asf/maven/plugin-tools/trunk@634960 13f79535-47bb-0310-9956-ffa450edef68
2008-03-08 13:39:50 +00:00
Vincent Siveton 280299cc5f MPLUGIN-87: Replace "None" with something that is better understandable without context
o add French translation

git-svn-id: https://svn.apache.org/repos/asf/maven/plugin-tools/trunk@634959 13f79535-47bb-0310-9956-ffa450edef68
2008-03-08 13:37:23 +00:00
Vincent Siveton aee0f3d813 MPLUGIN-87: Replace "None" with something that is better understandable without context
Submitted by: Benjamin Bentmann
Reviewed by: Vincent Siveton

o applied

git-svn-id: https://svn.apache.org/repos/asf/maven/plugin-tools/trunk@634958 13f79535-47bb-0310-9956-ffa450edef68
2008-03-08 13:36:54 +00:00
Vincent Siveton 3f6b34ac8f MPLUGIN-86: Test for empty mojo description in XDoc generator does not cover empty string
Submitted by: Benjamin Bentmann
Reviewed by: Vincent Siveton

o applied

git-svn-id: https://svn.apache.org/repos/asf/maven/plugin-tools/trunk@634957 13f79535-47bb-0310-9956-ffa450edef68
2008-03-08 13:32:35 +00:00
Vincent Siveton 4984c0249b MPLUGIN-85: Add missing whitespace between words on mojo description page
Submitted by: Benjamin Bentmann
Reviewed by: Vincent Siveton

o applied

git-svn-id: https://svn.apache.org/repos/asf/maven/plugin-tools/trunk@634956 13f79535-47bb-0310-9956-ffa450edef68
2008-03-08 13:30:33 +00:00
Vincent Siveton 4ce7bf3a3a o take care if a Mojo has no parameter
git-svn-id: https://svn.apache.org/repos/asf/maven/plugin-tools/trunk@632623 13f79535-47bb-0310-9956-ffa450edef68
2008-03-01 16:53:32 +00:00
Vincent Siveton 249108122d MPLUGIN-80: Detection of report goals always fails due to class loader separation
o improved PluginUtils#isMavenReport() to take car of project classloader
o added test case

git-svn-id: https://svn.apache.org/repos/asf/maven/plugin-tools/trunk@632607 13f79535-47bb-0310-9956-ffa450edef68
2008-03-01 15:53:18 +00:00
Vincent Siveton 6ccdf06649 MPLUGIN-78: Fix german localization
Submitted by: Benjamin Bentmann

o applied

git-svn-id: https://svn.apache.org/repos/asf/maven/plugin-tools/trunk@630167 13f79535-47bb-0310-9956-ffa450edef68
2008-02-22 11:55:12 +00:00
Vincent Siveton e99b28f82c MPLUGIN-13: Provide Automated Documentation for a Plugin That Provides a Report
o added a new column in plugin-info page when a mojo goal is a report
o add a notice in the generate xdoc
o added new utility class
o updated i18n

git-svn-id: https://svn.apache.org/repos/asf/maven/plugin-tools/trunk@630057 13f79535-47bb-0310-9956-ffa450edef68
2008-02-22 00:33:54 +00:00
Vincent Siveton 623ab836c9 MPLUGIN-76: Fixed file encoding employed by PluginXDocGenerator
Submitted by: Benjamin Bentmann
Reviewed by: Vincent Siveton

o applied


git-svn-id: https://svn.apache.org/repos/asf/maven/plugin-tools/trunk@629658 13f79535-47bb-0310-9956-ffa450edef68
2008-02-21 00:00:28 +00:00
Vincent Siveton ea424cff87 MPLUGIN-77: Add german translation
Submitted by: Benjamin Bentmann

git-svn-id: https://svn.apache.org/repos/asf/maven/plugin-tools/trunk@629657 13f79535-47bb-0310-9956-ffa450edef68
2008-02-20 23:55:25 +00:00
Vincent Siveton a25b131d73 MPLUGIN-35: Generated documentation for @phase is misleading
o added French translation

git-svn-id: https://svn.apache.org/repos/asf/maven/plugin-tools/trunk@629281 13f79535-47bb-0310-9956-ffa450edef68
2008-02-20 00:04:50 +00:00
Dennis Lundberg 86eb6a47a0 [MPLUGIN-74] Explicitly control layout of tables generated for parameters of mojo description
Submitted by: Benjamin Bentmann
Reviewed by: Dennis Lundberg

git-svn-id: https://svn.apache.org/repos/asf/maven/plugin-tools/trunk@629251 13f79535-47bb-0310-9956-ffa450edef68
2008-02-19 22:22:37 +00:00
Dennis Lundberg 0546441dcc [MPLUGIN-35] Generated documentation for @phase is misleading
Submitted by: Benjamin Bentmann
Reviewed by: Dennis Lundberg

o The patch didn't apply after Vincent's i18n efforts with MPLUGIN-75, but I found the right place for the improved text.

git-svn-id: https://svn.apache.org/repos/asf/maven/plugin-tools/trunk@629247 13f79535-47bb-0310-9956-ffa450edef68
2008-02-19 22:05:01 +00:00
Vincent Siveton 8d0c57b545 o bumped to p-u:1.4.9 and removed PrettyPrintXMLWriter
o bumped to modello-maven-plugin:1.0-alpha-18
o added more pom's description 
o added distributionManagement
o improved pom readingness


git-svn-id: https://svn.apache.org/repos/asf/maven/plugin-tools/trunk@629094 13f79535-47bb-0310-9956-ffa450edef68
2008-02-19 13:08:41 +00:00
Vincent Siveton 9aceb543fe o updated javadoc
git-svn-id: https://svn.apache.org/repos/asf/maven/plugin-tools/trunk@629081 13f79535-47bb-0310-9956-ffa450edef68
2008-02-19 11:58:28 +00:00
Vincent Siveton 69b3b9bdac o using PluginUtils.element()
git-svn-id: https://svn.apache.org/repos/asf/maven/plugin-tools/trunk@629080 13f79535-47bb-0310-9956-ffa450edef68
2008-02-19 11:56:58 +00:00
Vincent Siveton 1974bf9853 o indent with 2 char
git-svn-id: https://svn.apache.org/repos/asf/maven/plugin-tools/trunk@629079 13f79535-47bb-0310-9956-ffa450edef68
2008-02-19 11:54:51 +00:00
Vincent Siveton 617a0214f1 MPLUGIN-75: Internationalize PluginXdocGenerator
o added i18n support

git-svn-id: https://svn.apache.org/repos/asf/maven/plugin-tools/trunk@629078 13f79535-47bb-0310-9956-ffa450edef68
2008-02-19 11:48:48 +00:00
Vincent Siveton df38c418d9 o more javadoc
git-svn-id: https://svn.apache.org/repos/asf/maven/plugin-tools/trunk@629075 13f79535-47bb-0310-9956-ffa450edef68
2008-02-19 11:37:25 +00:00
Vincent Siveton cc94792fbd MPLUGIN-73: PluginXdocGenerator fails to decode javadoc inline tags
Submitted by: Benjamin Bentmann
Reviewed by: Vincent Siveton

o applied

git-svn-id: https://svn.apache.org/repos/asf/maven/plugin-tools/trunk@628491 13f79535-47bb-0310-9956-ffa450edef68
2008-02-17 15:03:46 +00:00
Vincent Siveton 36c8b23cc3 MPLUGIN-69: Be consistent about physical/logical formatting tags
Submitted by: Benjamin Bentmann
Reviewed by: Vincent Siveton

o applied


git-svn-id: https://svn.apache.org/repos/asf/maven/plugin-tools/trunk@620124 13f79535-47bb-0310-9956-ffa450edef68
2008-02-09 14:17:38 +00:00
Vincent Siveton 5ff84de952 MPLUGIN-43: Adding validation in PluginXdocGenerator class?
o used jtidy to make HTML valid the javadoc comments from mojo/parameter description

git-svn-id: https://svn.apache.org/repos/asf/maven/plugin-tools/trunk@617807 13f79535-47bb-0310-9956-ffa450edef68
2008-02-02 14:42:59 +00:00
Vincent Siveton 20347131d3 o added test case
git-svn-id: https://svn.apache.org/repos/asf/maven/plugin-tools/trunk@617806 13f79535-47bb-0310-9956-ffa450edef68
2008-02-02 14:33:57 +00:00
Vincent Siveton a850c5bd8a o code style
git-svn-id: https://svn.apache.org/repos/asf/maven/plugin-tools/trunk@617805 13f79535-47bb-0310-9956-ffa450edef68
2008-02-02 14:32:34 +00:00
Vincent Siveton cf1a989a1e o remove unused lines
git-svn-id: https://svn.apache.org/repos/asf/maven/plugin-tools/trunk@617681 13f79535-47bb-0310-9956-ffa450edef68
2008-02-01 22:32:00 +00:00
Vincent Siveton eef5dffbc1 o improved javadoc
git-svn-id: https://svn.apache.org/repos/asf/maven/plugin-tools/trunk@617680 13f79535-47bb-0310-9956-ffa450edef68
2008-02-01 22:30:32 +00:00
Vincent Siveton 6082bcfd99 o improved logging usage
git-svn-id: https://svn.apache.org/repos/asf/maven/plugin-tools/trunk@617485 13f79535-47bb-0310-9956-ffa450edef68
2008-02-01 12:29:36 +00:00
Vincent Siveton 2d1e9161be MPLUGIN-68: Make generated mojo description valid XHTML
Submitted by: Benjamin Bentmann
Reviewed by: Vincent Siveton

o patch applied

git-svn-id: https://svn.apache.org/repos/asf/maven/plugin-tools/trunk@617298 13f79535-47bb-0310-9956-ffa450edef68
2008-01-31 23:48:11 +00:00
Vincent Siveton 194c3a8eca MPLUGIN-40: All plugins should by default have an auto-generated goal 'help'
o created a new Mojo which generates a generic HelpMojo class
o added PluginHelpGenerator which does the generation
o maven-plugin-plugin should extends maven-plugins for the look&feel
o update the documentation

git-svn-id: https://svn.apache.org/repos/asf/maven/plugin-tools/trunk@617289 13f79535-47bb-0310-9956-ffa450edef68
2008-01-31 23:23:02 +00:00
Vincent Siveton 19c16c4f28 MPLUGIN-63: Add since column in the parameters table
o added the since column

git-svn-id: https://svn.apache.org/repos/asf/maven/plugin-tools/trunk@595945 13f79535-47bb-0310-9956-ffa450edef68
2007-11-17 13:29:16 +00:00
Brett Leslie Porter 684834fe3d move the plugin tools from shared
git-svn-id: https://svn.apache.org/repos/asf/maven/plugin-tools/trunk@589473 13f79535-47bb-0310-9956-ffa450edef68
2007-10-29 02:52:55 +00:00