[doc] Add info about reproducible builds

This commit is contained in:
Andreas Dangel 2020-05-07 10:09:58 +02:00
parent 09b0e740af
commit 35b559bb1e

View File

@ -18,6 +18,20 @@ That's all !
**Note:** While Java 10 is required for building, running PMD only requires Java 7 (or Java 8 for Apex and the Designer).
**Note:** With PMD 6.24.0, we are creating [Reproducible Builds](https://reproducible-builds.org/). Since we use
[Maven](https://maven.apache.org/guides/mini/guide-reproducible-builds.html) for building, the following
limitations apply:
* Generally give **different results on Windows and Unix** because of different newlines.
(carriage return linefeed on Windows, linefeed on Unixes).
We build our releases under **Linux** on [Travis CI](https://travis-ci.org/pmd/pmd).
* Generally depend on the **major version of the JDK** used to compile. (Even with source/target defined,
each major JDK version changes the generated bytecode.).
We build our releases using OpenJDK 11 (see "before_install" step in `.travis.yml`).
## How to build the documentation?
cd docs