Skip to content

Commit 7a2a839

Browse files
committed
regenerate site
1 parent e8c47c3 commit 7a2a839

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

articles/cookbooks/cli_build_projects/index.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -378,7 +378,7 @@ <h2 id="toolsbuild-and-the-clojure-cli"><code>tools.build</code> and the Clojure
378378
The <code>:src-pom</code> option allows you to specify a "template" <code>pom.xml</code> file for
379379
<code>b/write-pom</code> to add coordinates and dependencies to.
380380
The newer <code>:pom-data</code> option allows you to specify those extra fields
381-
as Hiccup-style data in your <code>build.clj</code> file.</p><blockquote><p>Note: if you use <code>:src-pom</code>, you need to be aware that quite a bit of tooling out there expects the top-level <code>pom.xml</code> file in a project to be the "complete" version, so you will either want to put your "template" <code>pom.xml</code> file in a subdirectory or name it something like <code>pom-template.xml</code> so it won't be considered as a top-level <code>pom.xml</code> file, and then specify the path to that file as <code>:src-pom</code> in your call to <code>b/write-pom</code>. If you use <code>:pom-data</code>, you don't have to worry about this.</p></blockquote><p>Tools like <a href="https://github.com/seancorfield/deps-new"><code>deps-new</code></a> and Leiningen
381+
as Hiccup-style data in your <code>build.clj</code> file.</p><blockquote><p>Note: if you use <code>:src-pom</code>, you need to be aware that quite a bit of tooling out there expects the top-level <code>pom.xml</code> file in a project to be the "complete" version, so you will either want to put your "template" <code>pom.xml</code> file in a subdirectory or name it something like <code>pom-template.xml</code> so it won't be considered as a top-level <code>pom.xml</code> file, and then specify the path to that file as <code>:src-pom</code> in your call to <code>b/write-pom</code>. In addition, your "template" <code>pom.xml</code> <em>must</em> include <code>&lt;modelVersion&gt;4.0.0&lt;/modelVersion&gt;</code> <em>and</em> <code>&lt;packaging&gt;jar&lt;/packaging&gt;</code>. If you use <code>:pom-data</code>, you don't have to worry about this.</p></blockquote><p>Tools like <a href="https://github.com/seancorfield/deps-new"><code>deps-new</code></a> and Leiningen
382382
generate projects that produce a more complete <code>pom.xml</code> file, so you
383383
don't have to worry too much about this if you create projects using those tools.</p><p>Otherwise, you can provide additional <code>pom.xml</code> content to <code>:pom-data</code> as a vector of
384384
section information, in your <code>build.clj</code> file.</p><p>To satisfy the Clojars policy, you'll need to add

cryogen.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
<?xml version='1.0' encoding='UTF-8'?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><atom:link href="https://clojure-doc.org/" rel="self" type="application/rss+xml"/><title>Clojure Guides</title><link>https://clojure-doc.org/</link><description>Clojure Documentation</description><lastBuildDate>Sat, 06 Jul 2024 11:00:08 -0700</lastBuildDate><generator>clj-rss</generator></channel></rss>
1+
<?xml version='1.0' encoding='UTF-8'?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><atom:link href="https://clojure-doc.org/" rel="self" type="application/rss+xml"/><title>Clojure Guides</title><link>https://clojure-doc.org/</link><description>Clojure Documentation</description><lastBuildDate>Sat, 06 Jul 2024 11:03:04 -0700</lastBuildDate><generator>clj-rss</generator></channel></rss>

feed.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
<?xml version='1.0' encoding='UTF-8'?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><atom:link href="https://clojure-doc.org/" rel="self" type="application/rss+xml"/><title>Clojure Guides</title><link>https://clojure-doc.org/</link><description>Clojure Documentation</description><lastBuildDate>Sat, 06 Jul 2024 11:00:08 -0700</lastBuildDate><generator>clj-rss</generator></channel></rss>
1+
<?xml version='1.0' encoding='UTF-8'?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><atom:link href="https://clojure-doc.org/" rel="self" type="application/rss+xml"/><title>Clojure Guides</title><link>https://clojure-doc.org/</link><description>Clojure Documentation</description><lastBuildDate>Sat, 06 Jul 2024 11:03:04 -0700</lastBuildDate><generator>clj-rss</generator></channel></rss>

0 commit comments

Comments
 (0)