I am getting an unexpected result when the release plugin copies the
code to create the tag.  Instead of doing a copy from the trunk,
it is starting the copy one directory up.

[INFO] Checking in modified POMs...
[INFO] Executing: /bin/sh -c cd
"/var/lib/hudson/home/jobs/suite/workspace/trunk" && svn
--non-interactive commit --file /tmp/maven-scm-1461847108.commit
--targets /tmp/maven-scm-6544660820984861680-targets
[INFO] Working directory: /var/lib/hudson/home/jobs/suite/workspace/trunk
[INFO] Tagging release with the label suite-1.0-65...
[INFO] Executing: /bin/sh -c cd
"/var/lib/hudson/home/jobs/suite/workspace" && svn --non-interactive
copy --file /tmp/maven-scm-288790027.commit --revision 1996
http://svn-repo/suite http://svn-repo/suite/tags/suite-1.0-65
[INFO] Working directory: /var/lib/hudson/home/jobs/suite/workspace
[INFO] Transforming '...

The result when I do a listing in the repository is a trunk and tags
dir beneath the tag

I expect the svn command to look like this:
svn --non-interactive copy --file /tmp/maven-scm-288790027.commit
--revision 1996 http://svn-repo/suite/trunk
http://svn-repo/suite/tags/suite-1.0-65


The scm tag of my pom says
    <scm>
        <connection>scm:svn:http://svn-repo/suite/trunk</connection>
        
<developerConnection>scm:svn:http://svn-repo/suite/trunk</developerConnection>
    </scm>


This is a multi-module project if that makes a difference.

I am running the job through hudson.
maven: 2.2.1
release plugin: 2.0
hudson: 1.342
hudson maven plugin: 1.342



-- Jeff

Reply via email to