[Git][reproducible-builds/reproducible-website][multi-module-build-root] add build-root property for multi-module builds

Hervé Boutemy gitlab at salsa.debian.org
Fri Jan 18 12:43:41 CET 2019


Hervé Boutemy pushed to branch multi-module-build-root at Reproducible Builds / reproducible-website


Commits:
bfd14214 by Hervé Boutemy at 2019-01-18T11:43:40Z
add build-root property for multi-module builds
- - - - -


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):
 
 
 ```
@@ -37,6 +35,8 @@ name=<name as in pom.xml>
 group-id=<groupId as in pom.xml>
 artifact-id=<artifactId as in pom.xml>
 version=<version as in pom.xml>
+# when multi-module build
+build-root=<groupId>:<artifactId>:<version>
 
 # source information, as source tarball artifact in repository and/or url and/or scm coordinates
 source.artifact=<groupId>:<artifactId>:<version>:<classifier>:<extension>
@@ -69,6 +69,10 @@ outputs.1.checksums.sha512=<sha512>
 ...
 ```
 
+For multi-module builds, each produced artifact will have its
+own buildinfo file with `build-root` property defined, to know the root from which the
+rebuild must happen.
+
 Notice that `${artifactId}-${version}-sources.jar` files published in Maven repositories are not buildable sources, but [sources for IDEs](https://central.sonatype.org/pages/requirements.html#supply-javadoc-and-sources).
 Source tarballs, intended for building, are not always published in repositories but only sometimes, with 2 classical naming conventions:
 - `${artifactId}-${version}-source-release.zip` (see [artifacts in Central providing such source tarballs](https://search.maven.org/search?q=l:source-release))



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

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


More information about the rb-commits mailing list