gruelbox/orko

build error

longtran84 opened this issue · 4 comments

[INFO]
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ orko-common ---
[INFO]
[INFO] --- maven-enforcer-plugin:1.4.1:enforce (enforce-maven-version) @ orko-common ---
[INFO]
[INFO] --- maven-checkstyle-plugin:3.1.0:check (sca-checkstyle) @ orko-common ---
[INFO]
[INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ orko-common ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 1 resource
[INFO] Copying 2 resources
[INFO]
[INFO] --- maven-compiler-plugin:3.8.1:compile (default-compile) @ orko-common ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 116 source files to /home/longtran/orko/orko-common/target/classes
[INFO] -------------------------------------------------------------
[ERROR] COMPILATION ERROR :
[INFO] -------------------------------------------------------------
[ERROR] /home/longtran/orko/orko-common/src/main/java/com/gruelbox/orko/exchange/PaperTradeService.java:[323,22] constructor UserTrade in class org.knowm.xchange.dto.trade.UserTrade cannot be applied to given types;
required: org.knowm.xchange.dto.Order.OrderType,java.math.BigDecimal,org.knowm.xchange.currency.CurrencyPair,java.math.BigDecimal,java.util.Date,java.lang.String,java.lang.String,java.math.BigDecimal,org.knowm.xchange.currency.Currency,java.lang.String
found: org.knowm.xchange.dto.Order.OrderType,java.math.BigDecimal,org.knowm.xchange.currency.CurrencyPair,java.math.BigDecimal,java.util.Date,java.lang.String,java.lang.String,java.math.BigDecimal,org.knowm.xchange.currency.Currency
reason: actual and formal argument lists differ in length
[INFO] 1 error
[INFO] -------------------------------------------------------------
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] Orko ............................................... SUCCESS [ 51.860 s]
[INFO] Orko Base .......................................... SUCCESS [05:03 min]
[INFO] Orko DB Testsupport ................................ SUCCESS [ 8.071 s]
[INFO] Orko Auth .......................................... SUCCESS [ 17.512 s]
[INFO] Orko Job ........................................... SUCCESS [ 11.934 s]
[INFO] Orko Common ........................................ FAILURE [02:23 min]
[INFO] Orko Semantic UI Theme ............................. SUCCESS [03:13 min]
[INFO] Orko UI ............................................ SUCCESS [03:27 min]
[INFO] Orko Monolith Application .......................... SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 09:14 min (Wall Clock)
[INFO] Finished at: 2020-02-26T11:33:33+07:00
[INFO] Final Memory: 52M/187M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.8.1:compile (default-compile) on project orko-common: Compilation failure
[ERROR] /home/longtran/orko/orko-common/src/main/java/com/gruelbox/orko/exchange/PaperTradeService.java:[323,22] constructor UserTrade in class org.knowm.xchange.dto.trade.UserTrade cannot be applied to given types;
[ERROR] required: org.knowm.xchange.dto.Order.OrderType,java.math.BigDecimal,org.knowm.xchange.currency.CurrencyPair,java.math.BigDecimal,java.util.Date,java.lang.String,java.lang.String,java.math.BigDecimal,org.knowm.xchange.currency.Currency,java.lang.String
[ERROR] found: org.knowm.xchange.dto.Order.OrderType,java.math.BigDecimal,org.knowm.xchange.currency.CurrencyPair,java.math.BigDecimal,java.util.Date,java.lang.String,java.lang.String,java.math.BigDecimal,org.knowm.xchange.currency.Currency
[ERROR] reason: actual and formal argument lists differ in length
[ERROR]
[ERROR] -> [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.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR] mvn -rf :orko-common

Yep, I've been AFK for a few days. Will fix this afternoon.