I'm having a problem with release:prepare.
I'm using Maven 2.0.4 and subversion 1.3.0
My repository looks like:
myrepo/
/trunk
| pom.xml
| src/
| .
/tags
When maven tries to create a tag, it gets an error back from subversion:
svn: Source url 'svn://myhost/myrepo/trunk' is from different repository
(I can't find out what this means from the subversion documentation either).
I have set up the pom like this:
<?xml version="1.0" encoding="UTF-8"?><project>
<modelVersion>4.0.0</modelVersion>
...
<scm>
<connection>scm:svn:svn://myhost/myrepo/trunk</connection>
<developerConnection>scm:svn:svn://myhost/myrepo/trunk</developerConnection>
</scm>
<build>
<plugins>
<plugin>
<artifactId>maven-release-plugin</artifactId>
<configuration>
<tagBase>svn:// myhost/myrepo/tags</tagBase>
</configuration>
</plugin>
</plugins>
</build>
</project>
Any ideas what is going on here?