       (.addRepository model (make-repository repo)))
     (when-let [scm (make-git-scm (file (:root project) ".git"))]
       (.setScm model scm))
+    (doseq [license (concat (keep #(% project)
+                                  [:licence :license])
+                            (:licences project)
+                            (:licenses project))]
+      (.addLicense model (make-license license)))
+    (doseq [mailing-list (concat (if-let [ml (:mailing-list project)] [ml] [])
+                                 (:mailing-lists project))]
+      (.addMailingList model (make-mailing-list mailing-list)))
     model))
 
 (defn make-pom

    (.setId id)
    (.setUrl url)))

(def default-repos {"central" "http://repo1.maven.org/maven2"
                    "clojure" "http://build.clojure.org/releases"
                    "clojure-snapshots" "http://build.clojure.org/snapshots"

                (.setName (:name project))
                (.setVersion (:version project))
                (.setGroupId (:group project))
                (.setDescription (:description project))
                (.setUrl (:url project)))
        build (doto (Build.)
                (.setSourceDirectory (relative-path project :source-path))
                (.setTestSourceDirectory (relative-path project :test-path)))]
