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/02/02 14:57:17 UTC
[jira] (ARCHETYPE-474) .gitignore file is not copied to archetype
JAR
Christian Schlichtherle created ARCHETYPE-474:
-------------------------------------------------
Summary: .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)