Petersoj / alpaca-java

A Java API for Alpaca, the commission free, algo friendly, stock trading broker. https://alpaca.markets
https://petersoj.github.io/alpaca-java/
MIT License
198 stars 84 forks source link

If the checksums are different, please create a new issue! #81

Closed belarusrulez closed 3 years ago

belarusrulez commented 3 years ago

image Creating ticket because "If the checksums are different, please create a new issue!" :)

Petersoj commented 3 years ago

This will happen if you build with a Java version other than Java 8 (JDK 1.8.0). The compiler will optimize your build differently than the Jar that I build on my machine and upload to Maven central. I'll add a note to the README. Thanks for reporting! alpaca-java md5

belarusrulez commented 3 years ago

thx for fast respond

belarusrulez commented 3 years ago

as an idea. Will it make sense to put latest checksum in general readme file? that's how ppl will be able to check checksum without having to install JDK 1.8.0

Petersoj commented 3 years ago

Yes I can add that. A neat tool I found for Java version management is called Jabba. You can easily manage installed versions of various JDKs and switch between them seamlessly.

belarusrulez commented 3 years ago

@Petersoj Sorry to open this again. Just don't want to spawn more tickets + it's the same topic.

Could you consider something like this: https://stackoverflow.com/questions/14013644/hosting-a-maven-repository-on-github As an example of one possible solutions from stack-overflow topic: https://github.com/polygon-io/client-jvm

Sorry to bother you.

Petersoj commented 3 years ago

Using Maven Central is the standardized way of hosting Maven artifacts. Why do you want me to host the artifacts on a Github branch? Are you having issues with Maven Central and/or Sonatype?