将 leiningen project.clj 项目迁移到 deps.edn失败,原因是以下
{: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/"}}
这产生以下错误
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
我遗漏了什么吗?我认为这种方法应该有效。当在 :repositories
中配置为 "ias-releases"
时,leiningen 项目运行得很正常。