diff --git a/assembly/pom.xml b/assembly/pom.xml index 17cf29b481..887086cf6f 100644 --- a/assembly/pom.xml +++ b/assembly/pom.xml @@ -43,6 +43,19 @@ false + + unpack-docs + + unpack-dependencies + + generate-resources + + ${project.build.directory}/generated-docs + nifi-docs + org.apache.nifi + false + + @@ -123,6 +136,13 @@ provided zip + + org.apache.nifi + nifi-docs + resources + provided + zip + org.apache.nifi nifi-framework-nar diff --git a/assembly/src/main/assembly/dependencies.xml b/assembly/src/main/assembly/dependencies.xml index f90127af4d..13e5b832c6 100644 --- a/assembly/src/main/assembly/dependencies.xml +++ b/assembly/src/main/assembly/dependencies.xml @@ -81,6 +81,13 @@ 0640 false + + ${project.build.directory}/generated-docs/ + docs + 0750 + 0640 + false + diff --git a/nifi-docs/pom.xml b/nifi-docs/pom.xml index 979f1f8901..1979b66526 100644 --- a/nifi-docs/pom.xml +++ b/nifi-docs/pom.xml @@ -99,9 +99,26 @@ $1 + + maven-assembly-plugin + + true + + + + make shared resource + + single + + package + + + src/main/assembly/dependencies.xml + + + + + - - - diff --git a/nifi-docs/src/main/assembly/dependencies.xml b/nifi-docs/src/main/assembly/dependencies.xml new file mode 100644 index 0000000000..8c41ead4d4 --- /dev/null +++ b/nifi-docs/src/main/assembly/dependencies.xml @@ -0,0 +1,28 @@ + + + + resources + + zip + + false + + + ${project.build.directory}/generated-docs + /user-guide/ + + + diff --git a/pom.xml b/pom.xml index 9cccbf4b1a..2ccdaa943d 100644 --- a/pom.xml +++ b/pom.xml @@ -708,6 +708,14 @@ provided zip + + org.apache.nifi + nifi-docs + ${project.version} + resources + provided + zip + org.apache.nifi nifi-framework-nar