Skip to content

Commit

Permalink
HADOOP-17925. BUILDING.txt should not encourage to activate docs prof…
Browse files Browse the repository at this point in the history
…ile on building binary artifacts. (#3509)

(cherry picked from commit 65d9523)
  • Loading branch information
iwasakims committed Oct 11, 2021
1 parent 88744b8 commit c7b40e4
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions BUILDING.txt
Original file line number Diff line number Diff line change
Expand Up @@ -324,25 +324,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.

Expand Down

0 comments on commit c7b40e4

Please sign in to comment.