Generate pom from pre-profile project.
This commit is contained in:
parent
da54afa8c8
commit
528e9c70e6
1 changed files with 3 additions and 2 deletions
|
@ -49,8 +49,9 @@
|
|||
(defn ^{:help-arglists '([])} pom
|
||||
"Write a pom.xml file to disk for Maven interop."
|
||||
([project pom-location silently?]
|
||||
(let [pom-file (file (:root project) pom-location)]
|
||||
(copy (make-pom project true) pom-file)
|
||||
(let [pom-file (file (:root project) pom-location)
|
||||
original-project (:without-profiles (meta project))]
|
||||
(copy (make-pom original-project true) pom-file)
|
||||
(when-not silently? (println "Wrote" (.getName pom-file)))
|
||||
(.getAbsolutePath pom-file)))
|
||||
([project pom-location] (pom project pom-location false))
|
||||
|
|
Loading…
Reference in a new issue