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/08/03 20:04:00 UTC

[jira] [Closed] (JCRVLT-435) Allow creating cleanup packages only

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

Konrad Windszus closed JCRVLT-435.
----------------------------------

> Allow creating cleanup packages only
> ------------------------------------
>
>                 Key: JCRVLT-435
>                 URL: https://issues.apache.org/jira/browse/JCRVLT-435
>             Project: Jackrabbit FileVault
>          Issue Type: Improvement
>    Affects Versions: package-maven-plugin-1.1.2
>            Reporter: Konrad Windszus
>            Assignee: Konrad Windszus
>            Priority: Major
>             Fix For: package-maven-plugin-1.1.4
>
>
> With the current filevault-package-maven-plugin when you generate a package containing only out of cleanup filter rules (and no content) the following ERROR is logged when you try to upload it
> {code}
> [ERROR] Request failed: java.io.IOException: Zip File is not a content package. Missing 'jcr_root'. (500)
> {code}
> Either the Maven plugin should put always put an (empty) {{jcr_root}} folder or the package manager should work with packages not having the {{jcr_root}} folder.
> The responsible code is at https://github.com/apache/jackrabbit-filevault/blob/7c3de7fbd07c10ed6e3bf99413e57ea0cbf9986a/vault-core/src/main/java/org/apache/jackrabbit/vault/packaging/registry/impl/JcrPackageRegistry.java#L458.



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