[ https://issues.apache.org/jira/browse/MJAR-265?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17174281#comment-17174281 ]
Jeff Smits commented on MJAR-265: --------------------------------- I would argue that while my comment _explains_ the issue, it does not resolve it and is no reason to close the issue. The type of this issue is also "new feature", so I think it would be better to rewrite the description into a proper feature request to add a configuration option to turn off default excludes, like the maven-resource-plugin provides. With that as an actionable description, I would hope that it can be put on a roadmap. But I'm not an active contributor of this project, so I don't know how the management of issues works. [~whitingjr], if you have a similar issue, but for a pattern that is not among the ones listed by [the maven-resource-plugin docs|https://maven.apache.org/plugins/maven-resources-plugin/copy-resources-mojo.html#addDefaultExcludes], then that's a separate issue unless those docs are incomplete. If you are able, it would be useful to find the source code of the SetBase class, to trace the original code that defines the default excludes, before you create a new issue. > Resources not copied > -------------------- > > Key: MJAR-265 > URL: https://issues.apache.org/jira/browse/MJAR-265 > Project: Maven JAR Plugin > Issue Type: New Feature > Affects Versions: 3.1.2 > Environment: windows 7, Maven 3.3.9 Java version: 1.7.0_80 > Reporter: vincent c > Assignee: Karl Heinz Marbaise > Priority: Minor > Attachments: example.7z > > > I have a folder named *.metadata* that is in the target/classes folder. > But it is not copied to the jar archive. It looks like a default exclusion > filter is used. > It is working with version maven-jar-plugin:2.3 but version 2.4 and upper it > is not. > > The issue seams to be also discussed on > [stackoverflow|https://stackoverflow.com/questions/55514758/maven-jar-plugin-does-not-include-gitignore-file/55522970#55522970]. -- This message was sent by Atlassian Jira (v8.3.4#803005)