Commit Graph

117 Commits (a7fc242de5edca778f521150a80724bb586c4851)

Author SHA1 Message Date
Herve Boutemy 3ec7f6f61d [MPLUGIN-319] fixed compilation issue (no generics)
git-svn-id: https://svn.apache.org/repos/asf/maven/plugin-tools/trunk@1778778 13f79535-47bb-0310-9956-ffa450edef68
2017-01-14 14:58:12 +00:00
Robert Scholte bcf94564ba [MPLUGIN-319] @since values ignored in report
New strategy where we don't need a parameter anymore (who would change it?)


git-svn-id: https://svn.apache.org/repos/asf/maven/plugin-tools/trunk@1778770 13f79535-47bb-0310-9956-ffa450edef68
2017-01-14 13:39:47 +00:00
Herve Boutemy e430efe682 [MPLUGIN-319] renamed parameter, improved documentation, and removed readonly
git-svn-id: https://svn.apache.org/repos/asf/maven/plugin-tools/trunk@1778722 13f79535-47bb-0310-9956-ffa450edef68
2017-01-14 05:01:35 +00:00
Herve Boutemy e598cdfd30 [MPLUGIN-319] improved javadoc
git-svn-id: https://svn.apache.org/repos/asf/maven/plugin-tools/trunk@1778721 13f79535-47bb-0310-9956-ffa450edef68
2017-01-14 04:31:02 +00:00
Herve Boutemy 053932347f [MPLUGIN-319] added @since
git-svn-id: https://svn.apache.org/repos/asf/maven/plugin-tools/trunk@1778719 13f79535-47bb-0310-9956-ffa450edef68
2017-01-14 04:10:31 +00:00
Herve Boutemy 81eb53a1c5 [MPLUGIN-319] added references to MNG-6109 bug
git-svn-id: https://svn.apache.org/repos/asf/maven/plugin-tools/trunk@1778718 13f79535-47bb-0310-9956-ffa450edef68
2017-01-14 03:54:45 +00:00
Robert Scholte 89a82c2963 [MPLUGIN-319] @since values ignored in report
Only use plugin.xml for M3.4.0 and above due to MNG-6109

git-svn-id: https://svn.apache.org/repos/asf/maven/plugin-tools/trunk@1770562 13f79535-47bb-0310-9956-ffa450edef68
2016-11-20 14:42:29 +00:00
Robert Scholte c20a5f300b [MPLUGIN-275] Move LifecycleMapping and ArtifactHandler from maven-core to target packaging plugin
git-svn-id: https://svn.apache.org/repos/asf/maven/plugin-tools/trunk@1756248 13f79535-47bb-0310-9956-ffa450edef68
2016-08-13 09:12:25 +00:00
Robert Scholte 6992f7719b [MPLUGIN-310] PluginReport should use generated plugin.xml by default
git-svn-id: https://svn.apache.org/repos/asf/maven/plugin-tools/trunk@1756054 13f79535-47bb-0310-9956-ffa450edef68
2016-08-11 21:47:06 +00:00
Robert Scholte 9a7fd1e70d [MPLUGIN-305] MojoAnnotationsScanner should have better control over dependency scanning
Improve javadoc, thanks to Paul Benedict

git-svn-id: https://svn.apache.org/repos/asf/maven/plugin-tools/trunk@1756035 13f79535-47bb-0310-9956-ffa450edef68
2016-08-11 19:43:10 +00:00
Robert Scholte 372526b052 [MPLUGIN-305] MojoAnnotationsScanner should have better control over dependency scanning
Introduce parameter mojoDependencies 

git-svn-id: https://svn.apache.org/repos/asf/maven/plugin-tools/trunk@1754998 13f79535-47bb-0310-9956-ffa450edef68
2016-08-02 19:35:27 +00:00
Herve Boutemy cc006dbd8e improved message: mojo source files are read, not only metadata
git-svn-id: https://svn.apache.org/repos/asf/maven/plugin-tools/trunk@1659900 13f79535-47bb-0310-9956-ffa450edef68
2015-02-15 08:56:06 +00:00
Herve Boutemy de5875e0af improved java version discovery algorithm with ideas taken from MPIR
git-svn-id: https://svn.apache.org/repos/asf/maven/plugin-tools/trunk@1647925 13f79535-47bb-0310-9956-ffa450edef68
2014-12-25 23:22:56 +00:00
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