I’ve setup a self-hosted Nexus repository and pointed a project to pull an artifact from it. However, I noticed that Gradle is searching for the wrong artifact.
I’m getting the following error:
com.intellij.openapi.externalSystem.model.ExternalSystemException: Could not find exnihilosequentia.jar (novamachina:exnihilosequentia:1.16-1.3.2.0).
Searched in the following locations:
https://repo.jacob-williams.me/repository/maven-releases/novamachina/exnihilosequentia/1.16-1.3.2.0/exnihilosequentia-1.16-1.3.2.0.jar
> Could not find exnihilosequentia.jar (novamachina:exnihilosequentia:1.16-1.3.2.0).
Searched in the following locations:
https://repo.jacob-williams.me/repository/maven-releases/novamachina/exnihilosequentia/1.16-1.3.2.0/exnihilosequentia-1.16-1.3.2.0.jar
Possible solution:
- Declare repository providing the artifact, see the documentation at https://docs.gradle.org/current/userguide/declaring_repositories.html
According to the error, Gradle is searching for ‘exnihilosequentia.jar’ but the artifact I’m looking for is ‘exnihilosequentia-1.16-1.3.2.0.jar’. The location that Gradle is searching in results in the artifact that I want, but clearly it’s not pulling it.
Also, the project I’m working on requires that I use Gradle 4.10.3
Any help is appreciated!