From 65d9523aa2ed006fb9cb36966bc183d18af9b312 Mon Sep 17 00:00:00 2001 From: Masatake Iwasaki Date: Mon, 11 Oct 2021 17:55:40 +0900 Subject: [PATCH] HADOOP-17925. BUILDING.txt should not encourage to activate docs profile on building binary artifacts. (#3509) --- BUILDING.txt | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/BUILDING.txt b/BUILDING.txt index 70f3f4a929..edf47c5f13 100644 --- a/BUILDING.txt +++ b/BUILDING.txt @@ -336,25 +336,25 @@ Then, import to eclipse by specifying the root directory of the project via ---------------------------------------------------------------------------------- Building distributions: -Create binary distribution without native code and without documentation: +Create binary distribution without native code and without Javadocs: $ mvn package -Pdist -DskipTests -Dtar -Dmaven.javadoc.skip=true -Create binary distribution with native code and with documentation: +Create binary distribution with native code: - $ mvn package -Pdist,native,docs -DskipTests -Dtar + $ mvn package -Pdist,native -DskipTests -Dtar Create source distribution: $ mvn package -Psrc -DskipTests -Create source and binary distributions with native code and documentation: +Create source and binary distributions with native code: - $ mvn package -Pdist,native,docs,src -DskipTests -Dtar + $ mvn package -Pdist,native,src -DskipTests -Dtar Create a local staging version of the website (in /tmp/hadoop-site) - $ mvn clean site -Preleasedocs; mvn site:stage -DstagingDirectory=/tmp/hadoop-site + $ mvn site site:stage -Preleasedocs,docs -DstagingDirectory=/tmp/hadoop-site Note that the site needs to be built in a second pass after other artifacts.