 (defn- install!
   "Uses the Alfresco MMT to install the AMP into the target WAR"
   [amp war]
-  (ModuleManagementTool/main (into-array ["install" amp war])))
+  (ModuleManagementTool/main (into-array String ["install" (.toString amp) (.toString war)])))
 
 (defn deploy-amp!
   "Installs the generated AMP into the specified WAR"

                  (assoc m id url)) {} repos)]
    result))

(defn find-dependency
  "Finds the WAR from the project then returns its file"
  [{:keys [repositories amp-target-war]}]
  (let [files (aether/dependency-files

                                                :coordinates  [amp-target-war]))]
    (if (empty? files)
      (main/abort "No target WAR was found. Did you set :amp-target-war in your project.clj?")
      (find-one amp-target-war files))))

(defn- copy-war
  "Copies the WAR file where to install the AMP into a working location"
