Dukascopy
 
 
Wiki JStore Search Login

Attention! Read the forum rules carefully before posting a topic.

    Try to find an answer in Wiki before asking a question.
    Submit programming questions in this forum only.
    Off topics are strictly forbidden.

Any topics which do not satisfy these rules will be deleted.

Trading system .jar file creating error
 Post subject: Trading system .jar file creating error Post rating: 0   New post Posted: Sun 01 Aug, 2021, 19:10 

User rating: 1
Joined: Mon 27 Feb, 2012, 22:49
Posts: 119
Location: Czech RepublicCzech Republic
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.


 
 Post subject: Re: Trading system .jar file creating error Post rating: 0   New post Posted: Tue 03 Aug, 2021, 17:33 

User rating: 1
Joined: Mon 27 Feb, 2012, 22:49
Posts: 119
Location: Czech RepublicCzech Republic
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


 

Jump to:  

cron
  © 1998-2024 Dukascopy® Bank SA
On-line Currency forex trading with Swiss Forex Broker - ECN Forex Brokerage,
Managed Forex Accounts, introducing forex brokers, Currency Forex Data Feed and News
Currency Forex Trading Platform provided on-line by Dukascopy.com