Hello, I followed the instructions here: http://maven.apache.org/guides/mini/guide-releasing.html
So my input pom.xml looks like shown below. Executing: mvn release:branch -DbranchName=4.0 gets me to the FAILED ouput also shown below. Why is it always trying to create a "branches" folder when the pom.xml clearly says tags !? Why is it not building the war and putting it into the local repo? I have spent two days on this ... every other online documentation would have a completely different idea on how SCM should be configured ... Can anyone please advice. TIA, regards, Giovanni ********************************************************************** pom.xml ********************************************************************** <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> <modelVersion>4.0.0</modelVersion> <groupId>webengineering</groupId> <artifactId>facebookapp</artifactId> <packaging>war</packaging> <version>4.0-SNAPSHOT</version> <name>facebookapp Maven Webapp</name> <url>http://maven.apache.org</url> <dependencies> <dependency> <groupId>junit</groupId> <artifactId>junit</artifactId> <version>3.8.1</version> <scope>test</scope> </dependency> <dependency> <groupId>com.restfb</groupId> <artifactId>restfb</artifactId> <version>1.6.2</version> </dependency> <dependency> <groupId>org.apache.geronimo.specs</groupId> <artifactId>geronimo-servlet_2.5_spec</artifactId> <version>1.2</version> </dependency> </dependencies> <inceptionYear>2011</inceptionYear> <licenses> <license> <name>GNU Lesser General Public License</name> <url>COPYING.LESSER</url> </license> <license> <name>GNU General Public License</name> <url>COPYING</url> </license> </licenses> <scm> <connection>scm:svn:https://svn.vis.ethz.ch/svn/webengineering/trunk</connection> <developerConnection>scm:svn:file:///Users/bravegag/code/webengineering/trunk</developerConnection> <url>http://svn.vis.ethz.ch/svn/webengineering/trunk</url> </scm> <build> <finalName>facebookapp</finalName> <plugins> <plugin> <artifactId>maven-release-plugin</artifactId> <configuration> <tagBase>file:///Users/bravegag/code/webengineering/tags</tagBase> </configuration> </plugin> <plugin> <groupId>org.mortbay.jetty</groupId> <artifactId>jetty-maven-plugin</artifactId> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-eclipse-plugin</artifactId> <inherited>true</inherited> <configuration> <wtpversion>1.5</wtpversion> <classpathContainers> <classpathContainer>org.eclipse.jdt.launching.JRE_CONTAINER</classpathContainer> <classpathContainer>org.eclipse.jdt.USER_LIBRARY/TOMCAT_7.0.8_LIBRARY</classpathContainer> </classpathContainers> </configuration> </plugin> </plugins> </build> </project> ********************************************************************** OUTPUT ********************************************************************** /Users/bravegag/code/webengineering/trunk$ mvn release:branch -DbranchName=4.0 [INFO] Scanning for projects... [WARNING] [WARNING] Some problems were encountered while building the effective model for webengineering:facebookapp:war:4.0-SNAPSHOT [WARNING] 'build.plugins.plugin.version' for org.mortbay.jetty:jetty-maven-plugin is missing. @ line 85, column 15 [WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-eclipse-plugin is missing. @ line 89, column 15 [WARNING] [WARNING] It is highly recommended to fix these problems because they threaten the stability of your build. [WARNING] [WARNING] For this reason, future Maven versions might no longer support building such malformed projects. [WARNING] [INFO] [INFO] ------------------------------------------------------------------------ [INFO] Building facebookapp Maven Webapp 4.0-SNAPSHOT [INFO] ------------------------------------------------------------------------ [INFO] [INFO] --- maven-release-plugin:2.0:branch (default-cli) @ facebookapp --- [INFO] Verifying that there are no local modifications... [INFO] Executing: /bin/sh -c cd /Users/bravegag/code/webengineering/trunk && svn --non-interactive status [INFO] Working directory: /Users/bravegag/code/webengineering/trunk What is the new working copy version for "facebookapp Maven Webapp"? (webengineering:facebookapp) 4.1-SNAPSHOT: : 5.0 [INFO] Transforming 'facebookapp Maven Webapp'... [INFO] Checking in modified POMs... [INFO] Executing: /bin/sh -c cd /Users/bravegag/code/webengineering/trunk && svn --non-interactive commit --file /var/folders/5m/5mC0wYCSGMK8NbPZYhBEZE+++TI/-Tmp-/maven-scm-1430166965.commit --targets /var/folders/5m/5mC0wYCSGMK8NbPZYhBEZE+++TI/-Tmp-/maven-scm-7017833639063773562-targets [INFO] Working directory: /Users/bravegag/code/webengineering/trunk [INFO] Branching release with the label 4.0... [INFO] Executing: /bin/sh -c cd /Users/bravegag/code/webengineering/trunk && svn --non-interactive copy --file /var/folders/5m/5mC0wYCSGMK8NbPZYhBEZE+++TI/-Tmp-/maven-scm-861040143.commit --revision 0 file:///Users/bravegag/code/webengineering/branches/4.0 file:///Users/bravegag/code/webengineering/branches/4.0 [INFO] Working directory: /Users/bravegag/code/webengineering/trunk [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 4.720s [INFO] Finished at: Tue Mar 22 00:31:44 CET 2011 [INFO] Final Memory: 5M/528M [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal org.apache.maven.plugins:maven-release-plugin:2.0:branch (default-cli) on project facebookapp: Unable to branch SCM [ERROR] Provider message: [ERROR] The svn branch command failed. [ERROR] Command output: [ERROR] svn: Unable to open an ra_local session to URL [ERROR] svn: Unable to open repository 'file:///Users/bravegag/code/webengineering/branches'