[ 
https://issues.apache.org/jira/browse/CAMEL-4459?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13107015#comment-13107015
 ] 

Freeman Fang commented on CAMEL-4459:
-------------------------------------

Hi Dan,

I think camel-script feature by default should contain those scriptengines 
which make this feature working out of the box.
How about we address it using the way like
<bundle>mvn:http://scriptengines.googlecode.com/svn/m2-repo/!com.google.code.scriptengines/scriptengines-groovy/${scriptengines.version}</bundle>
<bundle>mvn:http://scriptengines.googlecode.com/svn/m2-repo/!com.google.code.scriptengines/scriptengines-javascript/${scriptengines.version}</bundle>
<bundle>mvn:http://scriptengines.googlecode.com/svn/m2-repo/!com.google.code.scriptengines/scriptengines-jruby/${scriptengines.version}</bundle>

in the feature descriptor we can indicate mvn repo url which isn't the Central 
one, and by this way we needn't configure karaf org.ops4j.pax.url.mvn.cfg. 
camel-restlet feature already use this way so I think camel-script can do it as 
well.

Freeman

> CAMEL-4407 has caused a regression in the features.xml
> ------------------------------------------------------
>
>                 Key: CAMEL-4459
>                 URL: https://issues.apache.org/jira/browse/CAMEL-4459
>             Project: Camel
>          Issue Type: Bug
>          Components: osgi
>    Affects Versions: 2.8.1
>            Reporter: Daniel Kulp
>            Assignee: Daniel Kulp
>             Fix For: 2.8.2, 2.9.0
>
>
> The scriptengine things that were added as part of CAMEL-4407 have made doing 
> a features:install camel-script in a "plain" Karaf instance not work as those 
> dependencies are not available in Central.   Thus, setups that worked in the 
> past that did not need those no longer work.
> Propose moving those three deps to a "camel-script-optional" feature that 
> would not be pulled in by default.   If a user needs them, they would need to 
> configure Karaf to pull from another repo.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to