Uploaded image for project: 'Maven SCM'
  1. Maven SCM
  2. SCM-578

Goal scm:checkin ignores pushChanges=false for Mercurial

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Duplicate
    • 1.4
    • None
    • maven-plugin
    • None
    • Apache Maven 3.0-beta-3 (r990787; 2010-08-30 14:44:03+0200)
      Java version: 1.6.0_20
      Mercurial Distributed SCM (version 1.6.3)

    Description

      Although mvn -X scm:checkin -Dmessage=Test confirms that pushChanges has been set to false

      <configuration>
      ...
      <pushChanges default-value="true">false</pushChanges>
      ...
      </configuration>
      ...
      [DEBUG] Configuring mojo 'org.apache.maven.plugins:maven-scm-plugin:1.4:checkin' with basic configurator -->
      [DEBUG] (f) basedir = /home/sewe/test-project
      [DEBUG] (f) connectionType = developerConnection
      [DEBUG] (f) developerConnectionUrl = scm:hg:file:///tmp/test-project
      [DEBUG] (f) message = Test
      [DEBUG] (f) pushChanges = false
      [DEBUG] (f) settings = org.apache.maven.execution.SettingsAdapter@77485542

      the maven-scm-plugin insists on pushing the changes (in addition to simply commiting them).

      [INFO] EXECUTING: /bin/sh -c cd /home/sewe/test-project && hg status
      [DEBUG] M pom.xml
      [INFO] [pom.xml:modified]
      [INFO] EXECUTING: /bin/sh -c cd /home/sewe/test-project && hg commit --message 'Test'
      [INFO] EXECUTING: /bin/sh -c cd /home/sewe/test-project && hg push file:///tmp/test-project

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              sewe Andreas Sewe
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: