Output full path of pom.xml.
This commit is contained in:
parent
94a12b3cde
commit
4f06404c81
3 changed files with 3 additions and 2 deletions
|
@ -296,7 +296,7 @@ existing installation.
|
||||||
## License
|
## License
|
||||||
|
|
||||||
Source Copyright © 2009-2012 Phil Hagelberg, Alex Osborne, Dan Larkin, and
|
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
|
Distributed under the Eclipse Public License, the same as Clojure
|
||||||
uses. See the file COPYING.
|
uses. See the file COPYING.
|
||||||
|
|
||||||
|
|
|
@ -274,7 +274,7 @@
|
||||||
(.mkdirs (.getParentFile pom-file))
|
(.mkdirs (.getParentFile pom-file))
|
||||||
(with-open [pom-writer (io/writer pom-file)]
|
(with-open [pom-writer (io/writer pom-file)]
|
||||||
(.write pom-writer (make-pom project true)))
|
(.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)))
|
(.getAbsolutePath pom-file)))
|
||||||
([project pom-location] (pom project pom-location false))
|
([project pom-location] (pom project pom-location false))
|
||||||
([project] (pom project "pom.xml")))
|
([project] (pom project "pom.xml")))
|
||||||
|
|
1
todo.org
1
todo.org
|
@ -32,6 +32,7 @@ See also https://github.com/technomancy/leiningen/issues
|
||||||
- [X] Better error messages for misformatted :dependencies/:repositories
|
- [X] Better error messages for misformatted :dependencies/:repositories
|
||||||
- [X] Utility function for plugins to conditionally add dependencies
|
- [X] Utility function for plugins to conditionally add dependencies
|
||||||
- [X] Update new task
|
- [X] Update new task
|
||||||
|
- [ ] Document subcommands in newnew
|
||||||
- [ ] Pretty-print pom
|
- [ ] Pretty-print pom
|
||||||
- [ ] Look for :java-cmd in project map
|
- [ ] Look for :java-cmd in project map
|
||||||
** Other stuff (post-preview)
|
** Other stuff (post-preview)
|
||||||
|
|
Loading…
Reference in a new issue