[MPLUGIN-319] improved javadoc

git-svn-id: https://svn.apache.org/repos/asf/maven/plugin-tools/trunk@1778721 13f79535-47bb-0310-9956-ffa450edef68
master
Herve Boutemy 2017-01-14 04:31:02 +00:00
parent 053932347f
commit e598cdfd30
1 changed files with 5 additions and 3 deletions

View File

@ -271,7 +271,7 @@ public class PluginReport
{ {
if ( !usePluginXml() ) if ( !usePluginXml() )
{ {
getLog().debug( "Running a Maven version with MNG-6109 bug: fall back to mojoScanner to get accurate @since" ); getLog().debug( "Mojo configured to avoid plugin.xml (MNG-6109): fall back to mojoScanner" );
} }
else else
{ {
@ -346,9 +346,11 @@ public class PluginReport
} }
/** /**
* Check if META-INF/maven/plugin.xml can be read accurately, or if it will trigger MNG-6109 bug * Check if META-INF/maven/plugin.xml should be used (as expected initially) or not (because of Maven
* @return true if running Maven version is fixed * MNG-6109 bug that won't give accurate since info when reading plugin.xml).
* @return true if runing Maven version is in configured pluginXmlSpec range
* @see https://issues.apache.org/jira/browse/MNG-6109 * @see https://issues.apache.org/jira/browse/MNG-6109
* @see https://issues.apache.org/jira/browse/MPLUGIN-319
*/ */
private boolean usePluginXml() private boolean usePluginXml()
{ {