[ https://issues.apache.org/jira/browse/JCRVLT-262?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16328691#comment-16328691 ]
Konrad Windszus edited comment on JCRVLT-262 at 1/17/18 12:46 PM: ------------------------------------------------------------------ The proposed workaround would place a {{.content.xml}} in a sibling folder to the subpackage's zip named {{<subpackagename.zip.dir>}} having the following content {code} <?xml version="1.0" encoding="UTF-8"?> <!-- necessary due to https://issues.apache.org/jira/browse/JCRVLT-177, otherwise stale filters and dependencies would be considered during installation --> <jcr:root xmlns:jcr="http://www.jcp.org/jcr/1.0" jcr:primaryType="nt:file"> <jcr:content jcr:primaryType="nt:resource"/> </jcr:root> {code} was (Author: kwin): The proposed workaround would place a {{.content.xml}} in a sibling folder to the ZIP named {{<packagename.zip.dir>}} having the following content {code} <?xml version="1.0" encoding="UTF-8"?> <!-- necessary due to https://issues.apache.org/jira/browse/JCRVLT-177, otherwise stale filter and dependencies would be considered --> <jcr:root xmlns:jcr="http://www.jcp.org/jcr/1.0" jcr:primaryType="nt:file"> <jcr:content jcr:primaryType="nt:resource"/> </jcr:root> {code} > Implement workaround for JCRVLT-177 when creating subpackages > ------------------------------------------------------------- > > Key: JCRVLT-262 > URL: https://issues.apache.org/jira/browse/JCRVLT-262 > Project: Jackrabbit FileVault > Issue Type: Bug > Components: package maven plugin > Affects Versions: package-maven-plugin-1.0.1 > Reporter: Konrad Windszus > Priority: Major > > Due to bug JCRVLT-177 all package metadata (like filters or dependencies) of > subpackages are not correctly overwritten (when updating a SNAPSHOT version > package with Jackrabbit Filevault < 3.1.40). > The workaround to create subpackages not only as one Simple File (the .zip) > but also creating an according .content.xml works around this limitation and > leads to correctly updating the meta data. The Maven plugin should allow to > optionally create the .content.xml along with the subpackage automatically. -- This message was sent by Atlassian JIRA (v7.6.3#76005)