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/07/26 16:13:00 UTC

[jira] [Commented] (MSHARED-1115) Not excluding files like .gitignore after plexus-utils 3.3.0

    [ https://issues.apache.org/jira/browse/MSHARED-1115?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17571523#comment-17571523 ] 

Michael Osipov commented on MSHARED-1115:
-----------------------------------------

That was done intentional because those are fully versioned files just everything else. Those aren't internal of the repo. If my memory serves me correctly, that some request was made which has a good rationale to make this decision. If you look at the other SCMs all of those includes are SCM internals.

> Not excluding files like .gitignore after plexus-utils 3.3.0
> ------------------------------------------------------------
>
>                 Key: MSHARED-1115
>                 URL: https://issues.apache.org/jira/browse/MSHARED-1115
>             Project: Maven Shared Components
>          Issue Type: Bug
>          Components: maven-filtering
>    Affects Versions: maven-filtering-3.3.0
>            Reporter: Jorge Solórzano
>            Priority: Major
>
> After [https://github.com/codehaus-plexus/plexus-utils/pull/174] Maven is not longer excluding some SCM files like .gitignore.
> I don't know the rationale for this change in plexus-utils but in order to keep the default behavior maven-filtering should include those additional excludes if the addDefaultExcludes is true to avoid including those files in the final packaging.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)