Output full path of pom.xml.

This commit is contained in:
Phil Hagelberg 2012-03-02 16:20:12 -08:00
parent 94a12b3cde
commit 4f06404c81
3 changed files with 3 additions and 2 deletions

View file

@ -296,7 +296,7 @@ existing installation.
## License
Source Copyright © 2009-2012 Phil Hagelberg, Alex Osborne, Dan Larkin, and
[other contributors](https://www.ohloh.net/p/leiningen/contributors).
[contributors](https://github.com/technomancy/leiningen/contributors).
Distributed under the Eclipse Public License, the same as Clojure
uses. See the file COPYING.

View file

@ -274,7 +274,7 @@
(.mkdirs (.getParentFile pom-file))
(with-open [pom-writer (io/writer pom-file)]
(.write pom-writer (make-pom project true)))
(when-not silently? (println "Wrote" (.getName pom-file)))
(when-not silently? (println "Wrote" (str pom-file)))
(.getAbsolutePath pom-file)))
([project pom-location] (pom project pom-location false))
([project] (pom project "pom.xml")))

View file

@ -32,6 +32,7 @@ See also https://github.com/technomancy/leiningen/issues
- [X] Better error messages for misformatted :dependencies/:repositories
- [X] Utility function for plugins to conditionally add dependencies
- [X] Update new task
- [ ] Document subcommands in newnew
- [ ] Pretty-print pom
- [ ] Look for :java-cmd in project map
** Other stuff (post-preview)