I am trying to fork litecoinJ for an altcoin because they are both using a similar algorithm (scrypt) using Ubuntu 16.04. This is so I may build and android wallet for it. To build the project, I use the command in the examples directory where the POM file is located: "mvn clean package" and even "sudo mvn clean package" and I get following build failure error:

[INFO] Scanning for projects...
[INFO] ------------------------------------------------------------------------
[INFO] Building mycoinj Examples 0.85-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[WARNING] The POM for com.google:mycoinj:jar:0.85-SNAPSHOT is missing, no dependency information available
[INFO] ------------------------------------------------------------------------
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 1.062 s
[INFO] Finished at: 2018-04-19T22:13:33-07:00
[INFO] Final Memory: 8M/31M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal on project mycoinj-examples: Could not resolve dependencies for project com.google:mycoinj-examples:jar:0.85-SNAPSHOT: Could not find artifact com.google:mycoinj:jar:0.85-SNAPSHOT -> [Help 1]
[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] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/DependencyResolutionException

I have not only tried running this with the altcoinJ, but also for both litecoinJ and bitcoinJ and I get the same error. It seems that this issue has occurred for others, but there does not seem to be a posted solution. I know I am missing a repository but I do not know which one?

Perhaps there is a simple solution to this, but I cannot seem to find it. Does anyone know how to solve this issue?

Here is the link for litecoinJ for reference: https://github.com/hank/litecoinj

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Browse other questions tagged or ask your own question.