I tested it, but the following exception occurred。。。。
in the NETBEAN 8.2 environment.
exception :
--- maven-jar-plugin:2.4:jar (default-jar) @ sample-project ---
Building jar: D:\sample\target\sample-project-1.0.0.jar
--- jfxpacker:1.0.0:packToJfx (default) @ sample-project ---
Downloading:
https://www.dukascopy.com/client/jforexl ... tadata.xml 26, 2018 2:29:43 ���� 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 2:29:43 ���� org.apache.maven.wagon.providers.http.httpclient.impl.execchain.RetryExec execute
: Retrying request to {}->https://www.dukascopy.com:80
26, 2018 2:29:43 ���� 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 2:29:43 ���� org.apache.maven.wagon.providers.http.httpclient.impl.execchain.RetryExec execute
: Retrying request to {}->https://www.dukascopy.com:80
ʮ�� 26, 2018 2:29:43 ���� 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 2:29:43 ���� org.apache.maven.wagon.providers.http.httpclient.impl.execchain.RetryExec execute
��Ϣ: Retrying request to {}->https://www.dukascopy.com:80
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.xmlʮ�� 26, 2018 2:29:44 ���� 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 2:29:44 ���� org.apache.maven.wagon.providers.http.httpclient.impl.execchain.RetryExec execute
��Ϣ: Retrying request to {}->https://www.dukascopy.com:80
ʮ�� 26, 2018 2:29:44 ���� 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 2:29:44 ���� org.apache.maven.wagon.providers.http.httpclient.impl.execchain.RetryExec execute
��Ϣ: Retrying request to {}->https://www.dukascopy.com:80
ʮ�� 26, 2018 2:29:44 ���� 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 2:29:44 org.apache.maven.wagon.providers.http.httpclient.impl.execchain.RetryExec execute
��Ϣ: Retrying request to {}->https://www.dukascopy.com:80
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
------------------------------------------------------------------------
BUILD FAILURE
------------------------------------------------------------------------
Total time: 5.954s
Finished at: Fri Oct 26 14:29:44 CST 2018
Final Memory: 15M/220M
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>
<repositories>
<repository>
<id>dc_public</id>
<name>Dukascopy public repository</name>
<url>https://www.dukascopy.com/client/jforexlib/publicrepo/</url>
</repository>
</repositories>
<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>${my_strategy}-${1.1}</artifact>
</inputArtifacts>
<!-- optional -->
<copyJfxFileTo>d:/Users/Grzegorz/Documents/JForex/Strategies/</copyJfxFileTo>
<!-- optional -->
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
<dependencies>
<dependency>
<groupId>com.dukascopy.dds2</groupId>
<artifactId>DDS2-jClient-JForex</artifactId>
<!-- find the latest available version here:
https://www.dukascopy.com/client/jforexlib/publicrepo/com/dukascopy/dds2/DDS2-jClient-JForex/
-->
<version>3.2.19</version>
<exclusions>
<exclusion>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-jdk14</artifactId>
</exclusion>
</exclusions>
</dependency>
<!-- find the latest available version here:
https://www.dukascopy.com/client/jforexlib/publicrepo/com/dukascopy/api/JForex-API/
-->
<dependency>
<groupId>com.dukascopy.api</groupId>
<artifactId>JForex-API</artifactId>
<version>2.13.43</version>
<classifier>sources</classifier>
</dependency>
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-log4j12</artifactId>
<version>1.7.5</version>
<optional>true</optional>
</dependency>
<dependency>
<!-- jsoup HTML parser library @ https://jsoup.org/ -->
<groupId>org.jsoup</groupId>
<artifactId>jsoup</artifactId>
<version>1.11.3</version>
</dependency>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>4.11</version>
<type>jar</type>
</dependency>
</dependencies>
<pluginRepositories>
<pluginRepository>
<id>sfx_public</id>
<name>smartFX public repository</name>
<url>https://smartfx.eu/publicrepo/</url>
</pluginRepository>
</pluginRepositories>
</project>