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 2018/11/09 15:12:00 UTC

[jira] [Updated] (JCRVLT-279) Emit warning/error in case embedded file/subpackage is overwritten by jcrRootSourceDirectory

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

Konrad Windszus updated JCRVLT-279:
-----------------------------------
    Fix Version/s: package-maven-plugin-1.0.4
           Status: Patch Available  (was: Open)

PR in https://github.com/apache/jackrabbit-filevault-package-maven-plugin/pull/13 changes the default handling, so that the goal now fails in case of duplicate entries.

[~tripod] I had to tweak a bit the logic which adds the entries per filter root (but I think it is actually more correct now).

> Emit warning/error in case embedded file/subpackage is overwritten by jcrRootSourceDirectory
> --------------------------------------------------------------------------------------------
>
>                 Key: JCRVLT-279
>                 URL: https://issues.apache.org/jira/browse/JCRVLT-279
>             Project: Jackrabbit FileVault
>          Issue Type: Bug
>          Components: package maven plugin
>    Affects Versions: package-maven-plugin-1.0.1
>            Reporter: Konrad Windszus
>            Priority: Minor
>             Fix For: package-maven-plugin-1.0.4
>
>
> Due to errorneous project setup it may sometimes happen that the {{jcrRootSourceDirectory}} inadvertently contains the to be embedded file. Since the {{jcrRootSourceDirectory}} is having a higher precedence all files in there overwrite previously embedded files. In that case a warning/error should be emitted. The same for sub packages.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)