For multi-module builds, each produced artifact will have its
own buildinfo file:
```
#### Work In Progress ####
name=<name as in pom.xml>
groupId=<groupId as in pom.xml>
artifactId=<artifactId as in pom.xml>
group-id=<groupId as in pom.xml>
artifact-id=<artifactId as in pom.xml>
version=<version as in pom.xml>
# source information, as source tarball in repository and/or scm coordinates
...
...
@@ -37,14 +44,21 @@ scm.tag=<source control management tag as in pom.xml>
# build environment information
java.version=<full Java version>
build-tool=<mvn|sbt|...>
# sbt-specific information
# Each build tool or plugin is free to add additional entries to the buildinfo.
# For example, the sbt plugin may add the following for Scala:
sbt.version=1.2.3
scala.version=2.12.6
# output
1.filename=<file name>
1.length=<file size>
1.sha512=<sha512>
# A buildinfo file can contain checksums for multiple output files, for
# example for the main jar and the accompanying pom.xml:
outputs.0.filename=<file name>
outputs.0.length=<file size>
outputs.0.checksums.sha512=<sha512>
outputs.1.filename=<file name>
outputs.1.length=<file size>
outputs.1.checksums.sha512=<sha512>
...
```
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).
...
...
@@ -57,5 +71,10 @@ Reproducible Builds for Maven
See [https://reproducible-maven-builds.github.io/](https://reproducible-maven-builds.github.io/).
Reproducible Builds for Scala SBT
---------------------------------
Reproducible Builds for sbt
---------------------------
When using [sbt](https://www.scala-sbt.org/), a build tool popular with Scala