You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@felix.apache.org by "Kristian Koehler (JIRA)" <ji...@apache.org> on 2009/03/05 12:57:56 UTC

[jira] Created: (FELIX-974) Possibility to install dependencies to obr repository when installing maven artifact

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


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.


[jira] Updated: (FELIX-974) Possibility to install dependencies to obr repository when installing maven artifact

Posted by "Stuart McCulloch (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/FELIX-974?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Stuart McCulloch updated FELIX-974:
-----------------------------------

    Fix Version/s: maven-bundle-plugin-2.0.1

Tentatively targeting this for maven-bundle-plugin 2.0.1, expected end of April

> 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
>             Fix For: maven-bundle-plugin-2.0.1
>
>         Attachments: patch-with-one-write-operation.txt, patch-with-transitive-deps.txt, 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.


[jira] Updated: (FELIX-974) Possibility to install dependencies to obr repository when installing maven artifact

Posted by "Kristian Koehler (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/FELIX-974?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

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

    Attachment: patch-with-transitive-deps.txt

Ok. Now the patch includes all dependencies the project has, including transitive ones.

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-with-transitive-deps.txt, 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.


[jira] Commented: (FELIX-974) Possibility to install dependencies to obr repository when installing maven artifact

Posted by "Kristian Koehler (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/FELIX-974?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12679195#action_12679195 ] 

Kristian Koehler commented on FELIX-974:
----------------------------------------

you're right, the attached patch doesn't 'require' a change to the bundlerepository, but if the plugin generates filters for external libs which includes filters with the new syntax, the generated file is needless ;-)
the problem described in the other issue only exists with external libs for me. So if you want to use this feature the bundlerepository should work properly, i think.

Hope this explains the point a little bit better. ;-)

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-with-transitive-deps.txt, 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.


[jira] Updated: (FELIX-974) Possibility to install dependencies to obr repository when installing maven artifact

Posted by "Kristian Koehler (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/FELIX-974?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

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

    Attachment: FELIX-974-patch-29_07_2009.txt

Hi

this is a new version of the patch. With this one only dependencies which are not present in the obr file will be installed.

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
>             Fix For: maven-bundle-plugin-2.1.0
>
>         Attachments: FELIX-974-patch-29_07_2009.txt, FELIX-974-patch-30_04_2009.txt, patch-with-one-write-operation.txt, patch-with-transitive-deps.txt, 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.


[jira] Updated: (FELIX-974) Possibility to install dependencies to obr repository when installing maven artifact

Posted by "Kristian Koehler (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/FELIX-974?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

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

    Attachment: patch-with-one-write-operation.txt

Hi

another patch which one parses and writes the obr file once.

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-with-one-write-operation.txt, patch-with-transitive-deps.txt, 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.


[jira] Commented: (FELIX-974) Possibility to install dependencies to obr repository when installing maven artifact

Posted by "Kristian Koehler (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/FELIX-974?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12679186#action_12679186 ] 

Kristian Koehler commented on FELIX-974:
----------------------------------------

Please also see https://issues.apache.org/jira/browse/FELIX-973

> 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-with-transitive-deps.txt, 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.


[jira] Commented: (FELIX-974) Possibility to install dependencies to obr repository when installing maven artifact

Posted by "Kristian Koehler (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/FELIX-974?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12704555#action_12704555 ] 

Kristian Koehler commented on FELIX-974:
----------------------------------------

the file FELIX-974-patch-30_04_2009.txt is additional to the other patches ;-)

> 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
>             Fix For: maven-bundle-plugin-2.0.1
>
>         Attachments: FELIX-974-patch-30_04_2009.txt, patch-with-one-write-operation.txt, patch-with-transitive-deps.txt, 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.


[jira] Updated: (FELIX-974) Possibility to install dependencies to obr repository when installing maven artifact

Posted by "Kristian Koehler (JIRA)" <ji...@apache.org>.
     [ 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.


[jira] Updated: (FELIX-974) Possibility to install dependencies to obr repository when installing maven artifact

Posted by "Kristian Koehler (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/FELIX-974?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

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

    Attachment: FELIX-974-patch-30_04_2009.txt

Hi

with this patch the file install maven plugin also has the option to sepcify 'addDependenciesToRepository'. If the file is read out of the maven repo the dependencies get also installed to the obr file, else a warning is printed.

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
>             Fix For: maven-bundle-plugin-2.0.1
>
>         Attachments: FELIX-974-patch-30_04_2009.txt, patch-with-one-write-operation.txt, patch-with-transitive-deps.txt, 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.


[jira] Updated: (FELIX-974) Possibility to install dependencies to obr repository when installing maven artifact

Posted by "Stuart McCulloch (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/FELIX-974?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Stuart McCulloch updated FELIX-974:
-----------------------------------

    Fix Version/s:     (was: maven-bundle-plugin-2.0.1)
                   maven-bundle-plugin-2.1.0

Rescheduling this new feature to the release after the next maintenance release (2.0.1)

> 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
>             Fix For: maven-bundle-plugin-2.1.0
>
>         Attachments: FELIX-974-patch-30_04_2009.txt, patch-with-one-write-operation.txt, patch-with-transitive-deps.txt, 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.


[jira] Commented: (FELIX-974) Possibility to install dependencies to obr repository when installing maven artifact

Posted by "Stuart McCulloch (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/FELIX-974?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12679188#action_12679188 ] 

Stuart McCulloch commented on FELIX-974:
----------------------------------------

Hi Kristian, how does this relate to FELIX-973? as far as I know that doesn't require any change to the bundleplugin (which is generating valid OBR filters) instead FELIX-973 requires an update to the bundlerepository which is applying the OBR metadata.

> 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-with-transitive-deps.txt, 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.