ClojureDocs

Nav

Namespaces

write-pom

  • (write-pom params)
Write pom.xml and pom.properties files to the class dir under
META-INF/maven/group-id/artifact-id/ (where Maven typically writes
these files), or to target (exactly one of :class-dir and :target must
be provided). The pom deps, dirs, and repos are either synced from
the src-pom or generated from the basis.
 If a repos map is provided it supersedes the repos in the basis.
 Returns nil.
 Options:
  :basis - required, used to pull deps, repos
  :src-pom - source pom.xml to synchronize from, default = "./pom.xml"
  :class-dir - root dir for writing pom files, created if needed
  :target - file path to write pom if no :class-dir specified
  :lib - required, project lib symbol
  :version - required, project version
  :scm - map of scm properties to write in pom
         keys:  :connection, :developerConnection, :tag, :url
         See: https://maven.apache.org/pom.html#SCM for details
  :src-dirs - coll of src dirs
  :resource-dirs - coll of resource dirs
  :repos - map of repo name to repo config, replaces repos from deps.edn