mirror of https://github.com/apache/maven.git
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:
parent
1bb91a73b7
commit
1fc2ebc7f4
|
@ -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();
|
||||
|
|
Loading…
Reference in New Issue