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 2021/06/22 17:03:00 UTC
[jira] [Updated] (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:all-tabpanel ]
Konrad Windszus updated JCRVLT-537:
-----------------------------------
Reporter: Ruben Reusser (was: Konrad Windszus)
> 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
> 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)