jackrabbit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tobias Bocanegra (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (JCRVLT-315) Improve error message in case of embedding invalid sub packages
Date Tue, 28 Aug 2018 04:08:00 GMT

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

Tobias Bocanegra updated JCRVLT-315:
------------------------------------
    Resolution: Fixed
        Status: Resolved  (was: Patch Available)

thanks for the PR. applied in r1839398

> 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)

Mime
View raw message