HADOOP-17925. BUILDING.txt should not encourage to activate docs profile on building binary artifacts. (#3509)

This commit is contained in:
Masatake Iwasaki 2021-10-11 17:55:40 +09:00 committed by GitHub
parent 88d8c3d0c8
commit 65d9523aa2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 6 additions and 6 deletions

View File

@ -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.