Github user m4rkmckenna commented on a diff in the pull request:
https://github.com/apache/brooklyn-server/pull/93#discussion_r57946766
--- Diff: karaf/features/src/main/feature/feature.xml ---
@@ -27,6 +27,12 @@
<!-- TODO how to add central.maven.org repo? -->
<repository>http://central.maven.org/maven2/org/apache/jclouds/karaf/jclouds-karaf/1.9.2/jclouds-karaf-1.9.2-features.xml</repository>
+<!--
+TODO the above link works for loading it, at compile time, as in the file
below is then installed into target/assembly/system/
+BUT the assembly's variant of *this* feature file keeps the link above
which FAILS if the server is not online.
+it should contain the entry below *instead of* the entry above:
+
<repository>mvn:org.apache.jclouds.karaf/jclouds-karaf/1.9.2/xml/features</repository>
--- End diff --
The repository tag needs to contain a mvn URL (GAV format)
Few options
1. Add maven central to `org.ops4j.pax.url.mvn.repositories.cfg` **NOTE**
This will require internet access @ runtime so karaf can resolve it
2. Ensure that all jclouds dependencies are packaged in the karaf system
directory @ compile (so internet access is not required)
I can't verify the above at the minute as my workspace is in a mess :smile:
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---