Prepare step doesn't stop if there are modified local files
-----------------------------------------------------------

                 Key: MRELEASE-493
                 URL: http://jira.codehaus.org/browse/MRELEASE-493
             Project: Maven 2.x Release Plugin
          Issue Type: Bug
          Components: prepare
    Affects Versions: 2.0-beta-9
         Environment: client : svn, version 1.6.2 (r37639)
server : svn, version 1.6.3 (r38063)
            Reporter: Dominique Jean-Prost
            Priority: Critical


I'm quite sure this used ot work "before" (before what ?), but actually, the 
prepare step does not stop anymore if there are locally modified files. Please 
look hereunder at the trace that shows plugin version and that there are 
modified files



[DEBUG] Configuring mojo 
'org.apache.maven.plugins:maven-release-plugin:2.0-beta-9:prepare' -->
[DEBUG]   (f) addSchema = true
[DEBUG]   (f) allowReleasePluginSnapshot = false
[DEBUG]   (f) allowTimestampedSnapshots = false
[DEBUG]   (f) autoVersionSubmodules = true
[DEBUG]   (s) basedir = C:\root\common_util
[DEBUG]   (f) commitByProject = false
[DEBUG]   (f) dryRun = true
[DEBUG]   (f) generateReleasePoms = false
[DEBUG]   (f) javaHome = C:\Bin\jdk1.5.0_13\jre
[DEBUG]   (f) mavenExecutorId = invoker
[DEBUG]   (f) mavenHome = C:\Bin\apache-maven-2.1.0\bin\..
[DEBUG]   (f) preparationGoals = clean install
[DEBUG]   (f) project = MavenProject: 
com.dexia.sofaxis.siactuel:common_util:1.0.4-SNAPSHOT @ 
C:\root\common_util\pom.xml
[DEBUG]   (f) reactorProjects = [MavenProject: 
com.dexia.sofaxis.siactuel:common_util:1.0.4-SNAPSHOT @ 
C:\root\common_util\pom.xml]
[DEBUG]   (f) remoteTagging = true
[DEBUG]   (f) resume = false
[DEBUG]   (f) scmCommentPrefix = [maven-release-plugin]
[DEBUG]   (f) settings = org.apache.maven.settings.setti...@dc0435
[DEBUG]   (f) updateDependencies = true
[DEBUG]   (f) useEditMode = false
[DEBUG] -- end configuration --
[INFO] [release:prepare]
[INFO] Verifying that there are no local modifications...
[INFO] Executing: cmd.exe /X /C "svn --non-interactive status"
[INFO] Working directory: C:\root\common_util
[DEBUG] ?       pom.xml.releaseBackup
[DEBUG] ?       release.properties
[DEBUG] M       src\test\java\com\dexia\common\util\UtilsTest.java
[INFO] Checking dependencies and plugins for snapshots ...
What is the release version for "common_util"? 
(com.dexia.sofaxis.siactuel:common_util) 1.0.4: :

-- 
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