[
https://issues.apache.org/jira/browse/SLING-2722?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13576458#comment-13576458
]
Rupert Westenthaler commented on SLING-2722:
--------------------------------------------
The problem with including "base" dependencies in the "components" bundlelist
is that you duplicate a lot of information (such as dependencies of "base"
components and most important version numbers). This duplications do make it
very hard to keep bundlelists consistent. Especially if you have a lot of them.
Assuming that you have several components depending on the same "base"
dependency (such as an JSON paraser) than you will need to modify several
components bundle lists to accomplish that while with transitive dependencies
you could still accomplish such a change with a change in a single list.
In the meantime I committed a first version of Apache Stanbol bundlelists and
launchers build on top of transitive dependencies. So if you want to have a
look of the intended usage of this feature you can have a look at
https://svn.apache.org/repos/asf/stanbol/branches/new_bundlelists/
and at this mail [1] on the Stanbol Dev mailing list
[1] http://markmail.org/message/aeewj6mgrtmd7kwh
> Add support for transitive partialbundlelist dependencies with the
> maven-launchpad-plugin
> -----------------------------------------------------------------------------------------
>
> Key: SLING-2722
> URL: https://issues.apache.org/jira/browse/SLING-2722
> Project: Sling
> Issue Type: Improvement
> Components: Maven Plugins and Archetypes
> Reporter: Rupert Westenthaler
> Attachments:
> SLING-2722_maven-launchpad-plugin_transitive_partialbundlelist_dependencies.patch
>
>
> While the "maven-launchpad-plugin" does support the inclusion of
> "partialbundlelist" by adding dependencies with the
> <type>partialbundlelist</type> to the pom.xml file. It does only consider
> direct dependencies and not transitive one.
> Transitive dependencies would allow to create partial bundle list that add to
> (depend on) others. This allows to make bundle lists self consistent without
> repeating bundles (e.g. common libraries) over and over again.
> It would also allow to define bundle lists for different 'levels': low level
> lists for managing modules requires by services that are than merged to an
> higher level bundle list that covers a user level feature.
> To give a simplified Example: In Apache Stanbol I would like to use this
> feature to create bundlelists like
> * Apache OpenNLP
> * Stanbol Enhancer component
> * OpenNLP based NLP processing Enhancement Engines
> * depends on OpenNLP
> * depends on Stanbol Enahncer
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira