Commit f41e4a69 authored by Mark's avatar Mark

abcl-asdf: rework Maven usage strategy

On initialization of the Maven Aether linkages, If
ABCL-ASDF::*MVN-LIBS-DIRECTORY* is set, use that instead of finding
the path by invoking 'mvn'.

Don't depend on the invocation of `mvn` to determine things as it is
both slow, and error prone if JAVA_HOME is not set correctly.  We have
used the libraries themselves rather than invoking the

Since by definition, ABCL-ASDF depends on ASDF/UIOP being present, use
UIOP:RUN-PROGRAM instead of SYS:RUN-PROGRAM as it seems to work better
under Java 6.

Re-worked IGNORES-ERROR invocation order so that we ar now working
with maven-3.0.4 and maven-3.6.3.


Document the current compatibility status somewhat.

TODO: provide a restart that will download locally a version
of Maven if none can be found.

TODO: chase down the compile-time binding of
MavenRepositorySystemUtils in the fasl which can cause load failure
when switching Maven versions used by the local implementation.
parent 04191d57
......@@ -13,11 +13,11 @@
:pathname ""
:components ((:file "abcl-asdf")
(:file "asdf-jar" :depends-on ("abcl-asdf")))
:depends-on (package))
:depends-on (package maven))
(:module maven
:pathname ""
:components ((:file "maven")
(:file "mvn-module"))
:depends-on (base)))
:depends-on (package)))
:in-order-to ((test-op (test-op abcl-asdf-tests))))
......@@ -135,7 +135,12 @@ single entry denoting a remote binary artifact."
(unless (java:jinstance-of-p (java:java-exception-cause e)
(error "Unexpected Java exception~&~A.~&" e))))
(if (find-mvn)
(if (ignore-errors
;;; TODO: clean this up
(unless *init-p*
(resolve-dependencies group-id artifact-id
:version version
:repository NIL
This diff is collapsed.
......@@ -16,6 +16,7 @@
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment