[Git][reproducible-builds/reproducible-website][master] mvn.build-root

Hervé Boutemy gitlab at salsa.debian.org
Thu Jan 31 20:59:46 CET 2019


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


Commits:
f773b203 by Hervé Boutemy at 2019-01-31T19:59:44Z
mvn.build-root
- - - - -


1 changed file:

- _docs/jvm.md


Changes:

=====================================
_docs/jvm.md
=====================================
@@ -24,9 +24,7 @@ which environment to setup to rebuild the artifacts.
 
 This is the puropse of JVM Buildinfo files that are expected to be published alongside artifacts
 as `${artifactId}-${version}.buildinfo`, in
-[Java properties format](https://en.wikipedia.org/wiki/.properties).
-For multi-module builds, each produced artifact will have its
-own buildinfo file:
+[Java properties format](https://en.wikipedia.org/wiki/.properties):
 
 
 ```
@@ -61,6 +59,7 @@ scala.version=2.12.6
 
 # and Maven could add data on rebuild instructions and effective environment:
 mvn.rebuild-args=-Dmaven.test.skip package
+mvn.build-root=<groupId>:<artifactId>:<version>
 mvn.version=3.5.4
 
 # A buildinfo file can contain checksums for multiple output files, for
@@ -116,6 +115,11 @@ Classical arguments contain following patterns:
 - `-Dgpg.skip`: avoid pgp signing
 - `-Papache-release` or any release profile: activate release-specific tasks used by `maven-release-plugin`
 
+### multi-module build
+For multi-module builds, each produced artifact will have its
+own buildinfo file with `mvn.build-root` property defined, to know the root from which the
+rebuild must happen.
+
 Reproducible Builds for sbt
 ---------------------------
 



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

-- 
View it on GitLab: https://salsa.debian.org/reproducible-builds/reproducible-website/commit/f773b203df56ae19e14e82503bfad45f5a0af8ca
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/20190131/b80e19c8/attachment.html>


More information about the rb-commits mailing list