Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update pom.xml to add systemPath for algorithmfoundry-shade-culled #556

Closed
wants to merge 1 commit into from
Closed

Update pom.xml to add systemPath for algorithmfoundry-shade-culled #556

wants to merge 1 commit into from

Conversation

thatsdone
Copy link

Update pom.xml to add systemPath for libs/algorithmfoundry-shade-culled-1.3.jar and resolve #555.

@cogmission
Copy link
Collaborator

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! :)

@thatsdone
Copy link
Author

Hi @cogmission,

I think now the repo has references to only oss.sonatype.org (in addition, thery are activeByDefault = false).

Regards,
Masanori

@cogmission
Copy link
Collaborator

cogmission commented Oct 23, 2021

'Hi,
Please take a look at this:

<repositories>
		<repository>
			<id>repo</id>
			<name>htm.java</name>
			<url>http://metaware.us/maven3</url>
		</repository>
	</repositories>

@thatsdone
Copy link
Author

thatsdone commented Oct 24, 2021

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

@thatsdone thatsdone closed this by deleting the head repository Oct 14, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

maven build fails because of missing dependency
2 participants