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/08/10 14:37:00 UTC
[jira] [Created] (JCRVLT-315) Improve error message in case of
embedding invalid sub packages
Konrad Windszus created JCRVLT-315:
--------------------------------------
Summary: Improve error message in case of embedding invalid sub packages
Key: JCRVLT-315
URL: https://issues.apache.org/jira/browse/JCRVLT-315
Project: Jackrabbit FileVault
Issue Type: Improvement
Components: package maven plugin
Affects Versions: package-maven-plugin-1.0.1
Reporter: Konrad Windszus
Fix For: package-maven-plugin-1.0.2
Currently the error message being emitted for invalid ZIP files referenced as sub packages is pretty confusing. It is lacking the original ZIP file name.
An example error message looks like this
{code}
[INFO] --- filevault-package-maven-plugin:1.0.2-SNAPSHOT:generate-metadata (default-generate-metadata) @ completepackage ---
[INFO] Embedding --- Sub Packages: groupId=,artifactId=,type=zip,classifier=,filter=true,excludeTransitive=false ---
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 2.061 s
[INFO] Finished at: 2018-08-10T16:35:09+02:00
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.jackrabbit:filevault-package-maven-plugin:1.0.2-SNAPSHOT:generate-metadata (default-generate-metadata) on project completepackage: java.util.zip.ZipException: zip file is empty -> [Help 1]
{code}
It is completely lacking the source file name of the sub package which was supposed to be embedded.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)