lburgazzoli / gradle-karaf-plugin

Apache License 2.0
21 stars 13 forks source link

Adding Repositories to Features #41

Closed cetra3 closed 7 years ago

cetra3 commented 7 years ago

You should be able to add repositories to the features file:

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<features xmlns="http://karaf.apache.org/xmlns/features/v1.3.0" name="example" >

    <repository>mvn:org.apache.camel.karaf/apache-camel/2.17.0/xml/features</repository>
    <feature name="project" >
     ......
    </feature>
</features>
lburgazzoli commented 7 years ago

You should be able to add repositories like:

features {
    repository "mvn:org.apache.karaf.cellar/apache-karaf-cellar/4.0.0/xml/features"
    repository "mvn:org.apache.karaf.features/standard/4.0.0/xml/features"
}

Let me know if it does not work

cetra3 commented 7 years ago

Appears to be working. Maybe it should be added to the examples. Do you want a PR?

lburgazzoli commented 7 years ago

yes please

lburgazzoli commented 7 years ago

@cetra3 have you had any time to send a pr ?

cetra3 commented 7 years ago

@lburgazzoli my apologies. I will send one today