Skip to content

Commit

Permalink
See armedbear#66 - I this patches resolve-multiple-dependencies to ad…
Browse files Browse the repository at this point in the history
…d a repository to the collect request, and patches resolves to not call resolve-dependencies with :repositories nil if repositories is nil
  • Loading branch information
alanruttenberg committed Sep 20, 2017
1 parent 3a16b52 commit cba83cd
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
9 changes: 6 additions & 3 deletions contrib/abcl-asdf/abcl-asdf.lisp
Expand Up @@ -128,9 +128,12 @@ single entry denoting a remote binary artifact."
"java.lang.ClassNotFoundException")
(error "Unexpected Java exception~&~A.~&" e))))
(if (find-mvn)
(resolve-dependencies group-id artifact-id
:version version
:repositories repositories)
(if repositories
(resolve-dependencies group-id artifact-id
:version version
:repositories repositories)
(resolve-dependencies group-id artifact-id
:version version))
(if alternate-uri
(values (pathname alternate-uri) alternate-uri)
(error "Failed to resolve MVN component name ~A." name)))))
Expand Down
1 change: 1 addition & 0 deletions contrib/abcl-asdf/mvn-module.lisp
Expand Up @@ -30,6 +30,7 @@
(let ((collect-request (java:jnew (jss:find-java-class "CollectRequest")))
(exclusions-collection (jss:new 'hashset) )
(compile-scope (java:jfield (jss:find-java-class "JavaScopes") "COMPILE")))
(#"addRepository" collect-request (ensure-remote-repository))
(loop for e in exclusions
for (groupid artifactid) = (abcl-build:split-string e #\:)
;; If i have scope be compile-scope it doesn't get excluded!!
Expand Down

0 comments on commit cba83cd

Please sign in to comment.