You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jackrabbit.apache.org by "Ruben Reusser (Jira)" <ji...@apache.org> on 2021/06/24 13:14:00 UTC

[jira] [Commented] (JCRVLT-537) validate-package goal incorrectly assumes that all zip files inside packages are subpackages

    [ https://issues.apache.org/jira/browse/JCRVLT-537?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17368843#comment-17368843 ] 

Ruben Reusser commented on JCRVLT-537:
--------------------------------------

did a quick test - looks like it works now! thank you for the quick turnaround

> validate-package goal incorrectly assumes that all zip files inside packages are subpackages
> --------------------------------------------------------------------------------------------
>
>                 Key: JCRVLT-537
>                 URL: https://issues.apache.org/jira/browse/JCRVLT-537
>             Project: Jackrabbit FileVault
>          Issue Type: Bug
>          Components: package maven plugin
>    Affects Versions: package-maven-plugin-1.1.8
>            Reporter: Ruben Reusser
>            Assignee: Konrad Windszus
>            Priority: Major
>             Fix For: package-maven-plugin-1.1.10
>
>
> In case the ValidationPackageMojo detects an entry in the ZIP file whose name is ending with {{.zip}} it assumes this is a subpackage (https://github.com/apache/jackrabbit-filevault-package-maven-plugin/blob/047c2ee04916f4fb33de1f3ba6e191302e525553/src/main/java/org/apache/jackrabbit/filevault/maven/packaging/ValidatePackageMojo.java#L164) and later on fails with error
> {code}
> Failed to execute goal org.apache.jackrabbit:filevault-package-maven-plugin:1.1.8:validate-package (default-validate-package) on project ...: Execution default-validate-package of goal org.apache.jackrabbit:filevault-package-maven-plugin:1.1.8:validate-package failed: Archive '.../mypackage.zip/jcr_root/content/mysite/test.zip' does not contain a filter.xml.
> {code}



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