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

Kristian Koehler updated FELIX-974:
-----------------------------------

    Attachment: patch.txt

attached a patch for the functionality.

With this patch you can add a special attribute ('addDependenciesToRepository') 
to your pom to trigger the installation of the project dependencies.

--- 8< ---
<plugin>
                                <groupId>org.apache.felix</groupId>
                                <artifactId>maven-bundle-plugin</artifactId>
                                <version>2.1.0-SNAPSHOT</version>
                                <extensions>true</extensions>
                                <configuration>
                                        
<_include>src/main/resources/META-INF/MANIFEST.MF</_include>
                                        
<manifestLocation>META-INF</manifestLocation>
                                        
<addDependenciesToRepository>true</addDependenciesToRepository>
                                        <instructions>
...
                                        </instructions>
                                </configuration>
                        </plugin>
--- 8< ---

This version currently doesn't handle the whole dependency tree...

Kristian

> Possibility to install dependencies to obr repository when installing maven 
> artifact
> ------------------------------------------------------------------------------------
>
>                 Key: FELIX-974
>                 URL: https://issues.apache.org/jira/browse/FELIX-974
>             Project: Felix
>          Issue Type: New Feature
>          Components: Maven Bundle Plugin
>            Reporter: Kristian Koehler
>         Attachments: patch.txt
>
>
> Hi
> currently there is no option to add the project dependencies to the local obr 
> repository file. This prevents me to use the local obr at all because some 
> dependencies are not available via 'obr update'. If the plugin would also add 
> the dependencies to the local obr file I could install my bundles with all 
> dependencies from there.
> Kristian

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to