Swap the order of dependencies and dev-dependencies when building pom.

Should fix #218.
This commit is contained in:
Phil Hagelberg 2011-06-29 15:46:16 -07:00
parent 49b01efe13
commit fa188738f7

View file

@ -227,10 +227,10 @@ to exclude from transitive dependencies."
(.setDescription (:description project))
(.setUrl (:url project))
(.setBuild (make-build project)))]
(doseq [dep (:dependencies project)]
(.addDependency model (make-dependency dep project)))
(doseq [dev (:dev-dependencies project)]
(.addDependency model (make-dependency dev project "test")))
(doseq [dep (:dependencies project)]
(.addDependency model (make-dependency dep project)))
(doseq [repo (repositories-for project)]
(.addRepository model (make-repository repo)))
(when-let [scm (make-git-scm (file (:root project) ".git"))]