You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Rupert Westenthaler (JIRA)" <ji...@apache.org> on 2013/02/01 14:34:23 UTC

[jira] [Updated] (SLING-2722) Add support for transitive partialbundlelist dependencies with the maven-launchpad-plugin

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

Rupert Westenthaler updated SLING-2722:
---------------------------------------

    Attachment: SLING-2722_maven-launchpad-plugin_transitive_partialbundlelist_dependencies.patch

Attached a patch that changes the AbstractUsingBundleListMojo to use the "MavenProject#getArtifacts()" instead of "MavenProject#project.getDependencyArtifacts" to search for dependencies with the type "partialbundlelist".

This had the desired effect for me, but I am not sure if this might introduce undesired side effects
                
> 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