Marlow Fawn
03/07/2024, 7:28 PMMarlow Fawn
03/07/2024, 7:28 PM> Could not resolve all files for configuration ':diarcRosCompileClasspath'.
> Could not resolve org.apache.commons:com.springsource.org.apache.commons.logging:1.1.1.
Required by:
project : > rosjava_core:rosjava:0.0.0
> Could not resolve org.apache.commons:com.springsource.org.apache.commons.logging:1.1.1.
> Could not get resource '[private repo]/org/apache/commons/com.springsource.org.apache.commons.logging/1.1.1/com.springsource.org.apache.commons.logging-1.1.1.pom'.
> Could not HEAD 'private repo]/org/apache/commons/com.springsource.org.apache.commons.logging/1.1.1/com.springsource.org.apache.commons.logging-1.1.1.pom'. Received status code 500 from server: Unable to fetch artifact resource.
Marlow Fawn
03/07/2024, 7:31 PM<dependency>
<groupId>org.apache.commons</groupId>
<artifactId>com.springsource.org.apache.commons.logging</artifactId>
<version>1.1.1</version>
<scope>compile</scope>
</dependency>
Project B consumes this jar and uses it in another task. In project B, I have my repos organized like so:
repositories {
mavenCentral() // main maven archive
mavenLocal() // local maven archive
maven { // archive
name = "[private archive"
url = uri("[private archive]")
isAllowInsecureProtocol = true
}
}
Marlow Fawn
03/07/2024, 7:33 PMChris Lee
03/07/2024, 7:47 PMReceived status code 500 from server: Unable to fetch artifact resource.
- for some reason your private repo is failing on these requests.Marlow Fawn
03/07/2024, 7:48 PMChris Lee
03/07/2024, 7:49 PMMarlow Fawn
03/07/2024, 7:51 PMMarlow Fawn
03/07/2024, 7:52 PMChris Lee
03/07/2024, 7:53 PMChris Lee
03/07/2024, 7:54 PMMarlow Fawn
03/07/2024, 7:54 PMMarlow Fawn
03/07/2024, 7:54 PMChris Lee
03/07/2024, 7:55 PMChris Lee
03/07/2024, 7:56 PMChris Lee
03/07/2024, 7:56 PMChris Lee
03/07/2024, 8:00 PMMarlow Fawn
03/07/2024, 8:02 PMVampire
03/07/2024, 9:45 PM<http://mvnrepository.com|mvnrepository.com>
with Maven Central, both have nothing to do with each other directlyVampire
03/07/2024, 9:46 PM<http://mvnrepository.com|mvnrepository.com>
is a page that indexes multiple Maven repository servers so that you can search where in the supported repositories you can find a specific dependencyVampire
03/07/2024, 9:46 PMVampire
03/07/2024, 9:47 PMmavenLocal
like that is an extremely bad ideaVampire
03/07/2024, 9:47 PMVampire
03/07/2024, 9:48 PMMarlow Fawn
03/07/2024, 9:51 PMVampire
03/07/2024, 9:52 PMMarlow Fawn
03/08/2024, 2:12 PMMarlow Fawn
03/08/2024, 2:22 PMVampire
03/08/2024, 2:29 PMMarlow Fawn
03/08/2024, 2:31 PMChris Lee
03/08/2024, 2:31 PMChris Lee
03/08/2024, 2:32 PMAs a test, I added my private repo to project A, which does build properly. After adding, I start getting the same 500 errorsYes, as would be expected for a misbehaving repository.
Vampire
03/08/2024, 2:32 PMMarlow Fawn
03/08/2024, 2:32 PMMarlow Fawn
03/08/2024, 2:33 PMVampire
03/08/2024, 2:33 PMVampire
03/08/2024, 2:33 PMVampire
03/08/2024, 2:33 PMChris Lee
03/08/2024, 2:34 PMVampire
03/08/2024, 2:34 PMMarlow Fawn
03/08/2024, 2:35 PMMarlow Fawn
03/08/2024, 2:35 PMMarlow Fawn
03/08/2024, 2:35 PMChris Lee
03/08/2024, 2:36 PMMarlow Fawn
03/08/2024, 2:36 PMMarlow Fawn
03/08/2024, 2:38 PMVampire
03/08/2024, 2:39 PMVampire
03/08/2024, 2:39 PMVampire
03/08/2024, 2:40 PMMarlow Fawn
03/08/2024, 2:45 PMMarlow Fawn
03/08/2024, 2:45 PM