abcl-asdf: always use runtime scope for resolving Maven artifacts.

parent e82a6136
......@@ -55,7 +55,7 @@
(in-package #:abcl-asdf)
(defgeneric satisfy (something)
:documentation "Returns a string in JVM CLASSPATH format as entries delimited by classpath separator string."
(:documentation "Returns a string in JVM CLASSPATH format as entries delimited by classpath separator string."))
(defmethod satisfy ((mvn-component asdf::mvn))
"Resolve all runtime dependencies of MVN-COMPONENT.
......
......@@ -308,7 +308,7 @@ in Java CLASSPATH representation."
group-id artifact-id version)))
(dependency
(java:jnew (jss:find-java-class "aether.graph.Dependency")
artifact "compile"))
artifact (java:jfield (jss:find-java-class "JavaScopes") "RUNTIME")))
(collect-request (java:jnew (jss:find-java-class "CollectRequest"))))
(#"setRoot" collect-request dependency)
(#"addRepository" collect-request (ensure-remote-repository))
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment