You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Christian Schlichtherle (JIRA)" <ji...@codehaus.org> on 2015/03/07 17:17:17 UTC

[jira] (ARCHETYPE-474) .gitignore file is not copied to archetype JAR

    [ https://jira.codehaus.org/browse/ARCHETYPE-474?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=364646#comment-364646 ] 

Christian Schlichtherle commented on ARCHETYPE-474:
---------------------------------------------------

This is only a guess.

> .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
>            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)