Ignore pom.xml.backup and release.properties files

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@177975 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Emmanuel Venisse 2005-05-23 13:21:08 +00:00
parent 1bb91a73b7
commit 1fc2ebc7f4
1 changed files with 10 additions and 0 deletions

View File

@ -110,6 +110,16 @@ public class PrepareReleaseMojo
throw new MojoExecutionException( "An error is occurred in the status process.", e );
}
for ( Iterator i = changedFiles.iterator(); i.hasNext(); )
{
ScmFile f = (ScmFile) i.next();
if ( f.getPath().equals( "pom.xml.backup" ) ||
f.getPath().equals( "release.properties" ) )
{
i.remove();
}
}
if ( !changedFiles.isEmpty() )
{
StringBuffer message = new StringBuffer();