Welcome! Please see the About page for a little more info on how this works.

+1 vote
in Errors by

Migrating a leiningen project.clj to deps.edn has failed for the following:

{:deps {org.clojars.frozenlock/bacnet4j {:mvn/version "5.0.0-1"
                                         :exclusions  [org.slf4j/slf4j-api 
                                                       lohbihler/sero-scheduler]}
        lohbihler/sero-scheduler        {:mvn/version "1.1.0"
                                         :exclusions  [org.slf4j/slf4j-api]}}

 :mvn/repos {"ias-releases" "https://maven.mangoautomation.net/repository/ias-release/"}}

This produces the following error:

Error building classpath. Failed to read artifact descriptor for lohbihler:sero-scheduler:jar:1.1.0
org.eclipse.aether.resolution.ArtifactDescriptorException: Failed to read artifact descriptor for lohbihler:sero-scheduler:jar:1.1.0
...
Caused by: org.eclipse.aether.transfer.NoTransporterException: Cannot access  using the registered transporter factories: HttpTransporterFactory, FileTransporterFactory, WagonTransporterFactory

Am I missing something? I thought this approach was supposed to work. The leiningen project works just fine with "ias-releases" configured in :repositories.

1 Answer

+2 votes
by
selected by
 
Best answer

Looking at the data model in the Deps and CLI reference documentation here, especially the section on Procurers: https://clojure.org/reference/deps_and_cli#_procurers

have you tried

:mvn/repos {"ias-releases" {:url "https://maven.mangoautomation.net/repository/ias-release/"}} ?

by
It's always something obvious like this... Sorry for the noise. Thank you!
...