Closed neopium closed 6 years ago
What do see when you type:
./mvnw -version
Are you sure you are running the maven wrapper? Where did you run the build from? The project root?
Your system is using a very old version of maven 3.1. according to your maven -verison
output. The bot needs maven 3.2.1 to build.
Does the Gradle build work for you?
The build ran on Travis last night and my machine just now, so this has to be environmental...
Hi, im expecting exact the same failed tests. I have tested the gradle build with the same errors. This is my maven -version output:
Apache Maven 3.2.5 (12a6b3acb947671f09b81f49094c53f426d8cea1; 2014-12-14T18:29:23+01:00) Maven home: /opt/local/share/java/maven32 Java version: 1.8.0_60, vendor: Oracle Corporation Java home: /Library/Java/JavaVirtualMachines/jdk1.8.0_60.jdk/Contents/Home/jre Default locale: de_DE, platform encoding: UTF-8 OS name: "mac os x", version: "10.11.6", arch: "x86_64", family: "mac"
What is obvious to me is the same old OSX Version 10.11.6. Help would be nice, i would like to start playing with the bot!
anything i can do to solve this issue? I have no idea where to start...
Hi guys, not sure what's going on here. I've just run a build with head of master successfully on my mac. Maven output:
mybox:~/dev/IdeaProjects/bxbot$ ./mvnw -v Apache Maven 3.5.2 (138edd61fd100ec658bfa2d307c43b76940a5d7d; 2017-10-18T08:58:13+01:00) Maven home: /Users/me/.m2/wrapper/dists/apache-maven-3.5.2-bin/28qa8v9e2mq69covern8vmdkj0/apache-maven-3.5.2 Java version: 1.8.0_152, vendor: Oracle Corporation Java home: /Library/Java/JavaVirtualMachines/jdk1.8.0_152.jdk/Contents/Home/jre Default locale: en_GB, platform encoding: UTF-8 OS name: "mac os x", version: "10.13.3", arch: "x86_64", family: "mac"
Gradle build also works.
For now, you can disable the unit tests by using:
./mvnw assembly:assembly -Dmaven.test.skip=true
@aterjung - have you tried building using Gradle?
@neopium and @aterjung - could you both attach the full output from the maven build and I'll investigate.
-gazbert
Hi, yes, i have tried maven and gradle bulids.
I have attached the maven output as file.
thanks in advance mavenbuild.txt
I think I've found the issue.
The tests assume that the locale will always default to using a . for the decimal symbol. You guys are running French and German locale settings which default to a , for the decimal symbol.
https://docs.oracle.com/cd/E19455-01/806-0169/overview-9/index.html
The exchanges always expect a . as the decmial symbol, so I've overriden locale settings to use it.
Let me know if the head of master branch builds for you now.
Released.
Hi, I tried on both the HEAD and the 0.8.6 release and have the same error messages while running the command:
./mvnw clean assembly:assembly
Here is my mvn -version information: