               (upload-request
                 db
                 groupname
+                artifact
                 session
                 (fn [account upload-dir]
                   (let [file (io/file upload-dir group artifact file)]

    (if (string? match)
      (= match name)
      (re-find match name))))

(def metadata-edn "_metadata.edn")

(defn find-artifacts
  ([dir]

                  (throw-invalid (str "invalid pom file: " (.getMessage e))
                    {:file pom-file}
                    e)))
          {:keys [group group-path name] :as posted-metadata} (read-metadata dir)]

      ;; since we trigger on maven-metadata.xml, we don't actually
      ;; have the sums for it because they are uploaded *after* the
