release:prepare uses incorrect tag source on multi-module projects
------------------------------------------------------------------

                 Key: MRELEASE-562
                 URL: http://jira.codehaus.org/browse/MRELEASE-562
             Project: Maven 2.x Release Plugin
          Issue Type: Bug
          Components: prepare
    Affects Versions: 2.0
            Reporter: Juven Xu


source code layout:

svn://host/app/pom.xml (aggregator)
svn://host/app/app-parent/pom.xml (parent)
svn://host/app/app-module-a/pom.xml
svn://host/app/app-module-b/pom.xml

run mvn release:prepare in the aggreagtor foler, I see output like this:

[INFO] Executing: cmd.exe /X /C "svn --non-interactive copy --file 
C:\Users\JUVEN\AppData\Local\Temp\maven-scm-2081030526.commit --revision 25 
svn://192.168.1.103/app/ svn://192.168.1.103/app/tags/app-aggregator-1.0.0"

the tag source should be svn://192.168.1.103/app/trunk

similar issue was reported in maven user list: 
http://old.nabble.com/multi-modules,-scm-and-release-plugin-td28289933.html

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to