[ 
https://issues.apache.org/activemq/browse/SMX4KNL-70?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=45473#action_45473
 ] 

Guillaume Nodet commented on SMX4KNL-70:
----------------------------------------

I don't think we can easily change the order of the local repository.
However, we can do the following:

{code}
org.ops4j.pax.url.mvn.localRepository=file:${servicemix.home}/[EMAIL PROTECTED]
org.ops4j.pax.url.mvn.repositories=file:${user.home}/.m2/[EMAIL 
PROTECTED],http://repo1.maven.org/maven2
{code}

This means that the system folder would be used as the local repository, then 
the ~/.m2/repository is checked, last the central repo.
I think we would achieve the desired effect which is to look into the system 
folder first.

> Bundles in /system folder should take precendence over local Maven repository
> -----------------------------------------------------------------------------
>
>                 Key: SMX4KNL-70
>                 URL: https://issues.apache.org/activemq/browse/SMX4KNL-70
>             Project: ServiceMix Kernel
>          Issue Type: Bug
>    Affects Versions: 1.0.0-rc2
>            Reporter: Gert Vanthienen
>             Fix For: 1.0.0
>
>
> When a bundle is available in the /system folder and in the local Maven repo, 
> the kernel takes the one from the local Maven repository.  While very 
> convenient for development purposes, this is a problem for a user who can now 
> unknowingly change the bundles used by ServiceMix.

-- 
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