I tested it, but the following exception occurred。。。。
in the NETBEAN 8.2 environment.
exception :
Downloaded:
https://repo.maven.apache.org/maven2/com ... 16.0.1.pom (8 KB at 9.4 KB/sec)
Downloading:
https://www.dukascopy.com/client/jforexl ... tadata.xmlDownloading:
https://smartfx.eu/publicrepo/com/dukas ... tadata.xmlDownloading:
https://repo.maven.apache.org/maven2/com ... tadata.xml ʮ�� 26, 2018 7:44:28 ���� org.apache.maven.wagon.providers.http.httpclient.impl.execchain.RetryExec execute
��Ϣ: I/O exception (java.net.SocketException) caught when processing request to {}->https://www.dukascopy.com:80: Connection reset
ʮ�� 26, 2018 7:44:28 ���� org.apache.maven.wagon.providers.http.httpclient.impl.execchain.RetryExec execute
��Ϣ: Retrying request to {}->https://www.dukascopy.com:80
ʮ�� 26, 2018 7:44:28 ���� org.apache.maven.wagon.providers.http.httpclient.impl.execchain.RetryExec execute
��Ϣ: I/O exception (java.net.SocketException) caught when processing request to {}->https://www.dukascopy.com:80: Connection reset
ʮ�� 26, 2018 7:44:28 ���� org.apache.maven.wagon.providers.http.httpclient.impl.execchain.RetryExec execute
��Ϣ: Retrying request to {}->https://www.dukascopy.com:80
ʮ�� 26, 2018 7:44:28 ���� org.apache.maven.wagon.providers.http.httpclient.impl.execchain.RetryExec execute
��Ϣ: I/O exception (java.net.SocketException) caught when processing request to {}->https://www.dukascopy.com:80: Connection reset
ʮ�� 26, 2018 7:44:28 ���� org.apache.maven.wagon.providers.http.httpclient.impl.execchain.RetryExec execute
��Ϣ: Retrying request to {}->https://www.dukascopy.com:80
[WARNING] Could not transfer metadata com.dukascopy.dds2:DDS2-jClient-JForex/maven-metadata.xml from/to dc_public (
https://www.dukascopy.com/client/jforexlib/publicrepo/): Connection reset
Downloading:
https://www.dukascopy.com/client/jforexl ... tadata.xmlDownloading:
https://smartfx.eu/publicrepo/com/dukas ... tadata.xmlDownloading:
https://repo.maven.apache.org/maven2/com ... tadata.xmlʮ�� 26, 2018 7:44:29 ���� org.apache.maven.wagon.providers.http.httpclient.impl.execchain.RetryExec execute
��Ϣ: I/O exception (java.net.SocketException) caught when processing request to {}->https://www.dukascopy.com:80: Connection reset
ʮ�� 26, 2018 7:44:29 ���� org.apache.maven.wagon.providers.http.httpclient.impl.execchain.RetryExec execute
��Ϣ: Retrying request to {}->https://www.dukascopy.com:80
ʮ�� 26, 2018 7:44:29 ���� org.apache.maven.wagon.providers.http.httpclient.impl.execchain.RetryExec execute
��Ϣ: I/O exception (java.net.SocketException) caught when processing request to {}->https://www.dukascopy.com:80: Connection reset
ʮ�� 26, 2018 7:44:29 ���� org.apache.maven.wagon.providers.http.httpclient.impl.execchain.RetryExec execute
��Ϣ: Retrying request to {}->https://www.dukascopy.com:80
ʮ�� 26, 2018 7:44:29 ���� org.apache.maven.wagon.providers.http.httpclient.impl.execchain.RetryExec execute
��Ϣ: I/O exception (java.net.SocketException) caught when processing request to {}->https://www.dukascopy.com:80: Connection reset
ʮ�� 26, 2018 7:44:29 ���� org.apache.maven.wagon.providers.http.httpclient.impl.execchain.RetryExec execute
��Ϣ: Retrying request to {}->https://www.dukascopy.com:80
[WARNING] Could not transfer metadata com.dukascopy.api:JForex-API/maven-metadata.xml from/to dc_public (
https://www.dukascopy.com/client/jforexlib/publicrepo/): Connection reset
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 2:51.604s
[INFO] Finished at: Fri Oct 26 19:44:29 CST 2018
[INFO] Final Memory: 21M/138M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal eu.smartfx:jfxpacker:1.0.0:packToJfx (default) on project sample-project: Execution default of goal eu.smartfx:jfxpacker:1.0.0:packToJfx failed: Plugin eu.smartfx:jfxpacker:1.0.0 or one of its dependencies could not be resolved: Failed to collect dependencies for eu.smartfx:jfxpacker:jar:1.0.0 (): No versions available for com.dukascopy.dds2:DDS2-jClient-JForex:jar:[3.2.24,) within specified range -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
--- pom.xml file :
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="https://maven.apache.org/POM/4.0.0" xmlns:xsi="https://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="https://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>eu.smartfx.sample</groupId>
<artifactId>sample-project</artifactId>
<version>1.0.0</version>
<packaging>jar</packaging>
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<maven.compiler.source>1.8</maven.compiler.source>
<maven.compiler.target>1.8</maven.compiler.target>
</properties>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId>
<version>2.4</version>
<configuration>
<archive>
<manifestEntries>
<pluginMainClass>strategies.sample.EquityTP</pluginMainClass>
</manifestEntries>
</archive>
</configuration>
</plugin>
<plugin>
<groupId>eu.smartfx</groupId>
<artifactId>jfxpacker</artifactId>
<version>1.0.0</version>
<executions>
<execution>
<goals>
<goal>packToJfx</goal>
</goals>
<configuration>
<inputArtifacts>
<artifact>${samle_test}-${1.1}</artifact>
</inputArtifacts>
<!-- optional -->
<copyJfxFileTo>e:/Users/Grzegorz/Documents/JForex/Strategies/</copyJfxFileTo>
<!-- optional -->
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
<repositories>
<repository>
<id>dc_public</id>
<name>Dukascopy public repository</name>
<url>https://www.dukascopy.com/client/jforexlib/publicrepo/</url>
</repository>
</repositories>
<pluginRepositories>
<pluginRepository>
<id>sfx_public</id>
<name>smartFX public repository</name>
<url>https://smartfx.eu/publicrepo/</url>
</pluginRepository>
</pluginRepositories>
<dependencies>
<dependency>
<groupId>com.dukascopy.dds2</groupId>
<artifactId>DDS2-jClient-JForex</artifactId>
<version>3.2.24</version>
</dependency>
<dependency>
<groupId>com.dukascopy.api</groupId>
<artifactId>JForex-API</artifactId>
<version>2.13.47</version>
</dependency>
</dependencies>
</project>