-
Bug
-
Resolution: Duplicate
-
Critical
-
jboss-fuse-6.2.1, jboss-fuse-6.3
-
None
-
%
-
Usage of Fabric agent maven configuration specified in settings.xml file with HTTP proxy alongside with fabric agent PID
io.fabric8.agent/org.ops4j.pax.url.mvn.repositories = +http://fusewin.tpb.lab.eng.brq.redhat.com:8081/nexus/content/repositories/fuse-qe-snapshots@snapshots
and fabric maven proxy default PID configuration
io.fabric8.maven/io.fabric8.maven.repositories = ${profile:io.fabric8.agent/org.ops4j.pax.url.mvn.repositories}
causes long artifact resolution delays.
To hit the issue you need to set 4 settings:
1. agent custom settings.xml file
2. HTTP proxy set in settings.xml
3. repository with + symbol in agents PID io.fabric8.agent/org.ops4j.pax.url.mvn.repositories
4. Fabric maven proxy should have specified same repository as in 3. (by default there is substitution by variable from agent pid)
Behaviour is same for snapshots or releases. Or you can edit one profile and adding or removing bundles with different versions.
Removing HTTP proxy config from settings.xml or setting io.fabric8.maven/io.fabric8.maven.repositories to
${profile:io.fabric8.agent/org.ops4j.pax.url.mvn.defaultRepositories}
(agent and proxy does not share same repository) will fix the problem.
- is related to
-
ENTESB-5500 Broken artifact resolution while using HTTP proxy and remote repository defined in settings.xml
- Closed