This is an automated email from the ASF dual-hosted git repository.

exceptionfactory pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/nifi.git


The following commit(s) were added to refs/heads/main by this push:
     new 4c9b37a721a NIFI-16647 Corrected build examples in Administration 
Guide (#11976)
4c9b37a721a is described below

commit 4c9b37a721a3634adb1b23a0c2165357345553a3
Author: Joe Witt <[email protected]>
AuthorDate: Mon Nov 30 19:35:23 2026 -0700

    NIFI-16647 Corrected build examples in Administration Guide (#11976)
    
    - Removed obsolete include-grpc profile from custom distribution example
    - Changed example to run from the project root using -am -pl :nifi-assembly
    - Replaced non-functional include-all profile with allProfiles property
    
    Co-authored-by: Cursor <[email protected]>
    Signed-off-by: David Hnadermann <[email protected]>
---
 nifi-docs/src/main/asciidoc/administration-guide.adoc | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/nifi-docs/src/main/asciidoc/administration-guide.adoc 
b/nifi-docs/src/main/asciidoc/administration-guide.adoc
index 21355cde2ac..8a03597c393 100644
--- a/nifi-docs/src/main/asciidoc/administration-guide.adoc
+++ b/nifi-docs/src/main/asciidoc/administration-guide.adoc
@@ -81,13 +81,13 @@ Java 21 is required for building and running Apache NiFi.
 
 The next step is to download a copy of the Apache NiFi source code from the 
https://nifi.apache.org/download/[NiFi Downloads page]. The reason you need the 
source build is that it includes a module called `nifi-assembly` which is the 
Maven module that builds a binary distribution. Expand the archive and run a 
Maven clean build. The following example shows how to build a distribution that 
activates the `graph` and `media` bundle profiles to add in support for graph 
databases and Apache Ti [...]
 
-`cd <nifi_source_folder>/nifi-assembly`
+`cd <nifi_source_folder>`
 
-`./mvnw clean install -Pinclude-grpc,include-graph,include-media`
+`./mvnw clean install -T1C -am -pl :nifi-assembly 
-Pinclude-graph,include-media`
 
-There is also a specific profile allowing you to build NiFi with all of the 
additional bundles that are not included by default:
+There is also a system property allowing you to build NiFi with all of the 
additional bundles that are not included by default:
 
-`./mvnw clean install -Pinclude-all`
+`./mvnw clean install -T1C -am -pl :nifi-assembly -DallProfiles=true`
 
 This will include all optional bundles.
 

Reply via email to