Source:
<code>public void execute() throws MojoExecutionException { super.execute(); try { SimpleDateFormat dateFormat = null; String tagTimestamp = ""; String finalTag = tag; if ( addTimestamp ) { try { getLog().info( "Using timestamp pattern '" + timestampFormat + "'" ); dateFormat = new SimpleDateFormat( timestampFormat ); tagTimestamp = dateFormat.format( new Date() ); getLog().info( "Using timestamp '" + tagTimestamp + "'" ); } catch ( IllegalArgumentException e ) { String msg = "The timestamp format '" + timestampFormat + "' is invalid."; getLog().error( msg, e ); throw new MojoExecutionException( msg, e ); } if ( "end".equals( timestampPosition ) ) { finalTag += timestampPrefix + tagTimestamp; } else { finalTag = tagTimestamp + timestampPrefix + finalTag; } } ScmRepository repository = getScmRepository(); ScmProvider provider = getScmManager().getProviderByRepository( repository ); <START> getLog().info( "Sign: '" + sign+ "'" ); <END> finalTag = provider.sanitizeTagName( finalTag ); getLog().info( "Final Tag Name: '" + finalTag + "'" ); ScmTagParameters scmTagParameters = new ScmTagParameters( message ); scmTagParameters.setRemoteTagging( remoteTagging ); scmTagParameters.setPinExternals( pinExternals ); scmTagParameters.setSign( sign ); TagScmResult result = provider.tag( repository, getFileSet(), finalTag, scmTagParameters ); checkResult( result ); } catch ( IOException e ) { throw new MojoExecutionException( "Cannot run tag command : ", e ); } catch ( ScmException e ) { throw new MojoExecutionException( "Cannot run tag command : ", e ); } }</code><technical_language>Please drop this, log rest anyway. plugin framework logs if in debug mode</technical_language>

Target:
public void execute() throws MojoExecutionException { super.execute(); try { SimpleDateFormat dateFormat = null; String tagTimestamp = ""; String finalTag = tag; if ( addTimestamp ) { try { getLog().info( "Using timestamp pattern '" + timestampFormat + "'" ); dateFormat = new SimpleDateFormat( timestampFormat ); tagTimestamp = dateFormat.format( new Date() ); getLog().info( "Using timestamp '" + tagTimestamp + "'" ); } catch ( IllegalArgumentException e ) { String msg = "The timestamp format '" + timestampFormat + "' is invalid."; getLog().error( msg, e ); throw new MojoExecutionException( msg, e ); } if ( "end".equals( timestampPosition ) ) { finalTag += timestampPrefix + tagTimestamp; } else { finalTag = tagTimestamp + timestampPrefix + finalTag; } } ScmRepository repository = getScmRepository(); ScmProvider provider = getScmManager().getProviderByRepository( repository ); finalTag = provider.sanitizeTagName( finalTag ); getLog().info( "Final Tag Name: '" + finalTag + "'" ); ScmTagParameters scmTagParameters = new ScmTagParameters( message ); scmTagParameters.setRemoteTagging( remoteTagging ); scmTagParameters.setPinExternals( pinExternals ); scmTagParameters.setSign( sign ); TagScmResult result = provider.tag( repository, getFileSet(), finalTag, scmTagParameters ); checkResult( result ); } catch ( IOException e ) { throw new MojoExecutionException( "Cannot run tag command : ", e ); } catch ( ScmException e ) { throw new MojoExecutionException( "Cannot run tag command : ", e ); } }