maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Christian Schlichtherle (JIRA)" <j...@codehaus.org>
Subject [jira] (ARCHETYPE-474) .gitignore file is not copied to archetype JAR
Date Mon, 02 Feb 2015 13:57:17 GMT
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)

Mime
View raw message