Commit d3e7e62e authored by Hervé Boutemy's avatar Hervé Boutemy


parent ddab9022
title: JVM
layout: docs
permalink: /docs/jvm/
The JVM ecosystem provides many languages and build tools.
Since the JVM is not reproducible-friendly from the beginning
-- jar/zip files, with files order and timestamp, are a first natural source of variation --,
each build tool requires some work to provide Reproducible Builds.
Buildinfo File
Whatever the build tool is, binary JVM artifacts are generally published in artifact repositories
like [Maven Central]( or [Google's Android Repository](
Being able to rebuild artifacts published in these repositories will require some information: where to get the source tarball from,
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:
#### Work In Progress ####
name=<name as in pom.xml>
groupId=<groupId as in pom.xml>
artifactId=<artifactId as in pom.xml>
version=<version as in pom.xml>
# source information, as source tarball in repository and/or scm coordinates
source.extension=<extension, usually zip>
source.classifier=<classifier, usually source-release or src>
scm=<source control management url as in pom.xml>
scm.tag=<source control management tag as in pom.xml>
# build environment information
java.version=<full Java version>
# sbt-specific information
# output
output.1.filename=<file name>
output.1.length=<file size>
Notice that `${artifactId}-${version}-sources.jar` files published in Maven repositories are not buildable sources, but [sources for IDEs](
Source tarballs, intended for building, are not always published in repositories but only sometimes, with 2 classical naming conventions:
- `${artifactId}-${version}` (see [artifacts in Central providing such source tarballs](
- `${artifactId}-${version}` (see [artifacts in Central providing such source tarballs](
Reproducible Builds for Maven
See [](
Reproducible Builds for Scala SBT
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment