Commit Graph

117 Commits (73885abdbc5a454c0ed6c8f23c453a59e0510e14)

Author SHA1 Message Date
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
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
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 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
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
Benjamin Bentmann d9f85927fd o Fixed ITs for Maven 3.x to use proper Site Plugin
git-svn-id: https://svn.apache.org/repos/asf/maven/plugin-tools/trunk@1067721 13f79535-47bb-0310-9956-ffa450edef68
2011-02-06 18:23:31 +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 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 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
Benjamin Bentmann 65bc9e27f2 o Extended ITs
git-svn-id: https://svn.apache.org/repos/asf/maven/plugin-tools/trunk@939992 13f79535-47bb-0310-9956-ffa450edef68
2010-05-01 12:19:13 +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
Dennis Lundberg 437b52372d o Minor tweaks to the site
git-svn-id: https://svn.apache.org/repos/asf/maven/plugin-tools/trunk@897545 13f79535-47bb-0310-9956-ffa450edef68
2010-01-09 21:08:06 +00:00
Dennis Lundberg f0fc40bb1d Remove unnecessary project name.
git-svn-id: https://svn.apache.org/repos/asf/maven/plugin-tools/trunk@897537 13f79535-47bb-0310-9956-ffa450edef68
2010-01-09 20:48:34 +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 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 63cd33c8c4 o Updated to maven-invoker-plugin:1.4
git-svn-id: https://svn.apache.org/repos/asf/maven/plugin-tools/trunk@818777 13f79535-47bb-0310-9956-ffa450edef68
2009-09-25 09:11:28 +00:00
Benjamin Bentmann 8f3547b1a8 o Strengthened IT
git-svn-id: https://svn.apache.org/repos/asf/maven/plugin-tools/trunk@811706 13f79535-47bb-0310-9956-ffa450edef68
2009-09-05 20:09:31 +00:00
Vincent Siveton b708f3a2b0 o fixed ambiguous links
o added Doxia xsd

git-svn-id: https://svn.apache.org/repos/asf/maven/plugin-tools/trunk@802373 13f79535-47bb-0310-9956-ffa450edef68
2009-08-08 13:36:47 +00:00
Benjamin Bentmann 11c9b57a72 o Used filtering to include current plugin version in site docs
git-svn-id: https://svn.apache.org/repos/asf/maven/plugin-tools/trunk@793379 13f79535-47bb-0310-9956-ffa450edef68
2009-07-12 17:21:27 +00:00