[Git][reproducible-builds/reproducible-website][master] added instruction on Maven rebuild arguments

Hervé Boutemy gitlab at salsa.debian.org
Fri Jan 18 10:23:51 CET 2019


Hervé Boutemy pushed to branch master at Reproducible Builds / reproducible-website


Commits:
190ca8b9 by Hervé Boutemy at 2019-01-18T09:23:50Z
added instruction on Maven rebuild arguments
- - - - -


1 changed file:

- _docs/jvm.md


Changes:

=====================================
_docs/jvm.md
=====================================
@@ -80,9 +80,19 @@ Reproducible Builds for Maven
 Getting reproducible builds with Maven requires configuration: see [https://reproducible-maven-builds.github.io/](https://reproducible-maven-builds.github.io/)
 for more details.
 
-To create a source release zip, see [Apache Source Release Assembly Descriptor](https://maven.apache.org/apache-resource-bundles/#Source_Release_Assembly_Descriptor)
+### source release archive
+To create a source release archive, see [Apache Source Release Assembly Descriptor](https://maven.apache.org/apache-resource-bundles/#Source_Release_Assembly_Descriptor)
 that is commonly used. Nothing prevents you to create your own assembly descriptor or even use another plugin: don't hesitate to share recipes.
 
+### rebuild arguments
+A rebuilder does not need to execute integration tests or even unit tests, may even skip compiling unit tests.
+Classical arguments contain following patterns:
+- `package` phase: no need to `deploy` or even `install`
+- `-Dmaven.test.skip`: avoid running tests and even compiling tests
+- `-DskipTests`: avoid running tests, but still builds (necessary for some projects)
+- `-Dgpg.skip`: avoid pgp signing
+- `-Papache-release` or any release profile: activate release-specific tasks used by `maven-release-plugin`
+
 Reproducible Builds for sbt
 ---------------------------
 



View it on GitLab: https://salsa.debian.org/reproducible-builds/reproducible-website/commit/190ca8b9b15d1e42b65ff3a9055b44e77e5dd550

-- 
View it on GitLab: https://salsa.debian.org/reproducible-builds/reproducible-website/commit/190ca8b9b15d1e42b65ff3a9055b44e77e5dd550
You're receiving this email because of your account on salsa.debian.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.reproducible-builds.org/pipermail/rb-commits/attachments/20190118/67923ad0/attachment.html>


More information about the rb-commits mailing list