Skip to content

Commit

Permalink
maint: turf anemic pom.xml (#17)
Browse files Browse the repository at this point in the history
Clojure tools.build now supports fully generating our `pom.xml` from edn.

In my (now deleted) `pom.xml` I had:
```
  <distributionManagement>
    <repository>
      <id>clojars</id>
      <name>Clojars repository</name>
      <url>https://clojars.org/repo</url>
    </repository>
  </distributionManagement>
```
I thought I needed this to be able to deploy to clojars, but maybe that
is some throwback to deploying with `mvn`.
  • Loading branch information
lread authored Apr 29, 2024
1 parent 7993977 commit d8f5ad7
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 37 deletions.
15 changes: 13 additions & 2 deletions build.clj
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
35 changes: 0 additions & 35 deletions pom.xml

This file was deleted.

0 comments on commit d8f5ad7

Please sign in to comment.