Uh, good catch. Thanks Olivier! On Thu, Apr 7, 2011 at 12:47 PM, Olivier Lamy <[email protected]> wrote:
> replace > <tagBase>scm:svn:http://svnserver/server/tags</tagBase> > with > <tagBase>http://svnserver/server/tags</tagBase> > > HTH, > -- > Olivier > > 2011/4/7 Michael Jiang <[email protected]>: > > I have the following config for a project "MYPRJ": > > > > <scm> > > <connection>scm:svn:http://svnserver/server/tools/MYPRJ</connection> > > <developerConnection>scm:svn:http://svnserver/server/tools/MYPRJ > > </developerConnection> > > <url>scm:svn:http://svnserver/server/tools/MYPRJ</url> > > </scm> > > > > <plugin> > > <groupId>org.apache.maven.plugins</groupId> > > <artifactId>maven-release-plugin</artifactId> > > <version>2.1</version> > > <configuration> > > <tagBase>scm:svn:http://svnserver/server/tags</tagBase> > > <autoVersionSubmodules>true</autoVersionSubmodules> > > <preparationGoals>clean install</preparationGoals> > > </configuration> > > </plugin> > > > > <distributionManagement> > > <snapshotRepository> > > <id>snapshots</id> > > <name>Internal Snapshots</name> > > <url>http://servername/content/repositories/snapshots</url> > > </snapshotRepository> > > <repository> > > <id>releases</id> > > <name>Internal Releases</name> > > <url>http://servername/content/repositories/releases</url> > > </repository> > > </distributionManagement> > > > > Run "mvn release:prepare" failed as follows. What is wrong w/ the > settings > > or something is missing in the config? Thanks! > > > > ... > > INFO] [INFO] > > ------------------------------------------------------------------------ > > [INFO] [INFO] BUILD SUCCESSFUL > > ... > > [INFO] [INFO] > > ------------------------------------------------------------------------ > > [INFO] Checking in modified POMs... > > [INFO] Executing: /bin/sh -c cd /home/tester/dev/fromsvn/tools/MYPRJ && > svn > > --non-interactive commit --file > > > /var/folders/Og/OgjoLKN0GBOnx7wyii2V2E+++TI/-Tmp-/maven-scm-475892236.commit > > --targets > > > /var/folders/Og/OgjoLKN0GBOnx7wyii2V2E+++TI/-Tmp-/maven-scm-5301348150995180-targets > > [INFO] Working directory: /home/tester/dev/fromsvn/tools/MYPRJ > > [INFO] Tagging release with the label MYPRJ-1.0... > > [INFO] Executing: /bin/sh -c cd /home/tester/dev/fromsvn/tools/MYPRJ && > svn > > --non-interactive copy --file > > > /var/folders/Og/OgjoLKN0GBOnx7wyii2V2E+++TI/-Tmp-/maven-scm-1772669516.commit > > --revision 485 http://svnserver/server/tools/MYPRJ scm:svn: > > http://svnserver/server/tags/MYPRJ-1.0 > > [INFO] Working directory: /home/tester/dev/fromsvn/tools/MYPRJ > > [INFO] > > ------------------------------------------------------------------------ > > [ERROR] BUILD FAILURE > > [INFO] > > ------------------------------------------------------------------------ > > [INFO] Unable to tag SCM > > Provider message: > > The svn tag command failed. > > Command output: > > svn: Local, non-commit operations do not take a log message or revision > > properties > > > > -- > > mJ > > > > > > -- > Olivier Lamy > http://twitter.com/olamy > http://www.linkedin.com/in/olamy >
