You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@karaf.apache.org by "Freeman Fang (JIRA)" <ji...@apache.org> on 2015/04/16 11:51:59 UTC

[jira] [Resolved] (KARAF-3634) Wrong system works lifting components (features)

     [ https://issues.apache.org/jira/browse/KARAF-3634?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Freeman Fang resolved KARAF-3634.
---------------------------------
    Resolution: Cannot Reproduce

> Wrong system works lifting components (features)
> ------------------------------------------------
>
>                 Key: KARAF-3634
>                 URL: https://issues.apache.org/jira/browse/KARAF-3634
>             Project: Karaf
>          Issue Type: Bug
>          Components: karaf-feature
>    Affects Versions: 2.4.1
>            Reporter: Aleksey Sushko
>            Assignee: Freeman Fang
>            Priority: Minor
>
> Take for example the file apache-camel-2.15.0-features.xml.
> The file has the following contents:
> {code}
> <feature name='camel-restlet' version='2.15.0' resolver='(obr)' start-level='50'>
>   <feature version='2.15.0'>camel-core</feature>
>   <bundle dependency='true'>mvn:http://maven.restlet.org!org.restlet.osgi/org.restlet/2.2.3</bundle>
>   <bundle dependency='true'>mvn:commons-codec/commons-codec/1.9</bundle>
>   ...
>   <bundle dependency='true'>mvn:http://maven.restlet.org!org.restlet.osgi/org.restlet.ext.httpclient/2.2.3</bundle>
> </feature>
> {code}
> Work maven plugin mvn:org.apache.karaf.tooling/features-maven-plugin/2.4.1
> In the local repository already has all the ingredients. As evidenced by the string "INFO".
> Next comes the call to an external server. Component is not loaded (0 B at 0.0 KB/sec).
> {code}
> [INFO] Copying bundle: org.restlet.osgi:org.restlet:jar:2.2.3
> Downloading: http://maven.restlet.org/org/restlet/osgi/org.restlet/2.2.3/org.restlet-2.2.3.jar
> Downloaded: http://maven.restlet.org/org/restlet/osgi/org.restlet/2.2.3/org.restlet-2.2.3.jar (0 B at 0.0 KB/sec)
> [INFO] Copying bundle: org.restlet.osgi:org.restlet.ext.httpclient:jar:2.2.3
> Downloading: http://maven.restlet.org/org/restlet/osgi/org.restlet.ext.httpclient/2.2.3/org.restlet.ext.httpclient-2.2.3.jar
> Downloaded: http://maven.restlet.org/org/restlet/osgi/org.restlet.ext.httpclient/2.2.3/org.restlet.ext.httpclient-2.2.3.jar (0 B at 0.0 KB/sec)
> {code}
> If it works maven plugin, and then in the karaf have recourse to an external server. But karaf can stand in the DMZ zone and do not have access to the Internet.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)