maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Guillaume Boué (JIRA) <j...@apache.org>
Subject [jira] [Updated] (ARCHETYPE-513) Files in excludePatterns having a default filtered extension are still included
Date Thu, 17 Nov 2016 12:32:58 GMT

     [ https://issues.apache.org/jira/browse/ARCHETYPE-513?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Guillaume Boué updated ARCHETYPE-513:
-------------------------------------
    Attachment: ARCHETYPE-513.zip

> Files in excludePatterns having a default filtered extension are still included
> -------------------------------------------------------------------------------
>
>                 Key: ARCHETYPE-513
>                 URL: https://issues.apache.org/jira/browse/ARCHETYPE-513
>             Project: Maven Archetype
>          Issue Type: Bug
>    Affects Versions: 2.4
>            Reporter: Guillaume Boué
>            Assignee: Guillaume Boué
>             Fix For: 2.5
>
>         Attachments: ARCHETYPE-513.zip
>
>
> In the following attached project, we have the following file structure:
> {noformat}
> archetype.properties
> pom.xml
> src
> └───main
>     └───resources
>         │   file.txt
>         │
>         └───.sonar
>                 file.txt
> {noformat}
> 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}}:
> {noformat}
> pom.xml
> src
> └───main
>     └───resources
>         │   file.txt
>         │
>         └───.sonar
>                 file.txt
> {noformat}
> The {{.sonar}} folder is still present, when it should have been excluded.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message