You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by hb...@apache.org on 2020/03/28 18:37:20 UTC

[maven-site] branch master updated: added instructions to check locally

This is an automated email from the ASF dual-hosted git repository.

hboutemy pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/maven-site.git


The following commit(s) were added to refs/heads/master by this push:
     new 746e4e3  added instructions to check locally
746e4e3 is described below

commit 746e4e3407a1047cc35de0c26ab54cd11e75e807
Author: Hervé Boutemy <hb...@apache.org>
AuthorDate: Sat Mar 28 19:37:11 2020 +0100

    added instructions to check locally
---
 content/apt/guides/mini/guide-reproducible-builds.apt | 10 ++++++++--
 1 file changed, 8 insertions(+), 2 deletions(-)

diff --git a/content/apt/guides/mini/guide-reproducible-builds.apt b/content/apt/guides/mini/guide-reproducible-builds.apt
index 8f4b38a..c297530 100644
--- a/content/apt/guides/mini/guide-reproducible-builds.apt
+++ b/content/apt/guides/mini/guide-reproducible-builds.apt
@@ -49,7 +49,13 @@ Configuring for Reproducible Builds
 +--------+
  []
 
- You have the basis configured, the output should be reproducible now: you can check using {{{https://github.com/apache/maven-studies/tree/maven-buildinfo-plugin}<<<maven-buildinfo-plugin>>>}}.
+ You have the basis configured, the output should be reproducible now: you can check using {{{https://github.com/apache/maven-studies/tree/maven-buildinfo-plugin}<<<maven-buildinfo-plugin>>>}}:
+
+ [[1]] build and deploy to a staging directory: <<<mvn clean deploy -DskipTests -DaltDeploymentRepository=local::default::file:../stage buildinfo:buildinfo>>>
+
+ [[2]] rebuild and check against the previous staging directory: <<<mvn clean verify -DskipTests buildinfo:buildinfo -Dreference.repo=file:../stage>>>
+
+ []
 
  If something is still not reproducible:
  
@@ -110,4 +116,4 @@ Configuring for Reproducible Builds
 
   For more details, see {{{https://cwiki.apache.org/confluence/pages/viewpage.action?pageId=74682318#Reproducible/VerifiableBuilds-Whataretheissuestosolve?}Maven "Reproducible/Verifiable Builds" Wiki page}}
 
-  
\ No newline at end of file
+