[
https://issues.apache.org/jira/browse/ARCHETYPE-524?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Petar Tahchiev updated ARCHETYPE-524:
-------------------------------------
Description:
When invoking create-a-project-from-archetype on a project with the following
structure:
{code}
src/
main/
webapp/
resources/
artifactId/
a.jsp
a.png
{code}
creates an archetype with the following structure:
{code}
src/
main/
webapp/
resources/
artifactId/
a.png
__artifactId__/
a.jsp
{code}
I believe the correct output should only contain {{__archetypeId__}} even with
the {{jsp}} filtered and the {{a.png}} not fildered.
was:
When invoking create-a-project-from-archetype on a project with the following
structure:
{code}
src/
main/
webapp/
resources/
archetypeId/
a.jsp
a.png
{code}
creates an archetype with the following structure:
{code}
src/
main/
webapp/
resources/
archetypeId/
a.png
__archetypeId__/
a.jsp
{code}
I believe the correct output should only contain {{__archetypeId__}} even with
the {{jsp}} filtered and the {{a.png}} not fildered.
> CreateArchetypeFromProject creates extra folders if a folder contains both
> filtered and non-filtered files.
> -----------------------------------------------------------------------------------------------------------
>
> Key: ARCHETYPE-524
> URL: https://issues.apache.org/jira/browse/ARCHETYPE-524
> Project: Maven Archetype
> Issue Type: Bug
> Affects Versions: 3.0.0
> Reporter: Petar Tahchiev
> Assignee: Petar Tahchiev
> Fix For: 3.0.1
>
>
> When invoking create-a-project-from-archetype on a project with the following
> structure:
> {code}
> src/
> main/
> webapp/
> resources/
> artifactId/
> a.jsp
> a.png
> {code}
> creates an archetype with the following structure:
> {code}
> src/
> main/
> webapp/
> resources/
> artifactId/
> a.png
> __artifactId__/
> a.jsp
> {code}
> I believe the correct output should only contain {{__archetypeId__}} even
> with the {{jsp}} filtered and the {{a.png}} not fildered.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)