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

Konrad Windszus reassigned JCRVLT-408:
--------------------------------------

    Assignee: Konrad Windszus

> Filter entries which are not covering anything may lead to the root's 
> .content.xml being copied to the wrong folder
> -------------------------------------------------------------------------------------------------------------------
>
>                 Key: JCRVLT-408
>                 URL: https://issues.apache.org/jira/browse/JCRVLT-408
>             Project: Jackrabbit FileVault
>          Issue Type: Bug
>          Components: package maven plugin
>    Affects Versions: package-maven-plugin-1.1.0
>            Reporter: Konrad Windszus
>            Assignee: Konrad Windszus
>            Priority: Major
>             Fix For: package-maven-plugin-1.1.2
>
>
> There is bug when adding ancestors.
> In case a filter entry does not cover anything you end up in branch 
> https://github.com/apache/jackrabbit-filevault-package-maven-plugin/blob/1e6bcda0a9c8f6aa8e16d01523c348cfb805c80c/src/main/java/org/apache/jackrabbit/filevault/maven/packaging/VaultMojo.java#L508
>  which willl modify the variable {{sourceFile}} until you hit the root. Even 
> in case nothing has been added for this filter the root .content.xml will 
> still be copied to the wrong destination (as variable {{destFile}}) is still 
> the same.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to