Open pmdoll opened 5 years ago
Describe the bug boot fails to download jar files from other repositories.
To Reproduce Steps to reproduce the behavior:
build.jahmm.boot
;; Copyright © 2016 Dynamic Object Language Labs Inc. ;; ;; This software is licensed under the terms of the ;; Apache License, Version 2.0 which can be found in ;; the file LICENSE at the root of this distribution. (def project 'dollabs/pamela-tools) (def version "0.0.1-SNAPSHOT") (def description "Pamela Tools") (def project-url "https://github.com/dollabs/pamela-tools") (println "get-env repositories before" (get-env :repositories)) (set-env! :repositories #(conj % ["jahmm repo" {:url "https://repo.springsource.org/libs-release-remote"}]) :dependencies '[ [onetom/boot-lein-generate "RELEASE" :scope "test"] [be.ac.ulg.montefiore.run.jahmm/jahmm "0.6.2"] ] ) (println "get-env repositories after" (get-env :repositories))
boot -f build.jahmm.boot aot -a
get-env repositories before [[clojars {:url https://repo.clojars.org/}] [maven-central {:url https://repo1.maven.org/maven2}]] get-env repositories after [[clojars {:url https://repo.clojars.org/}] [maven-central {:url https://repo1.maven.org/maven2}] [jahmm repo {:url https://repo.springsource.org/libs-release-remote}]] prakash@Rising-Sun-2 ~/p/d/g/pamela-tools> boot -f build.jahmm.boot aot -a get-env repositories before [[clojars {:url https://repo.clojars.org/}] [maven-central {:url https://repo1.maven.org/maven2}]] Boot.main Boot.java: 258 ... boot.App.main App.java: 500 boot.App.runBoot App.java: 407 org.projectodd.shimdandy.impl.ClojureRuntimeShimImpl.invoke ClojureRuntimeShimImpl.java: 150 org.projectodd.shimdandy.impl.ClojureRuntimeShimImpl.invoke ClojureRuntimeShimImpl.java: 159 ... boot.main/-main main.clj: 216 boot.main/-main/fn main.clj: 216 clojure.core/load-string core.clj: 3959 clojure.core/load-reader core.clj: 3957 ... boot.user$eval31.invoke : 16 boot.user$eval31.invokeStatic : 16 ... boot.core/set-env! core.clj: 876 ... clojure.core/swap! core.clj: 2253 clojure.core/swap! core.clj: 2263 ... clojure.core/update-in core.clj: 5939 clojure.core/update-in core.clj: 5950 clojure.core/apply core.clj: 648 ... clojure.core/partial/fn core.clj: 2517 ... boot.core/fn core.clj: 833 boot.core/add-dependencies! core.clj: 290 boot.pod/resolve-release-versions pod.clj: 584 boot.pod/call-in* pod.clj: 413 ... org.projectodd.shimdandy.impl.ClojureRuntimeShimImpl.invoke ClojureRuntimeShimImpl.java: 102 org.projectodd.shimdandy.impl.ClojureRuntimeShimImpl.invoke ClojureRuntimeShimImpl.java: 109 ... boot.pod/call-in* pod.clj: 410 boot.pod/eval-fn-call pod.clj: 359 clojure.core/apply core.clj: 646 ... boot.aether/resolve-release-versions aether.clj: 269 ... clojure.core/memoize/fn core.clj: 6107 clojure.core/apply core.clj: 646 ... boot.aether/resolve-dependencies* aether.clj: 117 ... cemerick.pomegranate.aether/resolve-dependencies aether.clj: 815 clojure.core/apply core.clj: 646 ... cemerick.pomegranate.aether/resolve-dependencies* aether.clj: 806 ... org.eclipse.aether.internal.impl.DefaultRepositorySystem.resolveDependencies DefaultRepositorySystem.java: 376 org.eclipse.aether.internal.impl.DefaultArtifactResolver.resolveArtifacts DefaultArtifactResolver.java: 255 org.eclipse.aether.internal.impl.DefaultArtifactResolver.resolve DefaultArtifactResolver.java: 430 org.eclipse.aether.internal.impl.DefaultArtifactResolver.performDownloads DefaultArtifactResolver.java: 529 org.eclipse.aether.connector.basic.BasicRepositoryConnector.get BasicRepositoryConnector.java: 258 org.eclipse.aether.connector.basic.BasicRepositoryConnector$DirectExecutor.execute BasicRepositoryConnector.java: 590 org.eclipse.aether.util.concurrency.RunnableErrorForwarder$1.run RunnableErrorForwarder.java: 76 org.eclipse.aether.connector.basic.BasicRepositoryConnector$TaskRunner.run BasicRepositoryConnector.java: 364 org.eclipse.aether.connector.basic.ArtifactTransportListener.transferFailed ArtifactTransportListener.java: 48 org.eclipse.aether.transfer.ArtifactNotFoundException: Could not find artifact onetom:boot-lein-generate:jar:0.1.2 in jahmm repo (https://repo.springsource.org/libs-release-remote) artifact: #object[org.eclipse.aether.artifact.DefaultArtifact 0xb7838a9 "onetom:boot-lein-generate:jar:0.1.2"] fromCache: false repository: #object[org.eclipse.aether.repository.RemoteRepository 0x7fe7c640 "jahmm repo (https://repo.springsource.org/libs-release-remote, default, releases+snapshots)"] org.eclipse.aether.resolution.ArtifactResolutionException: Could not find artifact onetom:boot-lein-generate:jar:0.1.2 in jahmm repo (https://repo.springsource.org/libs-release-remote) result: #object[org.eclipse.aether.resolution.ArtifactResult 0x73dce0e6 "null < null"] results: [#object[org.eclipse.aether.resolution.ArtifactResult 0x73dce0e6 "null < null"] #object[org.eclipse.aether.resolution.ArtifactResult 0x2eced48b "be.ac.ulg.montefiore.run.jahmm:jahmm:jar:0.6.2 < jahmm repo (https://repo.springsource.org/libs-release-remote, default, releases+snapshots)"]] org.eclipse.aether.resolution.DependencyResolutionException: Could not find artifact onetom:boot-lein-generate:jar:0.1.2 in jahmm repo (https://repo.springsource.org/libs-release-remote) result: #object[org.eclipse.aether.resolution.DependencyResult 0x4b7e96a "[null < null, be.ac.ulg.montefiore.run.jahmm:jahmm:jar:0.6.2 < jahmm repo (https://repo.springsource.org/libs-release-remote, default, releases+snapshots)]"] clojure.lang.ExceptionInfo: Could not find artifact onetom:boot-lein-generate:jar:0.1.2 in jahmm repo (https://repo.springsource.org/libs-release-remote) line: 16
Expected behavior
;[onetom/boot-lein-generate "RELEASE" :scope "test"]
boot -f build.jahmm.boot aot -a get-env repositories before [[clojars {:url https://repo.clojars.org/}] [maven-central {:url https://repo1.maven.org/maven2}]] Retrieving jahmm-0.6.2.pom from https://repo.springsource.org/libs-release-remote/ (4k) Retrieving jahmm-0.6.2.jar from https://repo.springsource.org/libs-release-remote/ (119k) get-env repositories after [[clojars {:url https://repo.clojars.org/}] [maven-central {:url https://repo1.maven.org/maven2}] [jahmm repo {:url https://repo.springsource.org/libs-release-remote}]]
Screenshots None
Desktop (please complete the following information):
cat ~/.boot/boot.properties #http://boot-clj.com #Mon Mar 11 13:54:42 EDT 2019 BOOT_CLOJURE_NAME=org.clojure/clojure BOOT_CLOJURE_VERSION=1.8.0 BOOT_VERSION=2.8.2
Describe the bug boot fails to download jar files from other repositories.
To Reproduce Steps to reproduce the behavior:
build.jahmm.boot
boot -f build.jahmm.boot aot -a
Expected behavior
;[onetom/boot-lein-generate "RELEASE" :scope "test"]
and run same commandScreenshots None
Desktop (please complete the following information):