Hierarchical Temporal Memory implementation in Java - an official Community-Driven Java port of the Numenta Platform for Intelligent Computing (NuPIC).
GNU Affero General Public License v3.0
310
stars
160
forks
source link
maven build fails because of missing dependency #555
Maven build of htm.java fails saying 'algorithmfoundry:algorithmfoundry-shade-culled:jar:1.3' is missing.
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 3.705 s
[INFO] Finished at: 2021-10-22T21:44:52+09:00
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal on project htm.java: Could not resolve dependencies for project org.numenta:htm.java:jar:0.6.13: Could not find artifact algorithmfoundry:algorithmfoundry-shade-culled:jar:1.3 in repo (http://metaware.us/maven3) -> [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/DependencyResolutionException
REPRODUCE PROCEDURE
Just try to clone & buid htm.java using maven.
In case of me, build environment is the following:
OS : Ubuntu 20.04 LTS w/llinux-image-5.4.0-40-generic
Java: 11.0.11+9-0ubuntu2~20.04 (ubuntu bundled)
Maven: 3.6.3-1 (ubuntu bundled)
htm.java version
HEAD of master with commit timestamp "Wed Sep 15 21:44:59 2021 -0500"
$ git log -n 1 --oneline
886f7cf8 (HEAD -> master, origin/master, origin/HEAD) Updated to test permissions
ANALYSYS and SUGGESTED RESOLUTION
It seems this is a long standing(?) issue as you can find out below:
The original Matrix Tool Kit for Java implementation (with a method addRow() that missing in the current MTJ) from algorithmfoundry seems to have been lost, and now htm.java bundles a copy of 'algorithmfoundry-shade-culled-1.3.jar' under 'libs' directory.
Thus, just updating pom.xml like below resolves this issue.
DESCRIPTION
Maven build of htm.java fails saying 'algorithmfoundry:algorithmfoundry-shade-culled:jar:1.3' is missing.
REPRODUCE PROCEDURE
Just try to clone & buid htm.java using maven.
In case of me, build environment is the following:
ANALYSYS and SUGGESTED RESOLUTION
It seems this is a long standing(?) issue as you can find out below:
https://discourse.numenta.org/t/dependency-problem-from-maven-release/2042
The original Matrix Tool Kit for Java implementation (with a method addRow() that missing in the current MTJ) from algorithmfoundry seems to have been lost, and now htm.java bundles a copy of 'algorithmfoundry-shade-culled-1.3.jar' under 'libs' directory.
Thus, just updating pom.xml like below resolves this issue.
I will create a PR for this soon.
Regards, Masanori