[ 
https://jira.codehaus.org/browse/ARCHETYPE-474?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Christian Schlichtherle closed ARCHETYPE-474.
---------------------------------------------

    Resolution: Duplicate

I am sorry, but this issue is caused by the maven-resources-plugin:2.7, not the 
maven-archetype-plugin:2.3 - see http://jira.codehaus.org/browse/MRESOURCES-190 
.

> .gitignore file is not copied to archetype JAR
> ----------------------------------------------
>
>                 Key: ARCHETYPE-474
>                 URL: https://jira.codehaus.org/browse/ARCHETYPE-474
>             Project: Maven Archetype
>          Issue Type: Bug
>          Components: Creator
>    Affects Versions: 2.2, 2.3
>            Reporter: Christian Schlichtherle
>
> In the file {{src/main/resources/META-INF/maven/archetype-metadata.xml}}, I 
> have something like this:
> {code}
>     ...
>     <fileSets>
>         <fileSet filtered="false" packaged="false">
>             <directory/>
>             <includes>
>                 <include>.*ignore</include>
>             </includes>
>         </fileSet>
>     </fileSets>
>     ...
> {code}
> In the directory {{src/main/resources/archetype-resources}}, there are two 
> files {{.gitignore}} and {{.hgignore}}. Now when I create the archetype from 
> the resources, only the {{.hgignore}} file gets copied into the archetype, 
> but not the {{.gitignore}} file.



--
This message was sent by Atlassian JIRA
(v6.1.6#6162)

Reply via email to