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

Konrad Windszus commented on JCRVLT-315:
----------------------------------------

PR: https://github.com/apache/jackrabbit-filevault-package-maven-plugin/pull/16

> 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
>            Priority: Major
>             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)

Reply via email to