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

scm:check-local-modification does not support excludes

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 1.13.0, 2.0.0-M2
    • None
    • None

    Description

      It seems like scm:check-local-modification does not support the excludes and includes parameters. Which is annoying, because I want to exclude *.iml from Intellij from this check.

      Looking (but not yet testing) at CheckLocalModificationsMojo::execute(), it does:

      result = getScmManager().status( repository, new ScmFileSet( baseDirectory ) );
      

      So it does not address neither includes, nor excludes parameter.

      My first though would be that something like this is the start of fix:

      result = getScmManager().status( repository, new ScmFileSet( getWorkingDirectory(), getIncludes(), getExcludes() ) );
      

      Is this something that has not yet been implemented, or is there a user error on my part?
       

      Attachments

        Issue Links

          Activity

            People

              michael-o Michael Osipov
              michielgkalkman Michiel Kalkman
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: