You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@karaf.apache.org by "Sergey (JIRA)" <ji...@apache.org> on 2014/10/31 13:52:33 UTC
[jira] [Commented] (KARAF-3342) Version 3.0.2 ignores maven
settings, proxy and mirrors in particular
[ https://issues.apache.org/jira/browse/KARAF-3342?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14191761#comment-14191761 ]
Sergey commented on KARAF-3342:
--------------------------------
Mirrors section from settings.xml:
{code}
<mirrors>
<mirror>
<id>public-snapshots</id>
<mirrorOf>public-snapshots</mirrorOf>
<url>http://maven.troika.ru/content/groups/public-snapshots</url>
</mirror>
<mirror>
<id>nexus</id>
<name>Troika maven repo</name>
<mirrorOf>*</mirrorOf>
<url>http://maven.troika.ru/content/groups/public</url>
</mirror>
</mirrors>
{code}
I'm expecting that second mirror will be used for all artifacts.
> Version 3.0.2 ignores maven settings, proxy and mirrors in particular
> ---------------------------------------------------------------------
>
> Key: KARAF-3342
> URL: https://issues.apache.org/jira/browse/KARAF-3342
> Project: Karaf
> Issue Type: Bug
> Reporter: Sergey
>
> When trying to install almost any feature I'm getting an error:
> Error executing command: Error resolving artifact org.apache.karaf.http:org.apache.karaf.http.core:jar:3.0.2: Could not transfer artifact org.apache.karaf.http:org.apache.karaf.http.core:jar:3.0.2 from/to central (http://repo1.maven.org/maven2/): Error transferring file: Server returned HTTP response code: 407 for URL: http://repo1.maven.org/maven2/org/apache/karaf/http/org.apache.karaf.http.core/3.0.2/org.apache.karaf.http.core-3.0.2.jar from http://repo1.maven.org/maven2/org/apache/karaf/http/org.apache.karaf.http.core/3.0.2/org.apache.karaf.http.core-3.0.2.jar with proxyInfo ProxyInfo{host='10.10.100.248', userName='null', port=8080, type='http', nonProxyHosts='null'}
> Where is maven mirror (Nexus server) for * or repositories, and also proxy settings in .m2/settings.xml, looks like both are also ignored partially (no proxy username and no nonProxyHosts in this message).
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)