From d8f5ad793a18f719b898bd44e5b2b55d1f40257c Mon Sep 17 00:00:00 2001 From: Lee Read Date: Mon, 29 Apr 2024 14:14:03 -0400 Subject: [PATCH] maint: turf anemic pom.xml (#17) Clojure tools.build now supports fully generating our `pom.xml` from edn. In my (now deleted) `pom.xml` I had: ``` clojars Clojars repository https://clojars.org/repo ``` I thought I needed this to be able to deploy to clojars, but maybe that is some throwback to deploying with `mvn`. --- build.clj | 15 +++++++++++++-- pom.xml | 35 ----------------------------------- 2 files changed, 13 insertions(+), 37 deletions(-) delete mode 100644 pom.xml diff --git a/build.clj b/build.clj index f546b10..a278b5b 100644 --- a/build.clj +++ b/build.clj @@ -31,9 +31,20 @@ (b/write-pom {:class-dir class-dir :lib lib :version version - :scm {:tag (format "v%s" version)} :basis basis - :src-dirs ["src"]}) + :src-dirs ["src"] + :scm {:url "https://github.com/lread/test-doc-blocks" + :connection "scm:git:git@github.com:lread/test-doc-blocks.git" + :developerConnection "scm:git:git@github.com:lread/test-doc-blocks.git" + :tag (format "v%s" version)} + :pom-data [[:description "Generate Clojure tests from AsciiDoc and CommonMark doc code blocks"] + [:url "https://github.com/lread/test-doc-blocks"] + [:licenses + [:license + [:name "Eclipse Public License"] + [:url "http://www.eclipse.org/legal/epl-v10.html"]]] + [:properties + [:project.build.sourceEncoding "UTF-8"]]]}) (b/copy-dir {:src-dirs ["src" "resources"] :target-dir class-dir}) (b/jar {:class-dir class-dir diff --git a/pom.xml b/pom.xml deleted file mode 100644 index cd87b9a..0000000 --- a/pom.xml +++ /dev/null @@ -1,35 +0,0 @@ - - - 4.0.0 - com.github.lread - test-doc-blocks - Generate Clojure tests from AsciiDoc and CommonMark doc code blocks - https://github.com/lread/test-doc-blocks - - - Eclipse Public License - http://www.eclipse.org/legal/epl-v10.html - - - - https://github.com/lread/test-doc-blocks - scm:git:git@github.com:lread/test-doc-blocks.git - scm:git:git@github.com:lread/test-doc-blocks.git - - - UTF-8 - - - - clojars - https://repo.clojars.org/ - - - - - clojars - Clojars repository - https://clojars.org/repo - - -