Api providing default behaviour for maven tasks.
Api providing default behaviour for maven tasks.
(check-artefacts-exist
{artefacts :fr.jeremyschoffen.mbt.alpha.maven.deploy/artefacts :as param})
Check that the artefacts described under the key :fr...mbt.alpha.maven.deploy/artefacts
actually exist.
Check that the artefacts described under the key `:fr...mbt.alpha.maven.deploy/artefacts` actually exist.
(deploy! param)
Deploy a jar of the current project into the a remote maven repo.
It starts by ensuring that the config has a :fr...mbt.alpha.maven.deploy/artefacts
key and compute a value with
fr.jeremyschoffen.mbt.alpha.default.maven/ensure-deploy-artefacts
if necessary.
After checking the actual existence of the deployment artefacts uses maven to install them.
Deploy a jar of the current project into the a remote maven repo. It starts by ensuring that the config has a `:fr...mbt.alpha.maven.deploy/artefacts` key and compute a value with [[fr.jeremyschoffen.mbt.alpha.default.maven/ensure-deploy-artefacts]] if necessary. After checking the actual existence of the deployment artefacts uses maven to install them.
(ensure-deploy-artefacts
{sign? :fr.jeremyschoffen.mbt.alpha.maven.deploy/sign-artefacts? :as param})
Ensure that the key :fr...mbt.alpha.maven.deploy/artefacts
has a value
computing a default on if necessary. Default behavior is to make 2
artefacts, one for the jar, one for a pom.xml.
Gnupg can be used to sign these artefacts if the parameter under the key
:fr...mbt.alpha.maven.deploy/sign-artefacts?
is true.
Ensure that the key `:fr...mbt.alpha.maven.deploy/artefacts` has a value computing a default on if necessary. Default behavior is to make 2 artefacts, one for the jar, one for a pom.xml. Gnupg can be used to sign these artefacts if the parameter under the key `:fr...mbt.alpha.maven.deploy/sign-artefacts?` is true.
(install! param)
Install a jar of the current project into the local maven repo.
It starts by ensuring that the config has a :fr...mbt.alpha.maven.deploy/artefacts
key, compute a value with
fr.jeremyschoffen.mbt.alpha.default.maven/make-usual-artefacts
if necessary.
After checking the actual existence of the deployment artefacts uses maven to install them.
Install a jar of the current project into the local maven repo. It starts by ensuring that the config has a `:fr...mbt.alpha.maven.deploy/artefacts` key, compute a value with [[fr.jeremyschoffen.mbt.alpha.default.maven/make-usual-artefacts]] if necessary. After checking the actual existence of the deployment artefacts uses maven to install them.
(make-github-like-scm-map {url :fr.jeremyschoffen.mbt.alpha.project/git-url})
Take a url like https://github.com/user/project
under the key ;...mbt.alpha.project/git-url
and turns it into:
#:...mbt.alpha.maven.scm{:connection "scm:git:git://github.com/user/project.git"
:developer-connection "scm:git:ssh://git@github.com/user/project.git",
:url "https://github.com/user/project"}
Take a url like `https://github.com/user/project` under the key `;...mbt.alpha.project/git-url` and turns it into: ``` #:...mbt.alpha.maven.scm{:connection "scm:git:git://github.com/user/project.git" :developer-connection "scm:git:ssh://git@github.com/user/project.git", :url "https://github.com/user/project"} ```
(make-usual-artefacts {pom-path :fr.jeremyschoffen.mbt.alpha.maven.pom/path
jar-path :fr.jeremyschoffen.mbt.alpha.build.jar/path})
Makes a sequence of maps representing maven artefacts following the :maven.deploy/artefact
spec.
Here representations for a pom.xml and a jar are made.
Makes a sequence of maps representing maven artefacts following the `:maven.deploy/artefact` spec. Here representations for a pom.xml and a jar are made.
(make-usual-artefacts+signatures! ctxt)
Make the usual artefacts using fr.jeremyschoffen.mbt.alpha.default.maven.common/make-usual-artefacts
and
their gpg signatures.
Make the usual artefacts using [[fr.jeremyschoffen.mbt.alpha.default.maven.common/make-usual-artefacts]] and their gpg signatures.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close