o Fix errors reported by Checkstyle.
git-svn-id: https://svn.apache.org/repos/asf/maven/plugin-tools/trunk@670419 13f79535-47bb-0310-9956-ffa450edef68master
parent
907ba5d562
commit
5df22c546d
|
|
@ -391,19 +391,15 @@ public class PluginReport
|
|||
sink.tableRow();
|
||||
tableCell( getBundle( locale ).getString( "report.plugin.systemrequirements.memory" ) );
|
||||
tableCell( ( StringUtils.isNotEmpty( requirements.getMemory() )
|
||||
? requirements.getMemory()
|
||||
: getBundle( locale )
|
||||
.getString(
|
||||
"report.plugin.systemrequirements.nominimum" ) ) );
|
||||
? requirements.getMemory()
|
||||
: getBundle( locale ).getString( "report.plugin.systemrequirements.nominimum" ) ) );
|
||||
sink.tableRow_();
|
||||
|
||||
sink.tableRow();
|
||||
tableCell( getBundle( locale ).getString( "report.plugin.systemrequirements.diskspace" ) );
|
||||
tableCell( ( StringUtils.isNotEmpty( requirements.getDiskSpace() )
|
||||
? requirements.getDiskSpace()
|
||||
: getBundle( locale )
|
||||
.getString(
|
||||
"report.plugin.systemrequirements.nominimum" ) ) );
|
||||
? requirements.getDiskSpace()
|
||||
: getBundle( locale ).getString( "report.plugin.systemrequirements.nominimum" ) ) );
|
||||
sink.tableRow_();
|
||||
|
||||
if ( requirements.getOthers() != null && requirements.getOthers().size() > 0 )
|
||||
|
|
@ -434,7 +430,8 @@ public class PluginReport
|
|||
sb.append( "<project>" ).append( '\n' );
|
||||
sb.append( " ..." ).append( '\n' );
|
||||
sb.append( " <build>" ).append( '\n' );
|
||||
sb.append( " <!-- " + getBundle( locale ).getString( "report.plugin.usage.pluginManagement" ) + " -->" ).append( '\n' );
|
||||
sb.append( " <!-- " + getBundle( locale ).getString( "report.plugin.usage.pluginManagement" ) + " -->" )
|
||||
.append( '\n' );
|
||||
sb.append( " <pluginManagement>" ).append( '\n' );
|
||||
sb.append( " <plugins>" ).append( '\n' );
|
||||
sb.append( " <plugin>" ).append( '\n' );
|
||||
|
|
@ -448,7 +445,8 @@ public class PluginReport
|
|||
sb.append( " ..." ).append( '\n' );
|
||||
sb.append( " </plugins>" ).append( '\n' );
|
||||
sb.append( " </pluginManagement>" ).append( '\n' );
|
||||
sb.append( " <!-- " + getBundle( locale ).getString( "report.plugin.usage.plugins" ) + " -->" ).append( '\n' );
|
||||
sb.append( " <!-- " + getBundle( locale ).getString( "report.plugin.usage.plugins" ) + " -->" )
|
||||
.append( '\n' );
|
||||
sb.append( " <plugins>" ).append( '\n' );
|
||||
sb.append( " <plugin>" ).append( '\n' );
|
||||
sb.append( " <groupId>" ).append( pluginDescriptor.getGroupId() ).append( "</groupId>" )
|
||||
|
|
@ -465,7 +463,8 @@ public class PluginReport
|
|||
if ( hasMavenReport )
|
||||
{
|
||||
sb.append( " ..." ).append( '\n' );
|
||||
sb.append( " <!-- " + getBundle( locale ).getString( "report.plugin.usage.reporting" ) + " -->" ).append( '\n' );
|
||||
sb.append( " <!-- " + getBundle( locale ).getString( "report.plugin.usage.reporting" ) + " -->" )
|
||||
.append( '\n' );
|
||||
sb.append( " <reporting>" ).append( '\n' );
|
||||
sb.append( " <plugins>" ).append( '\n' );
|
||||
sb.append( " <plugin>" ).append( '\n' );
|
||||
|
|
|
|||
|
|
@ -130,8 +130,8 @@ public class UpdatePluginRegistryMojo
|
|||
if ( TrackableBase.GLOBAL_LEVEL.equals( plugin.getSourceLevel() ) )
|
||||
{
|
||||
// do nothing. We don't rewrite the globals, under any circumstances.
|
||||
getLog().warn( "Cannot update registered version for plugin {" + groupId + ":" + artifactId +
|
||||
"}; it is specified in the global registry." );
|
||||
getLog().warn( "Cannot update registered version for plugin {" + groupId + ":" + artifactId
|
||||
+ "}; it is specified in the global registry." );
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
@ -181,8 +181,8 @@ public class UpdatePluginRegistryMojo
|
|||
}
|
||||
catch ( IOException e )
|
||||
{
|
||||
getLog().warn( "Cannot rewrite user-level plugin-registry.xml with new plugin version of plugin: \'" +
|
||||
groupId + ":" + artifactId + "\'.", e );
|
||||
getLog().warn( "Cannot rewrite user-level plugin-registry.xml with new plugin version of plugin: \'"
|
||||
+ groupId + ":" + artifactId + "\'.", e );
|
||||
}
|
||||
finally
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in New Issue