Have you tried
scm:svn:http://myhost/myrepo/trunk
in your scm elements? Note the http. More formats are listed here,
though yours should work:
http://maven.apache.org/scm/subversion.html
Presumably you've tried doing the same thing on the CL with svn?
Maven actually does a copy from the trunk to the tags, after updating
the pom to your release version, followed by another update of the
pom in the trunk to create your next dev. version.
There might be some more hints in some docs I wrote on the release
process.
http://apollo.ucalgary.ca/tlcprojectswiki/index.php/Public/
Project_Versioning_-_Best_Practices
J
On 11-May-06, at 8:15 AM, Jos van der Heiden wrote:
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?
--
Julian Wood <[EMAIL PROTECTED]>
Software Engineer
Teaching & Learning Centre
University of Calgary
http://tlc.ucalgary.ca
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]