Uploaded image for project: 'Maven Release Plugin'
  1. Maven Release Plugin
  2. MRELEASE-493

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

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Critical
    • Resolution: Fixed
    • 2.0-beta-9
    • 2.0
    • prepare
    • None
    • client : svn, version 1.6.2 (r37639)
      server : svn, version 1.6.3 (r38063)

    Description

      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.Settings@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: :

      Attachments

        Issue Links

          Activity

            People

              olamy Olivier Lamy
              djeanprost Dominique Jean-Prost
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: