maven binary location under mac homebrew

Cyrus Harmon ch-lisp at bobobeach.com
Tue Apr 21 23:25:47 UTC 2015


For the maven ASDF contrib stuff to find the mvn executable when using the homebrew packaged maven, I need the following patch:

diff --git i/contrib/abcl-asdf/maven-embedder.lisp w/contrib/abcl-asdf/maven-embedder.lisp
index c0b67ad..a64f8fa 100644
--- i/contrib/abcl-asdf/maven-embedder.lisp
+++ w/contrib/abcl-asdf/maven-embedder.lisp
@@ -115,6 +115,9 @@ (defun find-mvn-libs ()
       (truename d)))
   (list (make-pathname :defaults (merge-pathnames "../lib/" (find-mvn))
                        :name nil :type nil)
+         ;; library location for homebrew maven package on MacOS
+         (make-pathname :defaults (merge-pathnames "../libexec/lib/" (find-mvn))
+                        :name nil :type nil)
         #p"/usr/local/share/java/maven3/lib/" ;; FreeBSD ports
         #p"/usr/local/maven/lib/"))) ;; OpenBSD location suggested by Timo Myyrä


is there a better way to do this?

thanks,

Cyrus




More information about the armedbear-devel mailing list