Changeset 13860


Ignore:
Timestamp:
02/06/12 18:20:21 (11 years ago)
Author:
Mark Evenson
Message:

ABCL-ASDF:RESOLVE-ARTIFACT now returns the namestring of the artifact.

This aligns the function to the underlying Maven Aether API. As far
as I can tell, nothing was using RESOLVE-ARTIFACT anyways.

Location:
trunk/abcl/contrib/abcl-asdf
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/abcl/contrib/abcl-asdf/abcl-asdf.asd

    r13841 r13860  
    44(defsystem :abcl-asdf
    55  :author "Mark Evenson"
    6   :version "0.6.0"
     6  :version "0.7.0"
    77  :depends-on (jss)
    88  :components
  • trunk/abcl/contrib/abcl-asdf/maven-embedder.lisp

    r13859 r13860  
    212212
    213213(defun make-proxy ()
    214   "Return an org.sonatype.aether.repository.Proxy instance initialized form *MAVEN-HTTP-PROXY*."
     214  "Return an org.sonatype.aether.repository.Proxy instance initialized from *MAVEN-HTTP-PROXY*."
    215215  (unless *maven-http-proxy*
    216216    (warn "No proxy specified in *MAVEN-HTTP-PROXY*")
     
    256256;;; TODO change this to work on artifact strings like log4j:log4j:jar:1.2.16
    257257(defun resolve-artifact (group-id artifact-id &optional (version "LATEST" versionp))
    258   "Directly resolve Maven dependencies for item with GROUP-ID and ARTIFACT-ID at VERSION, ignoring dependencies.
     258  "Resolve artifact to location on the local filesystem.
    259259
    260260Declared dependencies are not attempted to be located.
     
    273273    (#"setArtifact" artifact-request artifact)
    274274    (#"addRepository" artifact-request (ensure-remote-repository))
    275     (#"toString" (#"resolveArtifact" (ensure-repository-system) (ensure-session) artifact-request))))
     275    (#"toString" (#"getFile"
     276                  (#"getArtifact" (#"resolveArtifact" (ensure-repository-system)
     277                                                      (ensure-session) artifact-request))))))
    276278
    277279(defun make-remote-repository (id type url)
Note: See TracChangeset for help on using the changeset viewer.