HADOOP-17925. BUILDING.txt should not encourage to activate docs profile on building binary artifacts. (#3509)
(cherry picked from commit 65d9523aa2
)
This commit is contained in:
parent
a35a6ec06b
commit
99a1b185b6
12
BUILDING.txt
12
BUILDING.txt
@ -318,25 +318,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.
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user