summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTobias Roeser <le.petit.fou@web.de>2018-10-20 06:19:41 +0200
committerLi Haoyi <haoyi.sg@gmail.com>2018-10-20 12:19:41 +0800
commitc30a0e7dfc169a313fe48596fd31cb56df1822de (patch)
treeaf1f58bce1ae35a092eba1a9e007ac2206c70768
parent9331d9159cc97963995bfae99df2ff03e881b1d5 (diff)
downloadmill-c30a0e7dfc169a313fe48596fd31cb56df1822de.tar.gz
mill-c30a0e7dfc169a313fe48596fd31cb56df1822de.tar.bz2
mill-c30a0e7dfc169a313fe48596fd31cb56df1822de.zip
Added mill-publishM2 module (#467)
-rw-r--r--docs/pages/9 - Contrib Modules.md36
1 files changed, 36 insertions, 0 deletions
diff --git a/docs/pages/9 - Contrib Modules.md b/docs/pages/9 - Contrib Modules.md
index c49f6238..f6c9cc7b 100644
--- a/docs/pages/9 - Contrib Modules.md
+++ b/docs/pages/9 - Contrib Modules.md
@@ -107,3 +107,39 @@ Quickstart:
```sh
sh> mill plugin.dgraph.browseDeps(proj)()
```
+
+- [publishM2](https://github.com/lefou/mill-publishM2 "mill-publishM2")
+
+ Mill plugin to publish artifacts into a local Maven repository.
+
+ Quickstart:
+
+ Just mix-in the `PublishM2Module` into your project.
+ `PublishM2Module` already extends mill's built-in `PublishModule`.
+
+ File: `build.sc`
+ ```scala
+ import mill._, scalalib._, publish._
+
+ import $ivy.`de.tototec::de.tobiasroeser.mill.publishM2:0.0.1`
+ import de.tobiasroeser.mill.publishM2._
+
+ object project extends PublishModule with PublishM2Module {
+ // ...
+ }
+ ```
+
+ Publishing to default local Maven repository
+
+ ```
+ > mill project.publishM2Local
+ [40/40] project.publishM2Local
+ Publishing to /home/user/.m2/repository
+ ```
+
+ Publishing to custom local Maven repository
+ ```
+ > mill project.publishM2Local /tmp/m2repo
+ [40/40] project.publishM2Local
+ Publishing to /tmp/m2repo
+ ```