Use SBT TOOL
https://www.scala-sbt.org/ with following
build.sbtname := "dukascopy repo test"
scalaVersion := "2.11.8"
resolvers += "DC Public" at "https://www.dukascopy.com/client/jforexlib/publicrepo/"
libraryDependencies ++= Seq(
"com.dukascopy.dds2" % "DDS2-jClient-JForex" % "2.45.46",
"com.dukascopy.api" % "JForex-API" % "2.12.40"
)
then type for example
sbt package to force fetching jars ends with error
Quote:
[info] Resolving com.dukascopy.api#JForex-API;2.12.40 ...
[warn] module not found: com.dukascopy.api#JForex-API;2.12.40
[warn] ==== public: tried
[warn] https://repo1.maven.org/maven2/com/dukascopy/api/JForex-API/2.12.40/JFo
rex-API-2.12.40.pom
[warn] ==== DC Public: tried
[warn] https://www.dukascopy.com/client/jforexlib/publicrepo/com/dukascopy/api/
JForex-API/2.12.40/JForex-API-2.12.40.pom
[info] Resolving jline#jline;2.12.1 ...
[warn] ::::::::::::::::::::::::::::::::::::::::::::::
[warn] :: UNRESOLVED DEPENDENCIES ::
[warn] ::::::::::::::::::::::::::::::::::::::::::::::
[warn] :: com.dukascopy.dds2#DDS2-jClient-JForex;2.45.46: not found
[warn] :: com.dukascopy.api#JForex-API;2.12.40: not found
[warn] ::::::::::::::::::::::::::::::::::::::::::::::
Problem is with your HTTP server sending redirect loops:
Quote:
HEAD /client/jforexlib/publicrepo/com/dukascopy/dds2/DDS2-jClient-JForex/2.45.46/DDS2-jClient-JForex-2.45.46.pom HTTP/1.1
User-Agent: Apache Ivy/2.3.0-sbt-2cc8d2761242b072cedb0a04cb39435c4fa24f9a
Host: www.dukascopy.com
Accept: text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2
Connection: keep-alive
HTTP/1.1 301 Redirect
Date: Sun, 10 Jul 2016 08:57:37 GMT
Content-Type: text/html
Connection: keep-alive
Set-Cookie: __cfduid=d90c8427d34b0cbf0648d3e54f5db76f31468141056; expires=Mon, 10-Jul-17 08:57:36 GMT; path=/; domain=.dukascopy.com; HttpOnly
Cache-Control: no-store
Location: https://www.dukascopy.com/client/jforexlib/publicrepo/com/dukascopy/dds2/DDS2-jClient-JForex/2.45.46/DDS2-jClient-JForex-2.45.46.pom
Content-Language: en
Server: cloudflare-nginx
CF-RAY: 2c02cf25f61f0a96-PRG
HEAD /client/jforexlib/publicrepo/com/dukascopy/api/JForex-API/2.12.40/JForex-API-2.12.40.pom HTTP/1.1
User-Agent: Apache Ivy/2.3.0-sbt-2cc8d2761242b072cedb0a04cb39435c4fa24f9a
Host: www.dukascopy.com
Accept: text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2
Connection: keep-alive
HTTP/1.1 301 Redirect
Date: Sun, 10 Jul 2016 08:57:37 GMT
Content-Type: text/html
Connection: keep-alive
Set-Cookie: __cfduid=d38747cb3891ff679a789f1f4bbbe8e691468141057; expires=Mon, 10-Jul-17 08:57:37 GMT; path=/; domain=.dukascopy.com; HttpOnly
Cache-Control: no-store
Location: https://www.dukascopy.com/client/jforexlib/publicrepo/com/dukascopy/api/JForex-API/2.12.40/JForex-API-2.12.40.pom
Content-Language: en
Server: cloudflare-nginx
CF-RAY: 2c02cf26d6280a96-PRG
Fix your http server