From f2656a471618fd2d1d593b05d5bf05cc3cdd996b Mon Sep 17 00:00:00 2001 From: Oliver Schrenk Date: Fri, 15 Nov 2013 20:10:11 +0100 Subject: [PATCH] Ignore files created by maven-release-plugin Maven Release Plugin provides a standard mechanism to release project artifacts. During the various phases of the execution the plugin create various files, especially if you do a dry run that allows you to see the changes that the plugin will perform on your pom files mvn release:prepare -D dryRun=true It will create - `release.properties` - copy of the properties to be used - `pom.xml.releaseBackup` - the pom.xml prior to any changes - `pom.xml.tag` - the pom.xml as it will look when tagged - `pom.xml.next` - the pom.xml as it will look for the next iteration --- Maven.gitignore | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Maven.gitignore b/Maven.gitignore index 6ca4036f..94eab12d 100644 --- a/Maven.gitignore +++ b/Maven.gitignore @@ -1,2 +1,5 @@ target/ - *.releaseBackup +pom.xml.tag +pom.xml.releaseBackup +pom.xml.next +release.properties