Skip to content

Commit 75817f3

Browse files
committed
update docs
1 parent 8ea9c0b commit 75817f3

1 file changed

Lines changed: 7 additions & 2 deletions

File tree

docs/clojure.tools.build.api.html

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -250,8 +250,13 @@
250250
:opts - coll of writer opts like :append and :encoding (per clojure.java.io)</pre></div></div><div class="public anchor" id="var-write-pom"><h3>write-pom</h3><div class="usage"><code>(write-pom params)</code></div><div class="doc"><pre class="plaintext">Write pom.xml and pom.properties files to the class dir under
251251
META-INF/maven/group-id/artifact-id/ (where Maven typically writes
252252
these files), or to target (exactly one of :class-dir and :target must
253-
be provided). The pom deps, dirs, and repos are either synced from
254-
the src-pom or generated from the basis.
253+
be provided).
254+
255+
Optionally use :src-pom to provide a pom template (or a default will
256+
be generated from the provided attributes). The pom deps, dirs, and
257+
repos from the basis will replace those sections of the template. Note
258+
that the :src-pom template is not validated and should contain required
259+
elements such as modelVersion.
255260

256261
If a repos map is provided it supersedes the repos in the basis.
257262

0 commit comments

Comments
 (0)