Details
Description
In a Maven archetype, I'm using the resource plugin to copy some files like a .gitignore template. But this file is not copied when I generate a project from this artefact.
Here is my config for the resource plugin in my artefact:
<plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-resources-plugin</artifactId> <version>3.1.0</version> <configuration> <!-- Required so that .gitignore gets included in archetypes --> <!-- See https://issues.apache.org/jira/browse/MRESOURCES-190 --> <addDefaultExcludes>false</addDefaultExcludes> </configuration> </plugin>
Attachments
Issue Links
- duplicates
-
ARCHETYPE-605 Allow .gitignore file in archetype resources
- Closed
- fixes
-
ARCHETYPE-505 archetype:create-from-project,the .gitignore file not copy to archetype-resources
- Closed
- relates to
-
ARCHETYPE-603 archetype:create-from-project is not copying .gitignore file to archetype
- Closed
- links to