Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
2.4
-
None
-
None
Description
In the following attached project, we have the following file structure:
archetype.properties pom.xml src └───main └───resources │ file.txt │ └───.sonar file.txt
The use of excludePatterns=**/.sonar/** inside the archetype.properties still results in the creation of the folder src/main/resources/.sonar in the generated archetype.
Running mvn clean archetype:create-from-project -Darchetype.properties=archetype.properties results in the following generated structure inside target\generated-sources\archetype\src\main\resources\archetype-resources:
pom.xml src └───main └───resources │ file.txt │ └───.sonar file.txt
The .sonar folder is still present, when it should have been excluded.