[
http://jira.codehaus.org/browse/MRELEASE-261?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=232941#action_232941
]
Michael Glauche commented on MRELEASE-261:
------------------------------------------
I still have trouble with multi module builds and cvs, i did create a
test-project with one parent and 2 modules and set the maven-release-plugin to
2.0. When i run release:prepare i'm getting the following:
{noformat}
C:\work\workspaces\maven\test-main>mvn release:prepare -Dusername=rt55
-Dresume=false -DcommitByProject=true
[INFO] Scanning for projects...
[INFO] Reactor build order:
[INFO] Unnamed - test:test-main:pom:0.0.1
[INFO] Unnamed - test:modul2:jar:0.0.1-SNAPSHOT
[INFO] Unnamed - test:modul1:jar:0.0.1-SNAPSHOT
[INFO] Searching repository for plugin with prefix: 'release'.
[INFO] ------------------------------------------------------------------------
[INFO] Building Unnamed - test:test-main:pom:0.0.1
[INFO] task-segment: [release:prepare] (aggregator-style)
[INFO] ------------------------------------------------------------------------
[INFO] [release:prepare {execution: default-cli}]
[INFO] Verifying that there are no local modifications...
[INFO] Executing: cmd.exe /X /C "cvs -z3 -d
:pserver:r...@cvsserver:/home/cvs/repository/test -n -q update -d"
[INFO] Working directory: C:\work\workspaces\maven\test-main
[INFO] Checking dependencies and plugins for snapshots ...
...
[INFO] [INFO]
------------------------------------------------------------------------
[INFO] [INFO] Reactor Summary:
[INFO] [INFO]
------------------------------------------------------------------------
[INFO] [INFO] Unnamed - test:test-main:pom:0.0.1 ...... SUCCESS [3.609s]
[INFO] [INFO] Unnamed - test:modul2:jar:0.0.1 ......... SUCCESS [1.157s]
[INFO] [INFO] Unnamed - test:modul1:jar:0.0.1 ......... SUCCESS [0.531s]
[INFO] [INFO]
------------------------------------------------------------------------
[INFO] [INFO]
------------------------------------------------------------------------
[INFO] [INFO] BUILD SUCCESSFUL
[INFO] [INFO]
------------------------------------------------------------------------
[INFO] [INFO] Total time: 5 seconds
[INFO] [INFO] Finished at: Tue Aug 24 14:25:39 CEST 2010
[INFO] [INFO] Final Memory: 21M/254M
[INFO] [INFO]
------------------------------------------------------------------------
[INFO] Checking in modified POMs...
[INFO] Executing: cmd.exe /X /C "cvs -z3 -q commit -R -F
C:\DOCUME~1\rt55\LOCALS~1\Temp\scm-commit-message5089.txt pom.xml"
[INFO] Working directory: C:\work\workspaces\maven\test-main
[INFO] Executing: cmd.exe /X /C "cvs -z3 -q commit -R -F
C:\DOCUME~1\rt55\LOCALS~1\Temp\scm-commit-message5091.txt pom.xml"
[INFO] Working directory: C:\work\workspaces\maven\test-module2
[INFO] Executing: cmd.exe /X /C "cvs -z3 -q commit -R -F
C:\DOCUME~1\rt55\LOCALS~1\Temp\scm-commit-message5093.txt pom.xml"
[INFO] Working directory: C:\work\workspaces\maven\test-module1
[INFO] Tagging release with the label test-main-0_0_1...
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] The scm url is invalid.
- The connection string contains too few tokens.
{noformat}
Now, the changes are correctly checked, so i assume the scm url is correct, or ?
{code}
<scm>
<connection>scm:cvs|pserver|${maven.scm.userna...@cvsserver|/home/cvs/repository/test|maventest_main</connection>
</scm>
{code}
Am I doing something wrong ?
> release:prepare should support flat directory multi-module projects
> -------------------------------------------------------------------
>
> Key: MRELEASE-261
> URL: http://jira.codehaus.org/browse/MRELEASE-261
> Project: Maven 2.x Release Plugin
> Issue Type: Improvement
> Components: prepare
> Environment: linux / maven2 / svn
> Reporter: [email protected]
> Assignee: Maria Odea Ching
> Fix For: 2.0
>
> Attachments: flatProject.main.patch, flatProject.test.patch,
> maven-release-issue.tar.gz, maven-release-issue.zip,
> MRELEASE-261-sample-project.zip, MRELEASE-261-with-its-v3.patch,
> MRELEASE-261-with-its.patch, MRELEASE-261.patch, odd-tags.png,
> PrepareReleaseMojo.patch
>
>
> What I mean by flat file structure firstly.
> parent/pom.xml
> module1/pom.xml
> module2/pom.xml
> .
> .
> .
> module15/pom.xml
> the parent references the modules like so
> <modules>
> <module>../module1</module>
> <module>../module2</module>
> .
> .
> .
> <module>../module15</module>
> </modules>
> When i release:prepare only the parent project is tagged the modules
> projects versions are incremented etc but the modules are not tagged in svn.
> I use this structure as i use eclipse as my IDE.
> I would love to see a fix for the issue marked as closed here
> http://jira.codehaus.org/browse/MRELEASE-138. I am currenrly tagging by hand
> each submodule of the projects but it would be so nice to have the release
> plugin do this for me.
> forgive my english.
--
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