Browse Source

HDDS-832. Docs folder is missing from the Ozone distribution package. Contributed by Elek, Marton.

Anu Engineer 6 years ago
parent
commit
9b01f039eb
57 changed files with 56 additions and 17 deletions
  1. 1 1
      .gitignore
  2. 2 2
      hadoop-hdds/docs/README.md
  3. 0 0
      hadoop-hdds/docs/archetypes/default.md
  4. 0 0
      hadoop-hdds/docs/config.yaml
  5. 0 0
      hadoop-hdds/docs/content/BucketCommands.md
  6. 0 0
      hadoop-hdds/docs/content/BuildingSources.md
  7. 0 1
      hadoop-hdds/docs/content/CommandShell.md
  8. 0 0
      hadoop-hdds/docs/content/Concepts.md
  9. 0 0
      hadoop-hdds/docs/content/Dozone.md
  10. 0 0
      hadoop-hdds/docs/content/Freon.md
  11. 0 0
      hadoop-hdds/docs/content/Hdds.md
  12. 0 0
      hadoop-hdds/docs/content/JavaApi.md
  13. 0 0
      hadoop-hdds/docs/content/KeyCommands.md
  14. 0 0
      hadoop-hdds/docs/content/OzoneFS.md
  15. 0 0
      hadoop-hdds/docs/content/OzoneManager.md
  16. 0 0
      hadoop-hdds/docs/content/RealCluster.md
  17. 0 0
      hadoop-hdds/docs/content/Rest.md
  18. 0 0
      hadoop-hdds/docs/content/RunningViaDocker.md
  19. 0 0
      hadoop-hdds/docs/content/RunningWithHDFS.md
  20. 0 0
      hadoop-hdds/docs/content/S3.md
  21. 0 0
      hadoop-hdds/docs/content/SCMCLI.md
  22. 0 0
      hadoop-hdds/docs/content/Settings.md
  23. 0 0
      hadoop-hdds/docs/content/VolumeCommands.md
  24. 0 1
      hadoop-hdds/docs/content/_index.md
  25. 1 1
      hadoop-hdds/docs/dev-support/bin/generate-site.sh
  26. 11 7
      hadoop-hdds/docs/pom.xml
  27. 0 0
      hadoop-hdds/docs/static/NOTES.md
  28. 0 0
      hadoop-hdds/docs/static/OzoneOverview.png
  29. 0 0
      hadoop-hdds/docs/static/OzoneOverview.svg
  30. 0 0
      hadoop-hdds/docs/static/SCMBlockDiagram.png
  31. 0 0
      hadoop-hdds/docs/static/ozone-logo.png
  32. 0 0
      hadoop-hdds/docs/themes/ozonedoc/layouts/_default/single.html
  33. 0 0
      hadoop-hdds/docs/themes/ozonedoc/layouts/index.html
  34. 0 0
      hadoop-hdds/docs/themes/ozonedoc/layouts/partials/footer.html
  35. 0 0
      hadoop-hdds/docs/themes/ozonedoc/layouts/partials/header.html
  36. 0 0
      hadoop-hdds/docs/themes/ozonedoc/layouts/partials/navbar.html
  37. 0 0
      hadoop-hdds/docs/themes/ozonedoc/layouts/partials/sidebar.html
  38. 0 0
      hadoop-hdds/docs/themes/ozonedoc/static/css/bootstrap-theme.min.css
  39. 0 0
      hadoop-hdds/docs/themes/ozonedoc/static/css/bootstrap-theme.min.css.map
  40. 0 0
      hadoop-hdds/docs/themes/ozonedoc/static/css/bootstrap.min.css
  41. 0 0
      hadoop-hdds/docs/themes/ozonedoc/static/css/bootstrap.min.css.map
  42. 0 0
      hadoop-hdds/docs/themes/ozonedoc/static/css/ozonedoc.css
  43. 0 0
      hadoop-hdds/docs/themes/ozonedoc/static/fonts/glyphicons-halflings-regular.eot
  44. 1 1
      hadoop-hdds/docs/themes/ozonedoc/static/fonts/glyphicons-halflings-regular.svg
  45. 0 0
      hadoop-hdds/docs/themes/ozonedoc/static/fonts/glyphicons-halflings-regular.ttf
  46. 0 0
      hadoop-hdds/docs/themes/ozonedoc/static/fonts/glyphicons-halflings-regular.woff
  47. 0 0
      hadoop-hdds/docs/themes/ozonedoc/static/fonts/glyphicons-halflings-regular.woff2
  48. 0 0
      hadoop-hdds/docs/themes/ozonedoc/static/js/bootstrap.min.js
  49. 0 0
      hadoop-hdds/docs/themes/ozonedoc/static/js/jquery.min.js
  50. 0 0
      hadoop-hdds/docs/themes/ozonedoc/static/js/ozonedoc.js
  51. 0 0
      hadoop-hdds/docs/themes/ozonedoc/theme.toml
  52. 7 0
      hadoop-hdds/pom.xml
  53. 12 0
      hadoop-hdds/server-scm/pom.xml
  54. 1 2
      hadoop-ozone/dist/dev-support/bin/dist-layout-stitching
  55. 4 0
      hadoop-ozone/dist/pom.xml
  56. 11 0
      hadoop-ozone/ozone-manager/pom.xml
  57. 5 1
      hadoop-ozone/pom.xml

+ 1 - 1
.gitignore

@@ -60,4 +60,4 @@ log.html
 output.xml
 output.xml
 report.html
 report.html
 
 
-hadoop-ozone/docs/public
+hadoop-hdds/docs/public

+ 2 - 2
hadoop-ozone/docs/README.md → hadoop-hdds/docs/README.md

@@ -30,7 +30,7 @@ You can check the rendering with:
 hugo serve
 hugo serve
 ```
 ```
 
 
-This maven project will create the rendered HTML page during the build (ONLY if hugo is available). 
+This maven project will create the rendered HTML page during the build (ONLY if hugo is available).
 And the dist project will include the documentation.
 And the dist project will include the documentation.
 
 
 You can adjust the menu hierarchy with adjusting the header of the markdown file:
 You can adjust the menu hierarchy with adjusting the header of the markdown file:
@@ -43,7 +43,7 @@ menu: main
 ---
 ---
 ```
 ```
 
 
-To show it as a subpage, you can set the parent. (The value could be the title of the parent page, 
+To show it as a subpage, you can set the parent. (The value could be the title of the parent page,
 our you can defined an `id: ...` in the parent markdown and use that in the parent reference.
 our you can defined an `id: ...` in the parent markdown and use that in the parent reference.
 
 
 ```
 ```

+ 0 - 0
hadoop-ozone/docs/archetypes/default.md → hadoop-hdds/docs/archetypes/default.md


+ 0 - 0
hadoop-ozone/docs/config.yaml → hadoop-hdds/docs/config.yaml


+ 0 - 0
hadoop-ozone/docs/content/BucketCommands.md → hadoop-hdds/docs/content/BucketCommands.md


+ 0 - 0
hadoop-ozone/docs/content/BuildingSources.md → hadoop-hdds/docs/content/BuildingSources.md


+ 0 - 1
hadoop-ozone/docs/content/CommandShell.md → hadoop-hdds/docs/content/CommandShell.md

@@ -106,4 +106,3 @@ or it can be invoked to explain a specific action like
 ozone sh volume create --help
 ozone sh volume create --help
 {{< /highlight >}}
 {{< /highlight >}}
 This command will give you command line options of the create command.
 This command will give you command line options of the create command.
-

+ 0 - 0
hadoop-ozone/docs/content/Concepts.md → hadoop-hdds/docs/content/Concepts.md


+ 0 - 0
hadoop-ozone/docs/content/Dozone.md → hadoop-hdds/docs/content/Dozone.md


+ 0 - 0
hadoop-ozone/docs/content/Freon.md → hadoop-hdds/docs/content/Freon.md


+ 0 - 0
hadoop-ozone/docs/content/Hdds.md → hadoop-hdds/docs/content/Hdds.md


+ 0 - 0
hadoop-ozone/docs/content/JavaApi.md → hadoop-hdds/docs/content/JavaApi.md


+ 0 - 0
hadoop-ozone/docs/content/KeyCommands.md → hadoop-hdds/docs/content/KeyCommands.md


+ 0 - 0
hadoop-ozone/docs/content/OzoneFS.md → hadoop-hdds/docs/content/OzoneFS.md


+ 0 - 0
hadoop-ozone/docs/content/OzoneManager.md → hadoop-hdds/docs/content/OzoneManager.md


+ 0 - 0
hadoop-ozone/docs/content/RealCluster.md → hadoop-hdds/docs/content/RealCluster.md


+ 0 - 0
hadoop-ozone/docs/content/Rest.md → hadoop-hdds/docs/content/Rest.md


+ 0 - 0
hadoop-ozone/docs/content/RunningViaDocker.md → hadoop-hdds/docs/content/RunningViaDocker.md


+ 0 - 0
hadoop-ozone/docs/content/RunningWithHDFS.md → hadoop-hdds/docs/content/RunningWithHDFS.md


+ 0 - 0
hadoop-ozone/docs/content/S3.md → hadoop-hdds/docs/content/S3.md


+ 0 - 0
hadoop-ozone/docs/content/SCMCLI.md → hadoop-hdds/docs/content/SCMCLI.md


+ 0 - 0
hadoop-ozone/docs/content/Settings.md → hadoop-hdds/docs/content/Settings.md


+ 0 - 0
hadoop-ozone/docs/content/VolumeCommands.md → hadoop-hdds/docs/content/VolumeCommands.md


+ 0 - 1
hadoop-ozone/docs/content/_index.md → hadoop-hdds/docs/content/_index.md

@@ -36,4 +36,3 @@ Ozone consists of volumes, buckets, and Keys.
 
 
 
 
 <a href="{{< ref "RunningViaDocker.md" >}}"><button class="btn btn-danger btn-lg">Getting started</button></a>
 <a href="{{< ref "RunningViaDocker.md" >}}"><button class="btn btn-danger btn-lg">Getting started</button></a>
-

+ 1 - 1
hadoop-ozone/docs/dev-support/bin/generate-site.sh → hadoop-hdds/docs/dev-support/bin/generate-site.sh

@@ -22,7 +22,7 @@ if [ ! "$(which hugo)" ]; then
    exit 0
    exit 0
 fi
 fi
 
 
-DESTDIR="$DOCDIR/target/classes/webapps/docs"
+DESTDIR="$DOCDIR/target/classes/docs"
 mkdir -p "$DESTDIR"
 mkdir -p "$DESTDIR"
 cd "$DOCDIR"
 cd "$DOCDIR"
 hugo -d "$DESTDIR" "$@"
 hugo -d "$DESTDIR" "$@"

+ 11 - 7
hadoop-ozone/docs/pom.xml → hadoop-hdds/docs/pom.xml

@@ -19,13 +19,13 @@ http://maven.apache.org/xsd/maven-4.0.0.xsd">
   <modelVersion>4.0.0</modelVersion>
   <modelVersion>4.0.0</modelVersion>
   <parent>
   <parent>
     <groupId>org.apache.hadoop</groupId>
     <groupId>org.apache.hadoop</groupId>
-    <artifactId>hadoop-ozone</artifactId>
+    <artifactId>hadoop-hdds</artifactId>
     <version>0.4.0-SNAPSHOT</version>
     <version>0.4.0-SNAPSHOT</version>
   </parent>
   </parent>
-  <artifactId>hadoop-ozone-docs</artifactId>
+  <artifactId>hadoop-hdds-docs</artifactId>
   <version>0.4.0-SNAPSHOT</version>
   <version>0.4.0-SNAPSHOT</version>
-  <description>Apache Hadoop Ozone Documentation</description>
-  <name>Apache Hadoop Ozone Documentation</name>
+  <description>Apache Hadoop HDDS/Ozone Documentation</description>
+  <name>Apache Hadoop HDDS/Ozone Documentation</name>
   <packaging>jar</packaging>
   <packaging>jar</packaging>
 
 
   <dependencies>
   <dependencies>
@@ -56,11 +56,15 @@ http://maven.apache.org/xsd/maven-4.0.0.xsd">
           <excludes>
           <excludes>
             <exclude>themes/ozonedoc/static/js/bootstrap.min.js</exclude>
             <exclude>themes/ozonedoc/static/js/bootstrap.min.js</exclude>
             <exclude>themes/ozonedoc/static/js/jquery.min.js</exclude>
             <exclude>themes/ozonedoc/static/js/jquery.min.js</exclude>
-            <exclude>themes/ozonedoc/static/css/bootstrap-theme.min.css</exclude>
+            <exclude>themes/ozonedoc/static/css/bootstrap-theme.min.css
+            </exclude>
             <exclude>themes/ozonedoc/static/css/bootstrap.min.css.map</exclude>
             <exclude>themes/ozonedoc/static/css/bootstrap.min.css.map</exclude>
             <exclude>themes/ozonedoc/static/css/bootstrap.min.css</exclude>
             <exclude>themes/ozonedoc/static/css/bootstrap.min.css</exclude>
-            <exclude>themes/ozonedoc/static/css/bootstrap-theme.min.css.map</exclude>
-            <exclude>themes/ozonedoc/static/fonts/glyphicons-halflings-regular.svg</exclude>
+            <exclude>themes/ozonedoc/static/css/bootstrap-theme.min.css.map
+            </exclude>
+            <exclude>
+              themes/ozonedoc/static/fonts/glyphicons-halflings-regular.svg
+            </exclude>
             <exclude>themes/ozonedoc/layouts/index.html</exclude>
             <exclude>themes/ozonedoc/layouts/index.html</exclude>
             <exclude>themes/ozonedoc/theme.toml</exclude>
             <exclude>themes/ozonedoc/theme.toml</exclude>
           </excludes>
           </excludes>

+ 0 - 0
hadoop-ozone/docs/static/NOTES.md → hadoop-hdds/docs/static/NOTES.md


+ 0 - 0
hadoop-ozone/docs/static/OzoneOverview.png → hadoop-hdds/docs/static/OzoneOverview.png


+ 0 - 0
hadoop-ozone/docs/static/OzoneOverview.svg → hadoop-hdds/docs/static/OzoneOverview.svg


+ 0 - 0
hadoop-ozone/docs/static/SCMBlockDiagram.png → hadoop-hdds/docs/static/SCMBlockDiagram.png


+ 0 - 0
hadoop-ozone/docs/static/ozone-logo.png → hadoop-hdds/docs/static/ozone-logo.png


+ 0 - 0
hadoop-ozone/docs/themes/ozonedoc/layouts/_default/single.html → hadoop-hdds/docs/themes/ozonedoc/layouts/_default/single.html


+ 0 - 0
hadoop-ozone/docs/themes/ozonedoc/layouts/index.html → hadoop-hdds/docs/themes/ozonedoc/layouts/index.html


+ 0 - 0
hadoop-ozone/docs/themes/ozonedoc/layouts/partials/footer.html → hadoop-hdds/docs/themes/ozonedoc/layouts/partials/footer.html


+ 0 - 0
hadoop-ozone/docs/themes/ozonedoc/layouts/partials/header.html → hadoop-hdds/docs/themes/ozonedoc/layouts/partials/header.html


+ 0 - 0
hadoop-ozone/docs/themes/ozonedoc/layouts/partials/navbar.html → hadoop-hdds/docs/themes/ozonedoc/layouts/partials/navbar.html


+ 0 - 0
hadoop-ozone/docs/themes/ozonedoc/layouts/partials/sidebar.html → hadoop-hdds/docs/themes/ozonedoc/layouts/partials/sidebar.html


+ 0 - 0
hadoop-ozone/docs/themes/ozonedoc/static/css/bootstrap-theme.min.css → hadoop-hdds/docs/themes/ozonedoc/static/css/bootstrap-theme.min.css


+ 0 - 0
hadoop-ozone/docs/themes/ozonedoc/static/css/bootstrap-theme.min.css.map → hadoop-hdds/docs/themes/ozonedoc/static/css/bootstrap-theme.min.css.map


+ 0 - 0
hadoop-ozone/docs/themes/ozonedoc/static/css/bootstrap.min.css → hadoop-hdds/docs/themes/ozonedoc/static/css/bootstrap.min.css


+ 0 - 0
hadoop-ozone/docs/themes/ozonedoc/static/css/bootstrap.min.css.map → hadoop-hdds/docs/themes/ozonedoc/static/css/bootstrap.min.css.map


+ 0 - 0
hadoop-ozone/docs/themes/ozonedoc/static/css/ozonedoc.css → hadoop-hdds/docs/themes/ozonedoc/static/css/ozonedoc.css


+ 0 - 0
hadoop-ozone/docs/themes/ozonedoc/static/fonts/glyphicons-halflings-regular.eot → hadoop-hdds/docs/themes/ozonedoc/static/fonts/glyphicons-halflings-regular.eot


+ 1 - 1
hadoop-ozone/docs/themes/ozonedoc/static/fonts/glyphicons-halflings-regular.svg → hadoop-hdds/docs/themes/ozonedoc/static/fonts/glyphicons-halflings-regular.svg

@@ -285,4 +285,4 @@
 <glyph unicode="&#x1f511;" d="M250 1200h600q21 0 35.5 -14.5t14.5 -35.5v-400q0 -21 -14.5 -35.5t-35.5 -14.5h-150v-500l-255 -178q-19 -9 -32 -1t-13 29v650h-150q-21 0 -35.5 14.5t-14.5 35.5v400q0 21 14.5 35.5t35.5 14.5zM400 1100v-100h300v100h-300z" />
 <glyph unicode="&#x1f511;" d="M250 1200h600q21 0 35.5 -14.5t14.5 -35.5v-400q0 -21 -14.5 -35.5t-35.5 -14.5h-150v-500l-255 -178q-19 -9 -32 -1t-13 29v650h-150q-21 0 -35.5 14.5t-14.5 35.5v400q0 21 14.5 35.5t35.5 14.5zM400 1100v-100h300v100h-300z" />
 <glyph unicode="&#x1f6aa;" d="M250 1200h750q39 0 69.5 -40.5t30.5 -84.5v-933l-700 -117v950l600 125h-700v-1000h-100v1025q0 23 15.5 49t34.5 26zM500 525v-100l100 20v100z" />
 <glyph unicode="&#x1f6aa;" d="M250 1200h750q39 0 69.5 -40.5t30.5 -84.5v-933l-700 -117v950l600 125h-700v-1000h-100v1025q0 23 15.5 49t34.5 26zM500 525v-100l100 20v100z" />
 </font>
 </font>
-</defs></svg> 
+</defs></svg>

+ 0 - 0
hadoop-ozone/docs/themes/ozonedoc/static/fonts/glyphicons-halflings-regular.ttf → hadoop-hdds/docs/themes/ozonedoc/static/fonts/glyphicons-halflings-regular.ttf


+ 0 - 0
hadoop-ozone/docs/themes/ozonedoc/static/fonts/glyphicons-halflings-regular.woff → hadoop-hdds/docs/themes/ozonedoc/static/fonts/glyphicons-halflings-regular.woff


+ 0 - 0
hadoop-ozone/docs/themes/ozonedoc/static/fonts/glyphicons-halflings-regular.woff2 → hadoop-hdds/docs/themes/ozonedoc/static/fonts/glyphicons-halflings-regular.woff2


+ 0 - 0
hadoop-ozone/docs/themes/ozonedoc/static/js/bootstrap.min.js → hadoop-hdds/docs/themes/ozonedoc/static/js/bootstrap.min.js


+ 0 - 0
hadoop-ozone/docs/themes/ozonedoc/static/js/jquery.min.js → hadoop-hdds/docs/themes/ozonedoc/static/js/jquery.min.js


+ 0 - 0
hadoop-ozone/docs/themes/ozonedoc/static/js/ozonedoc.js → hadoop-hdds/docs/themes/ozonedoc/static/js/ozonedoc.js


+ 0 - 0
hadoop-ozone/docs/themes/ozonedoc/theme.toml → hadoop-hdds/docs/themes/ozonedoc/theme.toml


+ 7 - 0
hadoop-hdds/pom.xml

@@ -37,6 +37,7 @@ http://maven.apache.org/xsd/maven-4.0.0.xsd">
     <module>container-service</module>
     <module>container-service</module>
     <module>server-scm</module>
     <module>server-scm</module>
     <module>tools</module>
     <module>tools</module>
+    <module>docs</module>
 
 
   </modules>
   </modules>
 
 
@@ -106,6 +107,12 @@ http://maven.apache.org/xsd/maven-4.0.0.xsd">
         <version>${hdds.version}</version>
         <version>${hdds.version}</version>
       </dependency>
       </dependency>
 
 
+      <dependency>
+        <groupId>org.apache.hadoop</groupId>
+        <artifactId>hadoop-hdds-docs</artifactId>
+        <version>${hdds.version}</version>
+      </dependency>
+
       <dependency>
       <dependency>
         <groupId>org.apache.hadoop</groupId>
         <groupId>org.apache.hadoop</groupId>
         <artifactId>hadoop-hdds-container-service</artifactId>
         <artifactId>hadoop-hdds-container-service</artifactId>

+ 12 - 0
hadoop-hdds/server-scm/pom.xml

@@ -49,6 +49,11 @@ http://maven.apache.org/xsd/maven-4.0.0.xsd">
       <artifactId>hadoop-hdds-server-framework</artifactId>
       <artifactId>hadoop-hdds-server-framework</artifactId>
     </dependency>
     </dependency>
 
 
+    <dependency>
+      <groupId>org.apache.hadoop</groupId>
+      <artifactId>hadoop-hdds-docs</artifactId>
+    </dependency>
+
     <dependency>
     <dependency>
       <groupId>org.apache.hadoop</groupId>
       <groupId>org.apache.hadoop</groupId>
       <artifactId>hadoop-hdds-container-service</artifactId>
       <artifactId>hadoop-hdds-container-service</artifactId>
@@ -118,6 +123,13 @@ http://maven.apache.org/xsd/maven-4.0.0.xsd">
                   </outputDirectory>
                   </outputDirectory>
                   <includes>webapps/static/**/*.*</includes>
                   <includes>webapps/static/**/*.*</includes>
                 </artifactItem>
                 </artifactItem>
+                <artifactItem>
+                  <groupId>org.apache.hadoop</groupId>
+                  <artifactId>hadoop-hdds-docs</artifactId>
+                  <outputDirectory>${project.build.outputDirectory}/webapps/scm
+                  </outputDirectory>
+                  <includes>docs/**/*.*</includes>
+                </artifactItem>
               </artifactItems>
               </artifactItems>
               <overWriteSnapshots>true</overWriteSnapshots>
               <overWriteSnapshots>true</overWriteSnapshots>
             </configuration>
             </configuration>

+ 1 - 2
hadoop-ozone/dist/dev-support/bin/dist-layout-stitching

@@ -107,8 +107,7 @@ run cp "${ROOT}/hadoop-ozone/objectstore-service/target/hadoop-ozone-objectstore
 
 
 
 
 # Optional documentation, could be missing
 # Optional documentation, could be missing
-cp -r "${ROOT}/hadoop-ozone/docs/target/classes/webapps/docs" ./share/hadoop/ozone/webapps/ozoneManager/
-cp -r "${ROOT}/hadoop-ozone/docs/target/classes/webapps/docs" ./share/hadoop/hdds/webapps/scm/
+cp -r "${ROOT}/hadoop-hdds/docs/target/classes/docs" ./
 
 
 #Copy docker compose files
 #Copy docker compose files
 run cp -p -r "${ROOT}/hadoop-ozone/dist/src/main/compose" .
 run cp -p -r "${ROOT}/hadoop-ozone/dist/src/main/compose" .

+ 4 - 0
hadoop-ozone/dist/pom.xml

@@ -191,5 +191,9 @@
       <groupId>org.apache.hadoop</groupId>
       <groupId>org.apache.hadoop</groupId>
       <artifactId>hadoop-ozone-datanode</artifactId>
       <artifactId>hadoop-ozone-datanode</artifactId>
     </dependency>
     </dependency>
+    <dependency>
+      <groupId>org.apache.hadoop</groupId>
+      <artifactId>hadoop-hdds-docs</artifactId>
+    </dependency>
   </dependencies>
   </dependencies>
 </project>
 </project>

+ 11 - 0
hadoop-ozone/ozone-manager/pom.xml

@@ -40,6 +40,11 @@ http://maven.apache.org/xsd/maven-4.0.0.xsd">
       <artifactId>hadoop-ozone-client</artifactId>
       <artifactId>hadoop-ozone-client</artifactId>
     </dependency>
     </dependency>
 
 
+    <dependency>
+      <groupId>org.apache.hadoop</groupId>
+      <artifactId>hadoop-hdds-docs</artifactId>
+    </dependency>
+
     <dependency>
     <dependency>
       <groupId>org.bouncycastle</groupId>
       <groupId>org.bouncycastle</groupId>
       <artifactId>bcprov-jdk15on</artifactId>
       <artifactId>bcprov-jdk15on</artifactId>
@@ -75,6 +80,12 @@ http://maven.apache.org/xsd/maven-4.0.0.xsd">
                   </outputDirectory>
                   </outputDirectory>
                   <includes>webapps/static/**/*.*</includes>
                   <includes>webapps/static/**/*.*</includes>
                 </artifactItem>
                 </artifactItem>
+                <artifactItem>
+                  <groupId>org.apache.hadoop</groupId>
+                  <artifactId>hadoop-hdds-docs</artifactId>
+                  <outputDirectory>${project.build.outputDirectory}/webapps/ozoneManager</outputDirectory>
+                  <includes>docs/**/*.*</includes>
+                </artifactItem>
               </artifactItems>
               </artifactItems>
               <overWriteSnapshots>true</overWriteSnapshots>
               <overWriteSnapshots>true</overWriteSnapshots>
             </configuration>
             </configuration>

+ 5 - 1
hadoop-ozone/pom.xml

@@ -51,7 +51,6 @@ http://maven.apache.org/xsd/maven-4.0.0.xsd">
     <module>datanode</module>
     <module>datanode</module>
     <module>s3gateway</module>
     <module>s3gateway</module>
     <module>dist</module>
     <module>dist</module>
-    <module>docs</module>
   </modules>
   </modules>
 
 
   <repositories>
   <repositories>
@@ -132,6 +131,11 @@ http://maven.apache.org/xsd/maven-4.0.0.xsd">
         <artifactId>hadoop-hdds-server-scm</artifactId>
         <artifactId>hadoop-hdds-server-scm</artifactId>
         <version>${hdds.version}</version>
         <version>${hdds.version}</version>
       </dependency>
       </dependency>
+      <dependency>
+        <groupId>org.apache.hadoop</groupId>
+        <artifactId>hadoop-hdds-docs</artifactId>
+        <version>${hdds.version}</version>
+      </dependency>
       <dependency>
       <dependency>
         <groupId>org.apache.hadoop</groupId>
         <groupId>org.apache.hadoop</groupId>
         <artifactId>hadoop-hdds-container-service</artifactId>
         <artifactId>hadoop-hdds-container-service</artifactId>