Details
-
Type:
Bug
-
Status: Closed
-
Priority:
Major
-
Resolution: Duplicate
-
Affects Version/s: 3.18.1
-
Fix Version/s: None
-
Component/s: golang
-
Labels:None
Description
Including a dependency that is in a sub-folder of a git project will fail in NXRM but works when pointing to Athens. In the below example the project that causes an issue is CRDB from https://github.com/cockroachdb/cockroach-go
To reproduce create a simple go project with the following class. Set GOPROXY to point at NXRM and then build the project.
package main import "github.com/gobuffalo/buffalo" func main() { }
This will result in the following error
cannot load github.com/cockroachdb/cockroach-go/crdb: cannot find module providing package github.com/cockroachdb/cockroach-go/crdb
NXRM throws the following exception
2019-08-21 10:36:07,401+0000 WARN [qtp1654297853-57] *UNKNOWN org.sonatype.nexus.repository.view.handlers.ExceptionHandler - Invalid content: GET /github.com/cockroachdb/cockroach-go/@v/list: org.sonatype.nexus.repository.InvalidContentException: Content type could not be determined: github.com/cockroachdb/cockroach-go/@v/list
2019-08-21 10:36:45,508+0000 INFO [Check Status https://athens.azurefd.net] *UNKNOWN org.sonatype.nexus.repository.httpclient.internal.HttpClientFacetImpl - Repository status for go-proxy-public-athens changed from AUTO_BLOCKED_UNAVAILABLE to AVAILABLE - reason n/a for n/a
Attachments
Issue Links
- duplicates
-
NEXUS-20430 go mod proxy does not support the list GET Request
-
- Closed
-