              [storage :as storage]]
             [clojure.java.io :as io]
             [clojure.string :as str]
-            [cemerick.pomegranate.aether :as aether]
             [compojure
              [core :as compojure :refer [PUT defroutes]]
              [route :refer [not-found]]]
             [ring.util
              [codec :as codec]
              [response :as response]])
-  (:import java.util.UUID
-           org.apache.commons.io.FileUtils
-           (java.io FileFilter IOException FileNotFoundException File)))
+  (:import (java.io FileFilter IOException FileNotFoundException File)
+           (java.util Date UUID)
+           org.apache.commons.io.FileUtils))
 
 (defn save-to-file [dest input]
   (-> dest

(ns clojars.routes.repo
  (:require [clojars
             [auth :refer [with-account]]
             [db :as db]
             [errors :refer [report-error]]


      (db/add-jar db account pom)
      (search/index! search (assoc pom
                                   :at (Date. (.lastModified pom-file))))
      (spit (io/file dir ".finalized") ""))
    (throw-invalid "no pom file was uploaded")))

