o removing some debug info

o provide a message when tagging


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@171304 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Jason van Zyl 2005-05-22 11:27:48 +00:00
parent aed93fb8b4
commit e8f0384f2f
3 changed files with 2 additions and 12 deletions

View File

@ -106,8 +106,6 @@ protected ScmBean getScm()
scm.setUrl( urlScm );
System.out.println( "urlScm = " + urlScm );
if ( releaseProperties != null )
{
tag = releaseProperties.getProperty( TAG );
@ -122,8 +120,6 @@ protected ScmBean getScm()
username = releaseProperties.getProperty( USERNAME );
}
System.out.println( "username = " + username );
scm.setUsername( username );
scm.setPassword( password );

View File

@ -346,12 +346,8 @@ private void transformPomToSnapshotVersionPom()
try
{
System.out.println( "nextVersionString = " + nextVersionString );
nextVersionString = Integer.toString( Integer.parseInt( nextVersionString ) + 1 );
System.out.println( "nextVersionString = " + nextVersionString );
projectVersion = projectVersion.substring( 0, projectVersion.lastIndexOf( "-" ) + 1 ) + nextVersionString + SNAPSHOT;
}
catch ( NumberFormatException e )
@ -477,6 +473,8 @@ private void tagRelease()
scm.setTag( tag );
}
getLog().info( "Tagging release with the label " + tag + "." );
scm.tag();
}
catch ( Exception e )

View File

@ -131,10 +131,6 @@ public void checkout()
checkoutDirectory = new File( workingDirectory );
System.out.println( "workingDirectory = " + workingDirectory );
System.out.println( "tag = " + tag );
// TODO: sanity check that it is not . or .. or lower
if ( FileUtils.fileExists( workingDirectory ) )