How to configure proxy to download DSL Dependencies

Hi

I'm trying to start using dependencies in dsl. It is more or less clear, except how to configure mvn setting for this. it turns out that system settings are ignored - because (a) build works if i invoke it directly (b) i can see that settings.xml is not applied (c) local m2 repo has cached artifacts

Example: import or build fail because of missed connectivity (unexpected) despite of the settings.xml (!both system and project level) define correct proxy:

[17:27:21][Retrieve settings, revision: d0b3808a53eb0e1608e52ac10b57e41fb94bec2f] Settings VCS root details
[17:27:21][Retrieve settings, revision: d0b3808a53eb0e1608e52ac10b57e41fb94bec2f] Load settings from VCS
[17:27:22][Retrieve settings, revision: d0b3808a53eb0e1608e52ac10b57e41fb94bec2f] Generate settings, format: kotlin
[17:28:03][Retrieve settings, revision: d0b3808a53eb0e1608e52ac10b57e41fb94bec2f] Failed to get DSL dependencies: Could not transfer artifact khttp:khttp:pom:0.1.0 from/to jetbrains-all (http://download.jetbrains.com/teamcity-repository): Network is unreachable (connect failed)
[17:28:03]The build is removed from the queue to be prepared for the start

Please advise short term workaround as well. Even uploading to local file system would work.

 

please advise

Thanks in advance

0

Please sign in to leave a comment.