Hi, As mentionned in the Better Builds with Maven book, I am trying to cut a release. To do so, i first run "mvn release:prepare -DdryRun" and if this is ok I run "mvn release:prepare".
If I do so, the second release:prepare call does not tag my scm, thus the "release:perform" cannot be done. Is there something I am not doing right ? here is a log of my execution. Seb mvn -B release:prepare -DdryRun [INFO] Scanning for projects... [INFO] Searching repository for plugin with prefix: 'release'. [INFO] ---------------------------------------------------------------------------- [INFO] Building Maven Quick Start Archetype [INFO] task-segment: [release:prepare] (aggregator-style) [INFO] ---------------------------------------------------------------------------- [INFO] [release:prepare] [INFO] Verifying that there are no local modifications... [INFO] Executing: cvs -z3 -f -d :pserver:[EMAIL PROTECTED]:/cvs/bodet -n -q update -d [INFO] Working directory: P:\testprod [INFO] Checking dependencies and plugins for snapshots ... [INFO] Transforming 'Maven Quick Start Archetype'... [INFO] Executing preparation goals - since this is simulation mode it is running against the original project, not the rewritten ones [INFO] Executing preparation goals 'clean integration-test'... [INFO] Executing: mvn clean integration-test --no-plugin-updates --batch-mode -P bodet [INFO] Scanning for projects... [INFO] ---------------------------------------------------------------------------- [INFO] Building Maven Quick Start Archetype [INFO] task-segment: [clean, integration-test] [INFO] ---------------------------------------------------------------------------- [INFO] [clean:clean] [INFO] Deleting directory P:\testprod\target [INFO] Deleting directory P:\testprod\target\classes [INFO] Deleting directory P:\testprod\target\test-classes [INFO] [resources:resources] [INFO] Using default encoding to copy filtered resources. [INFO] [compiler:compile] Compiling 1 source file to P:\testprod\target\classes [INFO] [resources:testResources] [INFO] Using default encoding to copy filtered resources. [INFO] [compiler:testCompile] Compiling 1 source file to P:\testprod\target\test-classes [INFO] [surefire:test] [INFO] Surefire report directory: P:\testprod\target\surefire-reports ------------------------------------------------------- T E S T S ------------------------------------------------------- Running bodet.AppTest Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.016 sec Results : Tests run: 1, Failures: 0, Errors: 0, Skipped: 0 [INFO] [jar:jar] [INFO] Building jar: P:\testprod\target\testprod-1_0-SNAPSHOT.jar [INFO] ------------------------------------------------------------------------ [INFO] BUILD SUCCESSFUL [INFO] ------------------------------------------------------------------------ [INFO] Total time: 3 seconds [INFO] Finished at: Thu Sep 21 09:33:14 CEST 2006 [INFO] Final Memory: 5M/12M [INFO] ------------------------------------------------------------------------ [INFO] Full run would be checking in 1 files with message: '[maven-release-plugin] prepare release testprod-1_0' [INFO] Full run would be tagging P:\testprod with label: 'testprod-1_0 [INFO] Transforming 'Maven Quick Start Archetype'... [INFO] Full run would be checking in 1 files with message: '[maven-release-plugin] prepare for next development iteration' [INFO] Release preparation simulation complete. [INFO] ------------------------------------------------------------------------ [INFO] BUILD SUCCESSFUL [INFO] ------------------------------------------------------------------------ [INFO] Total time: 8 seconds [INFO] Finished at: Thu Sep 21 09:33:14 CEST 2006 [INFO] Final Memory: 4M/9M [INFO] ------------------------------------------------------------------------ mvn -B release:prepare [INFO] Scanning for projects... [INFO] Searching repository for plugin with prefix: 'release'. [INFO] ---------------------------------------------------------------------------- [INFO] Building Maven Quick Start Archetype [INFO] task-segment: [release:prepare] (aggregator-style) [INFO] ---------------------------------------------------------------------------- [INFO] [release:prepare] [INFO] Release preparation already completed. You can now continue with release:perform, or start again using the -Dresume=false flag [INFO] ------------------------------------------------------------------------ [INFO] BUILD SUCCESSFUL [INFO] ------------------------------------------------------------------------ [INFO] Total time: 2 seconds [INFO] Finished at: Thu Sep 21 09:33:24 CEST 2006 [INFO] Final Memory: 4M/8M [INFO] ------------------------------------------------------------------------ -- View this message in context: http://www.nabble.com/Prepare-after-dryRun-does-not-tag-the-scm-tf2310250.html#a6423041 Sent from the Maven - Users mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]