Hi Robert, Sounds very similar to checking dependencies of OSGi bundles. The feature model analyzers (typically invoked via the slingfeature-maven-plugin) are already extensible and it would make sense to me to add one for content package dependencies...
I would suggest create a JIRA for it :) Best regards, David [1] https://github.com/apache/sling-slingfeature-maven-plugin/blob/master/README.md#analyse-features On Wed, 23 Jan 2019 at 14:40, Robert Munteanu <[email protected]> wrote: > Hi, > > When including content packages in a feature model there are some > depenencies that would be great to check at build time. Both of these > are defined as manifest headers: > > 1. dependencies to other content pacakges - Content-Package- > Dependencies > 2. dependencies to java packages - Import-Package (with the same syntax > as the OSGi bundle Import-Package header ). > > Would these fit into the feature model roadmap? > > Thanks, > > Robert > >
