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

mvn diff:status reports a file created by mvn:diff as new... :-(

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Auto Closed
    • 1.8.1
    • None
    • maven-scm-provider-svn
    • None
    • MVN 3.0.4, SCM 1.8.1, Win 7 Pro SP1 (64 Bit), JDK 1.7.0_17

    Description

      • Commands to reproduce problem:
        svn revert -R . && mvn scm:diff scm:status
      • Expected result:
        Does not find any differences to BASE.
      • Actual result:
        Reports "unknown Status for ${artifactId}.diff". This is really annoying, as ${artifactId}.diff actually is getting created by mvn:diff itself...

      Proposal solution:

      • Create that file inside $TEMP instead of the project's root. This not only solves the problem, but also potentially speeds up operations, as $TEMP often is located on faster (SSD or RAM) drives.

      Attachments

        Activity

          People

            Unassigned Unassigned
            mkarg Markus Karg
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: