Dukascopy Support Board
http://www.dukascopy.com/swiss/english/forex/jforex/forum/

Trading system .jar file creating error
http://www.dukascopy.com/swiss/english/forex/jforex/forum/viewtopic.php?f=65&t=57699
Page 1 of 1

Author:  lifon [ Sun 01 Aug, 2021, 19:10 ]
Post subject:  Trading system .jar file creating error

Hello,

I tried to create .jar file for my standalone trading system but Maven install got this error:

[ERROR] Failed to execute goal on project market: Could not resolve dependencies for project cz.vhr:market:jar:1.0.0086: Failed to collect dependencies at com.dukascopy.dds2:DDS2-jClient-JForex:jar:3.6.34: Failed to read artifact descriptor for com.dukascopy.dds2:DDS2-jClient-JForex:jar:3.6.34: Could not transfer artifact com.dukascopy.dds2:DDS2-jClient-JForex:pom:3.6.34 from/to maven-default-http-blocker (https://0.0.0.0/): Blocked mirror for repositories: [dc_public (https://www.dukascopy.com/client/jforexlib/publicrepo/, default, releases+snapshots)] -> [Help 1]

in file DDS2-jClient-JForex-3.6.34.pom.lastUpdated is this error:
http\://0.0.0.0/.error=Could not transfer artifact com.dukascopy.dds2\:DDS2-jClient-JForex\:pom\:3.6.34 from/to maven-default-http-blocker (http\://0.0.0.0/)\: Blocked mirror for repositories\: [dc_public (http\://www.dukascopy.com/client/jforexlib/publicrepo/, default, releases+snapshots)]

In file JForex-API-2.13.98.pom.lastUpdated is this error:
http\://0.0.0.0/.error=Could not transfer artifact com.dukascopy.api\:JForex-API\:pom\:2.13.98 from/to maven-default-http-blocker (http\://0.0.0.0/)\: Blocked mirror for repositories\: [dc_public (http\://www.dukascopy.com/client/jforexlib/publicrepo/, default, releases+snapshots)]

I tried older versions of Dukascopy jars (now existing in Dukascopy repositorx) but the same result.

Is here anybody who can help me?

Thank you beforehand.

Author:  lifon [ Tue 03 Aug, 2021, 17:33 ]
Post subject:  Re: Trading system .jar file creating error

Solution from Dukascopy support (it works):

Maven blocks external HTTP repositories by default since version 3.8.1
In the Maven settings (located in ${maven.home}/conf/settings.xml or ${user.home}/.m2/settings.xml), the following entry must be removed:
<mirror>
<id>maven-default-http-blocker</id>
<mirrorOf>external:http:*</mirrorOf>
<name>Pseudo repository to mirror external repositories initially using HTTP.</name>
<url>https://0.0.0.0/</url>
<blocked>true</blocked>
</mirror>

https://stackoverflow.com/questions/670 ... epositores

  Page 1 of 1