You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@geronimo.apache.org by "Ivan (JIRA)" <ji...@apache.org> on 2010/01/25 06:32:35 UTC

[jira] Commented: (GERONIMO-5046) Remove need for system property true to get car-maven-plugin to work

    [ https://issues.apache.org/jira/browse/GERONIMO-5046?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12804385#action_12804385 ] 

Ivan commented on GERONIMO-5046:
--------------------------------

This JIRA might be considered together with GERONIMO-4921.
Currently, this flag is used to indicate which protoal is used for bundle installation. In car-maven-plugin, reference:file is used, while in the server run time, mvn url is used. 
Adding the mvn url handler bundle should solve the problem, but I guess that what we need are :
a. Use mvn url to indicate the bundle, as it is following our currently repository management way.
b. Avoid file copying if it is in the local file disk.
But so far, I did not see a good way to solve it except for hacking felix. The related codes are in :
https://svn.apache.org/repos/asf/felix/trunk/framework/src/main/java/org/apache/felix/framework/cache/BundleArchive.java






> Remove need for system property <geronimo.build.car>true</geronimo.build.car> to get car-maven-plugin to work
> -------------------------------------------------------------------------------------------------------------
>
>                 Key: GERONIMO-5046
>                 URL: https://issues.apache.org/jira/browse/GERONIMO-5046
>             Project: Geronimo
>          Issue Type: Bug
>      Security Level: public(Regular issues) 
>          Components: buildsystem, osgi
>    Affects Versions: 3.0
>            Reporter: David Jencks
>             Fix For: 3.0
>
>
> Right now you need <geronimo.build.car>true</geronimo.build.car> configured as a system property in car-maven-plugin configuration to get packaging to work.  we should figure out how to use mvn urls everywhere or otherwise eliminate this property.  
> Using mvn urls would probably just mean installing the pax mvn url bundle in the framework as soon as we start it.  
> -or-
> Probably the car-maven-plugin can just set the system property directly.
> if the property's missing, the build fails complaining it can't understand mvn urls.

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