i've created a new ticket for further discussion about a "sling content package plugin" https://issues.apache.org/jira/browse/SLING-6081
open in this thread is the "receiver part" to deploy content packages on sling instances which is currently not possible without 3rdparty applications. stefan >-----Original Message----- >From: Robert Munteanu [mailto:romb...@apache.org] >Sent: Friday, September 30, 2016 12:19 PM >To: dev@sling.apache.org >Subject: Re: Resource packaging/content packaging in Sling > >On Fri, 2016-09-30 at 10:16 +0200, Carsten Ziegeler wrote: >> Robert Munteanu wrote >> > On Wed, 2016-09-28 at 21:49 +0000, Stefan Seifert wrote: >> > > wcm.io also has a content package plugin [4] which already >> > > replaces >> > > parts oft he adobe content package maven plugin (upload/download >> > > package part), but not yet the part building the ZIP package from >> > > the >> > > VLT file layout. it could be contributed to sling easily. >> > >> > >> > As a side note, I found that the way the Adobe content-package- >> > maven- >> > plugin configures resources to be included in content package is >> > quite >> > cumbersome: >> > >> > - overriding resource directories >> > - manually exclude .vlt files >> > - requires maven-resources-plugin extra execution to copy META- >> > INF/vault >> > >> > We should provide a much simpler out-of-the box experience. >> > >> >> Big +1, I was actually going to suggest the same >> I think there shouldn't be any need for fiddling with filter >> definitions >> and all this stuff, the tooling can take care of it. So the source >> project should not contain any of the special files under META-INF >> vault. They can all be generated. > >Agreed, we can generate them for the '95%' case. > >There will always be special cases, and to encourage wider adoption we >could also support 'manual' definition, failing if we have both a pom >configuration and a filter.xml file. > > >Robert