You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Michael Osipov (Jira)" <ji...@apache.org> on 2022/05/19 19:25:00 UTC

[jira] [Assigned] (SCM-943) scm:check-local-modification does not support excludes

     [ https://issues.apache.org/jira/browse/SCM-943?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Michael Osipov reassigned SCM-943:
----------------------------------

    Assignee: Michael Osipov

> scm:check-local-modification does not support excludes
> ------------------------------------------------------
>
>                 Key: SCM-943
>                 URL: https://issues.apache.org/jira/browse/SCM-943
>             Project: Maven SCM
>          Issue Type: Improvement
>            Reporter: Michiel Kalkman
>            Assignee: Michael Osipov
>            Priority: Major
>
> 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:
> {code:java}
> result = getScmManager().status( repository, new ScmFileSet( baseDirectory ) );
> {code}
> So it does not address neither includes, nor excludes parameter.
> My first though would be that something like this is the start of fix:
> {code:java}
> result = getScmManager().status( repository, new ScmFileSet( getWorkingDirectory(), getIncludes(), getExcludes() ) );
> {code}
> Is this something that has not yet been implemented, or is there a user error on my part?
>  



--
This message was sent by Atlassian Jira
(v8.20.7#820007)