            [org.apache.maven.artifact.factory ArtifactFactory]
            [org.apache.maven.artifact.repository.layout
             ArtifactRepositoryLayout]
-           [org.codehaus.plexus.embed Embedder]))
+           [org.codehaus.plexus.embed Embedder]
+           [java.util.jar JarFile]))
 
 ;; Welcome to the absurdist self-parodying world of Dependency Injection
 (def container (.getContainer (doto (Embedder.) (.start))))

   (.getPackaging model)
   nil))

(defn install
  "Install the project and its dependencies in your local repository."
  [project]

(ns leiningen.install
  "Install the project and its dependencies in your local repository."
  (:use [leiningen.jar :only [jar manifest-map]]
        [leiningen.pom :only [pom make-model]]
        [leiningen.core :only [home-dir]]
        [clojure.java.io :only [file copy]])
  (:import [org.apache.maven.artifact.installer ArtifactInstaller]
           [org.apache.maven.project.artifact ProjectArtifactMetadata]
           [org.apache.maven.settings MavenSettingsBuilder]
