Commit Graph

104 Commits (1f029f5fb1f2d3e7e5316ea939541552d454d9f1)

Author SHA1 Message Date
Herve Boutemy 1f029f5fb1 [MPLUGIN-280] removed obsolete xdoc goal since it was superceeded by report goal/report
git-svn-id: https://svn.apache.org/repos/asf/maven/plugin-tools/trunk@1645484 13f79535-47bb-0310-9956-ffa450edef68
2014-12-14 18:23:20 +00:00
Herve Boutemy 5c7faf1b8e removed dead code
git-svn-id: https://svn.apache.org/repos/asf/maven/plugin-tools/trunk@1645470 13f79535-47bb-0310-9956-ffa450edef68
2014-12-14 17:05:24 +00:00
Herve Boutemy 599b468d0d [MPLUGIN-279] added IT with quite complete scenarios and fixed algorithm
git-svn-id: https://svn.apache.org/repos/asf/maven/plugin-tools/trunk@1645468 13f79535-47bb-0310-9956-ffa450edef68
2014-12-14 17:02:53 +00:00
Herve Boutemy a1b3723559 code organization
git-svn-id: https://svn.apache.org/repos/asf/maven/plugin-tools/trunk@1645462 13f79535-47bb-0310-9956-ffa450edef68
2014-12-14 15:41:22 +00:00
Herve Boutemy 66444b15df updated parent pom and fixed errors reported by Checkstyle
git-svn-id: https://svn.apache.org/repos/asf/maven/plugin-tools/trunk@1642372 13f79535-47bb-0310-9956-ffa450edef68
2014-11-28 22:41:25 +00:00
Herve Boutemy 311aa09218 default value
git-svn-id: https://svn.apache.org/repos/asf/maven/plugin-tools/trunk@1637765 13f79535-47bb-0310-9956-ffa450edef68
2014-11-09 23:58:49 +00:00
Herve Boutemy 58a8f57588 [MPLUGIN-279] use default properties when no configuration in m-compiler-p
git-svn-id: https://svn.apache.org/repos/asf/maven/plugin-tools/trunk@1637762 13f79535-47bb-0310-9956-ffa450edef68
2014-11-09 23:26:29 +00:00
Herve Boutemy f516f754c5 code simplification
git-svn-id: https://svn.apache.org/repos/asf/maven/plugin-tools/trunk@1637747 13f79535-47bb-0310-9956-ffa450edef68
2014-11-09 21:26:03 +00:00
Herve Boutemy a2602cf139 avoid @Component for Maven objects: replaced with normal @Parameters
git-svn-id: https://svn.apache.org/repos/asf/maven/plugin-tools/trunk@1599157 13f79535-47bb-0310-9956-ffa450edef68
2014-06-02 10:18:47 +00:00
Herve Boutemy bb948bfbc8 [MPLUGIN-238] avoid HelpMojo failure when using java-annotations without any configuration
git-svn-id: https://svn.apache.org/repos/asf/maven/plugin-tools/trunk@1599050 13f79535-47bb-0310-9956-ffa450edef68
2014-06-01 21:20:30 +00:00
Robert Scholte 3e30bae1a5 [MPLUGIN-191] plugin-info.html is not created
git-svn-id: https://svn.apache.org/repos/asf/maven/plugin-tools/trunk@1588642 13f79535-47bb-0310-9956-ffa450edef68
2014-04-19 11:31:57 +00:00
Igor Fedorenko 191200d6f4 MPLUGIN-264 made supported packaging types configurable
git-svn-id: https://svn.apache.org/repos/asf/maven/plugin-tools/trunk@1588273 13f79535-47bb-0310-9956-ffa450edef68
2014-04-17 15:06:59 +00:00
Herve Boutemy 215037c7e5 fixed errors reported by Checkstyle
git-svn-id: https://svn.apache.org/repos/asf/maven/plugin-tools/trunk@1406928 13f79535-47bb-0310-9956-ffa450edef68
2012-11-08 05:24:33 +00:00
Kristian Rosenvold a0666fd96a o Also, work with maven 2.2.1
git-svn-id: https://svn.apache.org/repos/asf/maven/plugin-tools/trunk@1406615 13f79535-47bb-0310-9956-ffa450edef68
2012-11-07 13:26:25 +00:00
Kristian Rosenvold b66095855d o Logging works even better when the logger is not null
git-svn-id: https://svn.apache.org/repos/asf/maven/plugin-tools/trunk@1406538 13f79535-47bb-0310-9956-ffa450edef68
2012-11-07 10:49:01 +00:00
Robert Scholte 197ce98685 Remove setUseAnnotations from PluginHelpGenerator, PluginToolsRequest has enough info to decide this.
git-svn-id: https://svn.apache.org/repos/asf/maven/plugin-tools/trunk@1406001 13f79535-47bb-0310-9956-ffa450edef68
2012-11-05 22:34:46 +00:00
Robert Scholte 866e3c18f0 These nested if statements could be combined
git-svn-id: https://svn.apache.org/repos/asf/maven/plugin-tools/trunk@1405633 13f79535-47bb-0310-9956-ffa450edef68
2012-11-04 20:50:33 +00:00
Robert Scholte 6e6ee108b7 [MPLUGIN-231] Switch to plugin annotations for the generated help-mojo if the Maven Plugin depends on maven-plugin-annotations
git-svn-id: https://svn.apache.org/repos/asf/maven/plugin-tools/trunk@1405379 13f79535-47bb-0310-9956-ffa450edef68
2012-11-03 16:42:01 +00:00
Robert Scholte 0435027899 [MPLUGIN-231] Switch to plugin annotations for the generated help-mojo if the Maven Plugin depends on maven-plugin-annotations
git-svn-id: https://svn.apache.org/repos/asf/maven/plugin-tools/trunk@1405371 13f79535-47bb-0310-9956-ffa450edef68
2012-11-03 15:54:02 +00:00
Herve Boutemy b81e8af383 improved notice about phases
git-svn-id: https://svn.apache.org/repos/asf/maven/plugin-tools/trunk@1389660 13f79535-47bb-0310-9956-ffa450edef68
2012-09-25 00:03:37 +00:00
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