Swap the order of dependencies and dev-dependencies when building pom.
Should fix #218.
This commit is contained in:
parent
49b01efe13
commit
fa188738f7
1 changed files with 2 additions and 2 deletions
|
@ -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"))]
|
||||
|
|
Loading…
Reference in a new issue