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

vincent c commented on MJAR-265:
--------------------------------

Thank you [~khmarbaise] to have reviewed my problem.

I have attached a simple project. To reproduce the behaviour, just run : {{mvn 
install}}

The {{.metadata}} folder comes from {{src/main/resources}}, it is well copied 
to {{target/classes}} folder but not into the jar.

> Resources not copied
> --------------------
>
>                 Key: MJAR-265
>                 URL: https://issues.apache.org/jira/browse/MJAR-265
>             Project: Maven JAR Plugin
>          Issue Type: Bug
>    Affects Versions: 2.4, 2.5, 2.6, 3.1.2
>         Environment: windows 7, Maven 3.3.9 Java version: 1.7.0_80
>            Reporter: vincent c
>            Priority: Major
>         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
(v7.6.3#76005)

Reply via email to