Liking cljdoc? Tell your friends :D

fr.jeremyschoffen.mbt.alpha.core.maven.pom

Api providing maven pom.xml files generation.

Api providing maven pom.xml files generation.
      
raw docstring

new-pomclj

(new-pom {project-name :fr.jeremyschoffen.mbt.alpha.maven/artefact-name
          group-id :fr.jeremyschoffen.mbt.alpha.maven/group-id
          project-version :fr.jeremyschoffen.mbt.alpha.project/version
          project-deps :fr.jeremyschoffen.mbt.alpha.project/deps
          maven-scm :fr.jeremyschoffen.mbt.alpha.maven/scm
          licenses :fr.jeremyschoffen.mbt.alpha.project/licenses})

Make a fresh pom using the tree of maps representation used in the clojure.data.xml library.

Make a fresh pom using the tree of maps representation used in the `clojure.data.xml` library.
sourceraw docstring

new-pom-propertiesclj

(new-pom-properties {group-id :fr.jeremyschoffen.mbt.alpha.maven/group-id
                     artefact-name
                       :fr.jeremyschoffen.mbt.alpha.maven/artefact-name
                     v :fr.jeremyschoffen.mbt.alpha.project/version})

Makes the text of the pom.properties file found in jars.

Makes the text of the pom.properties file found in jars.
sourceraw docstring

read-pomclj

(read-pom {pom-path :fr.jeremyschoffen.mbt.alpha.maven.pom/path})

Read a pom.xml file at :fr...mbt.alpha.maven.pom/path and turns it into xml data.

Read a `pom.xml` file at `:fr...mbt.alpha.maven.pom/path` and turns it into xml data.
sourceraw docstring

replace-licensesclj

(replace-licenses pom licenses)
source

replace-scmclj

(replace-scm pom scm)
source

sync-pom!clj

(sync-pom! {pom-path :fr.jeremyschoffen.mbt.alpha.maven.pom/path :as param})

Function similar to clojure.tools.deps.alpha.gen.pom/sync-pom with added behaviour. This function fills the maven coordinates for the project, the licenses and scm parts.

Also returns the map version of the synced xml.

Function similar to `clojure.tools.deps.alpha.gen.pom/sync-pom` with added behaviour.
This function fills the maven coordinates for the project, the licenses and scm parts.

Also returns the map version of the synced xml.
sourceraw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close