Closed thatsdone closed 8 months ago
Hi,
Thank you for your interest and contribution! I've been away for a long time! This repo should also have a reference to my server for network loading of the dependency? I have to check (this is just my seat-of-the-pants initial reaction). I'll get back to you! Thanks again! :)
Hi @cogmission,
I think now the repo has references to only oss.sonatype.org (in addition, thery are activeByDefault = false).
Regards, Masanori
'Hi, Please take a look at this:
<repositories>
<repository>
<id>repo</id>
<name>htm.java</name>
<url>http://metaware.us/maven3</url>
</repository>
</repositories>
Hi @cogmission,
OK, but actually maven tries to lookup 'http://metaware.us', but the necessary files look like missing even there and unresolvable including other fallback repositories like below.
[INFO] Scanning for projects...
[INFO]
[INFO] ------------------------< org.numenta:htm.java >------------------------
[INFO] Building htm.java 0.6.13
[INFO] --------------------------------[ jar ]---------------------------------
Downloading from repo: http://metaware.us/maven3/algorithmfoundry/algorithmfoundry-shade-culled/1.3/algorithmfoundry-shade-culled-1.3.pom
Downloading from central: https://repo.maven.apache.org/maven2/algorithmfoundry/algorithmfoundry-shade-culled/1.3/algorithmfoundry-shade-culled-1.3.pom
[WARNING] The POM for algorithmfoundry:algorithmfoundry-shade-culled:jar:1.3 is missing, no dependency information available
Downloading from repo: http://metaware.us/maven3/algorithmfoundry/algorithmfoundry-shade-culled/1.3/algorithmfoundry-shade-culled-1.3.jar
Downloading from central: https://repo.maven.apache.org/maven2/algorithmfoundry/algorithmfoundry-shade-culled/1.3/algorithmfoundry-shade-culled-1.3.jar
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 3.619 s
[INFO] Finished at: 2021-10-24T08:56:16+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
I also checked existence of the files using curl. At the redirected URL that 301 response says, tomcat returns 404.
$ curl http://metaware.us/maven3/algorithmfoundry/algorithmfoundry-shade-culled/1.3/algorithmfoundry-shade-culled-1.3.pom
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>301 Moved Permanently</title>
</head><body>
<h1>Moved Permanently</h1>
<p>The document has moved <a href="http://www.metaware.us/maven3/algorithmfoundry/algorithmfoundry-shade-culled/1.3/algorithmfoundry-shade-culled-1.3.pom">here</a>.</p>
</body></html>
Regards, Masanori
Update pom.xml to add systemPath for libs/algorithmfoundry-shade-culled-1.3.jar and resolve #555.