Author: svn-site-role Date: Sat Mar 28 21:43:39 2020 New Revision: 1875824 Log: Site checkin for project Apache Maven Site
Modified: maven/website/content/guides/mini/guide-reproducible-builds.html maven/website/content/maven-site-1.0-site.jar Modified: maven/website/content/guides/mini/guide-reproducible-builds.html ============================================================================== --- maven/website/content/guides/mini/guide-reproducible-builds.html (original) +++ maven/website/content/guides/mini/guide-reproducible-builds.html Sat Mar 28 21:43:39 2020 @@ -173,13 +173,14 @@ <div class="source"><pre class="prettyprint linenums"> <properties> <project.build.outputTimestamp>2019-10-02T08:04:00Z</project.build.outputTimestamp> </properties></pre></div></li></ol> -<p>You have the basis configured, the output should be reproducible now: you can check using <a class="externalLink" href="https://github.com/apache/maven-studies/tree/maven-buildinfo-plugin"><code>maven-buildinfo-plugin</code></a>:</p> +<p>You have the basis configured, the output should be reproducible now.</p> +<p>Using <a class="externalLink" href="https://github.com/apache/maven-studies/tree/maven-buildinfo-plugin"><code>maven-buildinfo-plugin</code></a>, you can easily check that 2 builds give you the same output:</p> <ol style="list-style-type: decimal"> <li>build and deploy to a staging directory: <code>mvn clean deploy -DskipTests -DaltDeploymentRepository=local::default::file:../stage buildinfo:buildinfo</code></li> <li>rebuild and check against the previous staging directory: <code>mvn clean verify -DskipTests buildinfo:buildinfo -Dreference.repo=file:../stage</code></li></ol> <p>If something is still not reproducible:</p> <ol style="list-style-type: decimal"> -<li>use <a class="externalLink" href="https://diffoscope.org/">diffoscope</a> to find the unstable output,</li> +<li>use <a class="externalLink" href="https://diffoscope.org/">diffoscope</a> to find the unstable output (maven-buildinfo-plugin propose you the command to launch),</li> <li>find the plugin that generated this output</li> <li>check if there is a reproducible version available: if not, please open an issue to help plugin maintainers improving Reproducible Builds support at every plugin level.</li></ol> <p><b>Notice</b>: Reproducible Builds for Maven:</p> @@ -188,6 +189,8 @@ <li>generally give <b>different result on Windows vs Unixes</b> because of newline (CRLF on Windows, LF on Unixes),</li> <li>and generally depend on the <b>major version of JDK</b> used to compile (even with source/target defined, each major JDK version changes generated bytecode)</li></ul> <p>For detailed explanations, see <a class="externalLink" href="https://cwiki.apache.org/confluence/pages/viewpage.action?pageId=74682318">Maven "Reproducible/Verifiable Builds" Wiki page</a>.</p></section><section> +<h3><a name="How_Many_Projects_are_Reproducible.3F"></a>How Many Projects are Reproducible?</h3> +<p>You can have a look at <a class="externalLink" href="https://github.com/jvm-repo-rebuild/reproducible-central">Reproducible Central</a> to see which projects are reproducible, and check for yourself.</p></section><section> <h3><a name="FAQ"></a>FAQ</h3> <ul> <li>Q. can <code>project.build.outputTimestamp</code> property be updated automatically at release time? Modified: maven/website/content/maven-site-1.0-site.jar ============================================================================== Binary files - no diff available.