mirror of
https://github.com/gosticks/iota.lib.java.git
synced 2025-10-16 11:45:37 +00:00
Updated pom.xml to buld fat jar
This commit is contained in:
parent
28b8a4dbb5
commit
33daac32ef
@ -1,5 +1,5 @@
|
||||
iota.node.protocol=http
|
||||
#iota.node.host=138.68.126.141
|
||||
iota.node.host=127.0.0.1
|
||||
iota.node.host=node.iotawallet.info
|
||||
iota.node.port=14265
|
||||
|
||||
|
||||
43
pom.xml
43
pom.xml
@ -66,21 +66,32 @@
|
||||
</dependencies>
|
||||
|
||||
<build>
|
||||
<pluginManagement>
|
||||
<plugins>
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-compiler-plugin</artifactId>
|
||||
<version>3.3</version>
|
||||
<configuration>
|
||||
<source>${java-version}</source>
|
||||
<target>${java-version}</target>
|
||||
<testSource>${java-version}</testSource>
|
||||
<testTarget>${java-version}</testTarget>
|
||||
</configuration>
|
||||
</plugin>
|
||||
</plugins>
|
||||
</pluginManagement>
|
||||
</build>
|
||||
<plugins>
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-compiler-plugin</artifactId>
|
||||
<version>3.3</version>
|
||||
<configuration>
|
||||
<source>${java-version}</source>
|
||||
<target>${java-version}</target>
|
||||
<testSource>${java-version}</testSource>
|
||||
<testTarget>${java-version}</testTarget>
|
||||
</configuration>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-shade-plugin</artifactId>
|
||||
<version>2.4.3</version>
|
||||
<executions>
|
||||
<execution>
|
||||
<phase>package</phase>
|
||||
<goals>
|
||||
<goal>shade</goal>
|
||||
</goals>
|
||||
</execution>
|
||||
</executions>
|
||||
</plugin>
|
||||
</plugins>
|
||||
|
||||
</build>
|
||||
</project>
|
||||
|
||||
@ -5,7 +5,7 @@ import org.apache.commons.lang3.builder.ToStringStyle;
|
||||
|
||||
public class GetBundleResponse extends AbstractResponse {
|
||||
|
||||
private Transactions[] transactions;
|
||||
public Transactions[] transactions;
|
||||
|
||||
private String warning;
|
||||
|
||||
@ -17,7 +17,7 @@ public class GetBundleResponse extends AbstractResponse {
|
||||
return transactions;
|
||||
}
|
||||
|
||||
static class Transactions {
|
||||
public static class Transactions {
|
||||
private String signatureMessageChunk;
|
||||
private String index;
|
||||
private String approvalNonce;
|
||||
|
||||
@ -2,32 +2,32 @@ package jota.dto.response;
|
||||
|
||||
public class GetNeighborsResponse extends AbstractResponse {
|
||||
|
||||
private Neighbors[] neighbors;
|
||||
public Neighbors[] neighbors;
|
||||
|
||||
public Neighbors[] getNeighbors() {
|
||||
return neighbors;
|
||||
}
|
||||
|
||||
static class Neighbors {
|
||||
public static class Neighbors {
|
||||
|
||||
private String address;
|
||||
private String numberOfAllTransactions;
|
||||
private String numberOfInvalidTransactions;
|
||||
private String numberOfNewTransactions;
|
||||
private Integer numberOfAllTransactions;
|
||||
private Integer numberOfInvalidTransactions;
|
||||
private Integer numberOfNewTransactions;
|
||||
|
||||
public String getAddress() {
|
||||
return address;
|
||||
}
|
||||
|
||||
public String getNumberOfAllTransactions() {
|
||||
public Integer getNumberOfAllTransactions() {
|
||||
return numberOfAllTransactions;
|
||||
}
|
||||
|
||||
public String getNumberOfInvalidTransactions() {
|
||||
public Integer getNumberOfInvalidTransactions() {
|
||||
return numberOfInvalidTransactions;
|
||||
}
|
||||
|
||||
public String getNumberOfNewTransactions() {
|
||||
public Integer getNumberOfNewTransactions() {
|
||||
return numberOfNewTransactions;
|
||||
}
|
||||
}
|
||||
|
||||
@ -6,17 +6,17 @@ public class GetNodeInfoResponse extends AbstractResponse {
|
||||
private String appVersion;
|
||||
private Integer jreAvailableProcessors;
|
||||
private Integer jreFreeMemory;
|
||||
private float jreMaxMemory;
|
||||
private float jreTotalMemory;
|
||||
private Integer jreMaxMemory;
|
||||
private Integer jreTotalMemory;
|
||||
private String latestMilestone;
|
||||
private Integer latestMilestoneIndex;
|
||||
private Long latestMilestoneIndex;
|
||||
private String latestSolidSubtangleMilestone;
|
||||
private Integer latestSolidSubtangleMilestoneIndex;
|
||||
private Integer neighbors;
|
||||
private Integer packetsQueueSize;
|
||||
private long time;
|
||||
private Integer tips;
|
||||
private Integer transactionsToRequest;
|
||||
private Long latestSolidSubtangleMilestoneIndex;
|
||||
private Long neighbors;
|
||||
private Long packetsQueueSize;
|
||||
private Long time;
|
||||
private Long tips;
|
||||
private Long transactionsToRequest;
|
||||
|
||||
public String getAppName() {
|
||||
return appName;
|
||||
@ -34,11 +34,11 @@ public class GetNodeInfoResponse extends AbstractResponse {
|
||||
return jreFreeMemory;
|
||||
}
|
||||
|
||||
public float getJreMaxMemory() {
|
||||
public Integer getJreMaxMemory() {
|
||||
return jreMaxMemory;
|
||||
}
|
||||
|
||||
public float getJreTotalMemory() {
|
||||
public Integer getJreTotalMemory() {
|
||||
return jreTotalMemory;
|
||||
}
|
||||
|
||||
@ -46,7 +46,7 @@ public class GetNodeInfoResponse extends AbstractResponse {
|
||||
return latestMilestone;
|
||||
}
|
||||
|
||||
public Integer getLatestMilestoneIndex() {
|
||||
public Long getLatestMilestoneIndex() {
|
||||
return latestMilestoneIndex;
|
||||
}
|
||||
|
||||
@ -54,27 +54,27 @@ public class GetNodeInfoResponse extends AbstractResponse {
|
||||
return latestSolidSubtangleMilestone;
|
||||
}
|
||||
|
||||
public Integer getLatestSolidSubtangleMilestoneIndex() {
|
||||
public Long getLatestSolidSubtangleMilestoneIndex() {
|
||||
return latestSolidSubtangleMilestoneIndex;
|
||||
}
|
||||
|
||||
public Integer getNeighbors() {
|
||||
public Long getNeighbors() {
|
||||
return neighbors;
|
||||
}
|
||||
|
||||
public Integer getPacketsQueueSize() {
|
||||
public Long getPacketsQueueSize() {
|
||||
return packetsQueueSize;
|
||||
}
|
||||
|
||||
public long getTime() {
|
||||
public Long getTime() {
|
||||
return time;
|
||||
}
|
||||
|
||||
public Integer getTips() {
|
||||
public Long getTips() {
|
||||
return tips;
|
||||
}
|
||||
|
||||
public Integer getTransactionsToRequest() {
|
||||
public Long getTransactionsToRequest() {
|
||||
return transactionsToRequest;
|
||||
}
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user