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?
- links to