diff --git a/nifi-assembly/pom.xml b/nifi-assembly/pom.xml index 650e6cb760..dded8e4c31 100644 --- a/nifi-assembly/pom.xml +++ b/nifi-assembly/pom.xml @@ -21,12 +21,33 @@ language governing permissions and limitations under the License. --> This is the assembly Apache NiFi + + maven-dependency-plugin + + + extract-extension-manifests + + unpack-dependencies + + generate-resources + + nar + **/extension-manifest.xml + false + ${project.build.directory}/extension-manifests + true + true + true + true + + + + + + + maven-assembly-plugin - - nifi-${project.version} - false - make shared resource @@ -35,6 +56,8 @@ language governing permissions and limitations under the License. --> package + nifi-${project.version} + false 0775 0775 @@ -51,6 +74,29 @@ language governing permissions and limitations under the License. --> + + make-extension-manifest-assembly + + single + + package + + nifi-${project.version} + true + + 0775 + 0775 + 0664 + + + src/main/assembly/extension-manifests.xml + + posix + + zip + + + @@ -1335,10 +1381,6 @@ language governing permissions and limitations under the License. --> maven-assembly-plugin - - nifi-${project.version} - false - make shared resource @@ -1347,6 +1389,8 @@ language governing permissions and limitations under the License. --> package + nifi-${project.version} + false 0775 0775 @@ -1401,10 +1445,6 @@ language governing permissions and limitations under the License. --> maven-assembly-plugin - - nifi-${project.version} - false - make shared resource @@ -1413,6 +1453,8 @@ language governing permissions and limitations under the License. --> package + nifi-${project.version} + false 0775 0775 diff --git a/nifi-assembly/src/main/assembly/extension-manifests.xml b/nifi-assembly/src/main/assembly/extension-manifests.xml new file mode 100644 index 0000000000..cbcb374924 --- /dev/null +++ b/nifi-assembly/src/main/assembly/extension-manifests.xml @@ -0,0 +1,28 @@ + + + + manifests + true + nifi-manifests + + + + ${project.build.directory}/extension-manifests + ./ + + + + \ No newline at end of file diff --git a/pom.xml b/pom.xml index 6427220654..a1a4d96d5f 100644 --- a/pom.xml +++ b/pom.xml @@ -583,6 +583,7 @@ org.apache.maven.plugins maven-assembly-plugin + 3.3.0 gnu @@ -661,6 +662,11 @@ + + org.apache.maven.plugins + maven-dependency-plugin + 3.1.2 +