You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jackrabbit.apache.org by "Konrad Windszus (Jira)" <ji...@apache.org> on 2020/02/12 19:04:00 UTC

[jira] [Resolved] (JCRVLT-408) Filter entries which are not covering anything may lead to the root's .content.xml being copied to the wrong folder

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

Konrad Windszus resolved JCRVLT-408.
------------------------------------
    Resolution: Fixed

Fixed in http://svn.apache.org/r1873957.

> 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)