Daniel Haag created KARAF-3172:
----------------------------------
Summary: boot features with mvn: handler can't be resolved when
maven repo is a https url
Key: KARAF-3172
URL: https://issues.apache.org/jira/browse/KARAF-3172
Project: Karaf
Issue Type: Bug
Components: karaf-core
Affects Versions: 2.3.6
Reporter: Daniel Haag
When specifying a https maven repo in the
org.ops4j.pax.url.mvn.repositories
karaf does only query the http maven repos for features on bootup:
org.apache.karaf.features.cfg:featuresBoot
On the Repository Site no https requests are seen and also the debug output of
karaf indicates only requests for the http repos:
{code}
2014-08-20 14:53:43,423 | DEBUG | FelixStartLevel | Connection
| .pax.url.mvn.internal.Connection 260 | 1 - org.ops4j.pax.url.mvn -
1.3.7 | Collecting versions from repository
[file:/home/esb/.m2/repository/,releases=true,snapshots=true]
2014-08-20 14:53:43,423 | DEBUG | FelixStartLevel | Connection
| .pax.url.mvn.internal.Connection 378 | 1 - org.ops4j.pax.url.mvn -
1.3.7 | Resolving exact version
2014-08-20 14:53:43,424 | DEBUG | FelixStartLevel | Connection
| .pax.url.mvn.internal.Connection 260 | 1 - org.ops4j.pax.url.mvn -
1.3.7 | Collecting versions from repository
[https://mvnrepo.uibk.ac.at/artifactory/repo1/,releases=true,snapshots=false]
2014-08-20 14:53:43,424 | DEBUG | FelixStartLevel | Connection
| .pax.url.mvn.internal.Connection 378 | 1 - org.ops4j.pax.url.mvn -
1.3.7 | Resolving exact version
2014-08-20 14:53:43,424 | DEBUG | FelixStartLevel | Connection
| .pax.url.mvn.internal.Connection 260 | 1 - org.ops4j.pax.url.mvn -
1.3.7 | Collecting versions from repository
[https://mvnrepo.uibk.ac.at/artifactory/esb-repos/,releases=true,snapshots=false]
2014-08-20 14:53:43,424 | DEBUG | FelixStartLevel | Connection
| .pax.url.mvn.internal.Connection 378 | 1 - org.ops4j.pax.url.mvn -
1.3.7 | Resolving exact version
2014-08-20 14:53:43,425 | DEBUG | FelixStartLevel | Connection
| .pax.url.mvn.internal.Connection 260 | 1 - org.ops4j.pax.url.mvn -
1.3.7 | Collecting versions from repository
[https://svn.apache.org/repos/asf/servicemix/m2-repo/,releases=true,snapshots=false]
2014-08-20 14:53:43,425 | DEBUG | FelixStartLevel | Connection
| .pax.url.mvn.internal.Connection 378 | 1 - org.ops4j.pax.url.mvn -
1.3.7 | Resolving exact version
2014-08-20 14:53:43,425 | DEBUG | FelixStartLevel | Connection
| .pax.url.mvn.internal.Connection 260 | 1 - org.ops4j.pax.url.mvn -
1.3.7 | Collecting versions from repository
[http://repository.springsource.com/maven/bundles/release/,releases=true,snapshots=false]
2014-08-20 14:53:43,426 | DEBUG | FelixStartLevel | Connection
| .pax.url.mvn.internal.Connection 378 | 1 - org.ops4j.pax.url.mvn -
1.3.7 | Resolving exact version
2014-08-20 14:53:43,426 | DEBUG | FelixStartLevel | Connection
| .pax.url.mvn.internal.Connection 260 | 1 - org.ops4j.pax.url.mvn -
1.3.7 | Collecting versions from repository
[http://repository.springsource.com/maven/bundles/external/,releases=true,snapshots=false]
2014-08-20 14:53:43,426 | DEBUG | FelixStartLevel | Connection
| .pax.url.mvn.internal.Connection 378 | 1 - org.ops4j.pax.url.mvn -
1.3.7 | Resolving exact version
2014-08-20 14:53:43,427 | DEBUG | FelixStartLevel | Connection
| .pax.url.mvn.internal.Connection 260 | 1 - org.ops4j.pax.url.mvn -
1.3.7 | Collecting versions from repository
[https://oss.sonatype.org/content/repositories/releases/,releases=true,snapshots=false]
2014-08-20 14:53:43,427 | DEBUG | FelixStartLevel | Connection
| .pax.url.mvn.internal.Connection 378 | 1 - org.ops4j.pax.url.mvn -
1.3.7 | Resolving exact version
2014-08-20 14:53:43,427 | DEBUG | FelixStartLevel | Connection
| .pax.url.mvn.internal.Connection 190 | 1 - org.ops4j.pax.url.mvn -
1.3.7 | Could not download [Version [2.12.0] from URL
[file:/home/esb/.m2/repository/org/apache/camel/karaf/apache-camel/2.12.0/apache-camel-2.12.0-features.xml]]
2014-08-20 14:53:43,435 | DEBUG | FelixStartLevel | Connection
| .pax.url.mvn.internal.Connection 190 | 1 - org.ops4j.pax.url.mvn -
1.3.7 | Could not download [Version [2.12.0] from URL
[https://mvnrepo.uibk.ac.at/artifactory/repo1/org/apache/camel/karaf/apache-camel/2.12.0/apache-camel-2.12.0-features.xml]]
2014-08-20 14:53:43,444 | DEBUG | FelixStartLevel | Connection
| .pax.url.mvn.internal.Connection 190 | 1 - org.ops4j.pax.url.mvn -
1.3.7 | Could not download [Version [2.12.0] from URL
[https://mvnrepo.uibk.ac.at/artifactory/esb-repos/org/apache/camel/karaf/apache-camel/2.12.0/apache-camel-2.12.0-features.xml]]
2014-08-20 14:53:43,551 | DEBUG | FelixStartLevel | Connection
| .pax.url.mvn.internal.Connection 190 | 1 - org.ops4j.pax.url.mvn -
1.3.7 | Could not download [Version [2.12.0] from URL
[https://svn.apache.org/repos/asf/servicemix/m2-repo/org/apache/camel/karaf/apache-camel/2.12.0/apache-camel-2.12.0-features.xml]]
2014-08-20 14:53:43,670 | DEBUG | FelixStartLevel | HttpURLConnection
| va.util.logging.LoggingProxyImpl 61 | - - |
sun.net.www.MessageHeader@50ba181a7 pairs: {GET
/maven/bundles/release/org/apache/camel/karaf/apache-camel/2.12.0/apache-camel-2.12.0-features.xml
HTTP/1.1: null}{User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64)
AppleWebKit/537.11 (KHTML, like Gecko) Chrome/23.0.1271.95
Safari/537.11}{Cache-Control: no-cache}{Pragma: no-cache}{Host:
repository.springsource.com}{Accept: text/html, image/gif, image/jpeg, *; q=.2,
*/*; q=.2}{Connection: keep-alive}
2014-08-20 14:53:43,790 | DEBUG | FelixStartLevel | HttpURLConnection
| va.util.logging.LoggingProxyImpl 61 | - - |
sun.net.www.MessageHeader@69847c5d7 pairs: {null: HTTP/1.1 404 Not
Found}{x-amz-request-id: 8D8C08BC9EA498D1}{x-amz-id-2:
YnFTsaRr5DW5hWHuAYm3ukPPRPNrlzd+cF/0NVM2J7Fn9Zw7eept1WjfRmjjmOy2}{Content-Type:
application/xml}{Transfer-Encoding: chunked}{Date: Wed, 20 Aug 2014 12:53:43
GMT}{Server: AmazonS3}
2014-08-20 14:53:43,791 | DEBUG | FelixStartLevel | Connection
| .pax.url.mvn.internal.Connection 190 | 1 - org.ops4j.pax.url.mvn -
1.3.7 | Could not download [Version [2.12.0] from URL
[http://repository.springsource.com/maven/bundles/release/org/apache/camel/karaf/apache-camel/2.12.0/apache-camel-2.12.0-features.xml]]
2014-08-20 14:53:43,910 | DEBUG | FelixStartLevel | HttpURLConnection
| va.util.logging.LoggingProxyImpl 61 | - - |
sun.net.www.MessageHeader@2d854f2f7 pairs: {GET
/maven/bundles/external/org/apache/camel/karaf/apache-camel/2.12.0/apache-camel-2.12.0-features.xml
HTTP/1.1: null}{User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64)
AppleWebKit/537.11 (KHTML, like Gecko) Chrome/23.0.1271.95
Safari/537.11}{Cache-Control: no-cache}{Pragma: no-cache}{Host:
repository.springsource.com}{Accept: text/html, image/gif, image/jpeg, *; q=.2,
*/*; q=.2}{Connection: keep-alive}
2014-08-20 14:53:44,032 | DEBUG | FelixStartLevel | HttpURLConnection
| va.util.logging.LoggingProxyImpl 61 | - - |
sun.net.www.MessageHeader@b11ae027 pairs: {null: HTTP/1.1 404 Not
Found}{x-amz-request-id: 57B3F8C3ABFE51C5}{x-amz-id-2:
PnUD+UOhVOOmlqmR9MsYrelB87JHiZVxqtAjOhaFOT4ZFX458pWJt5s1JBmaKtzs}{Content-Type:
application/xml}{Transfer-Encoding: chunked}{Date: Wed, 20 Aug 2014 12:53:42
GMT}{Server: AmazonS3}
2014-08-20 14:53:44,033 | DEBUG | FelixStartLevel | Connection
| .pax.url.mvn.internal.Connection 190 | 1 - org.ops4j.pax.url.mvn -
1.3.7 | Could not download [Version [2.12.0] from URL
[http://repository.springsource.com/maven/bundles/external/org/apache/camel/karaf/apache-camel/2.12.0/apache-camel-2.12.0-features.xml]]
2014-08-20 14:53:44,456 | DEBUG | FelixStartLevel | Connection
| .pax.url.mvn.internal.Connection 190 | 1 - org.ops4j.pax.url.mvn -
1.3.7 | Could not download [Version [2.12.0] from URL
[https://oss.sonatype.org/content/repositories/releases/org/apache/camel/karaf/apache-camel/2.12.0/apache-camel-2.12.0-features.xml]]
2014-08-20 14:53:44,457 | WARN | FelixStartLevel | FeaturesServiceImpl
| res.internal.FeaturesServiceImpl 1133 | 27 -
org.apache.karaf.features.core - 2.3.6 | Unable to add features repository
mvn:org.apache.camel.karaf/apache-camel/2.12.0/xml/features at startup
java.lang.RuntimeException: URL
[mvn:org.apache.camel.karaf/apache-camel/2.12.0/xml/features] could not be
resolved.
{code}
--
This message was sent by Atlassian JIRA
(v6.2#6252)