You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nifi.apache.org by jo...@apache.org on 2017/05/05 20:12:59 UTC

nifi git commit: NIFI-3815 This closes #1763. Fix build RPM using mvn install -Prpm, generateArchives

Repository: nifi
Updated Branches:
  refs/heads/master 5f65b2561 -> d069bf9c3


NIFI-3815 This closes #1763. Fix build RPM using mvn install -Prpm,generateArchives

Signed-off-by: joewitt <jo...@apache.org>


Project: http://git-wip-us.apache.org/repos/asf/nifi/repo
Commit: http://git-wip-us.apache.org/repos/asf/nifi/commit/d069bf9c
Tree: http://git-wip-us.apache.org/repos/asf/nifi/tree/d069bf9c
Diff: http://git-wip-us.apache.org/repos/asf/nifi/diff/d069bf9c

Branch: refs/heads/master
Commit: d069bf9c3ee83a6fa41f36065131f72ade74fc70
Parents: 5f65b25
Author: Joey Frazee <jf...@apache.org>
Authored: Fri May 5 18:10:14 2017 +0000
Committer: joewitt <jo...@apache.org>
Committed: Fri May 5 16:12:28 2017 -0400

----------------------------------------------------------------------
 nifi-assembly/pom.xml | 20 ++++----------------
 1 file changed, 4 insertions(+), 16 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/nifi/blob/d069bf9c/nifi-assembly/pom.xml
----------------------------------------------------------------------
diff --git a/nifi-assembly/pom.xml b/nifi-assembly/pom.xml
index c92228e..1fb72e2 100755
--- a/nifi-assembly/pom.xml
+++ b/nifi-assembly/pom.xml
@@ -522,17 +522,13 @@
                         <configuration>
                             <name>nifi</name>
                             <summary>Apache NiFi</summary>
-                            <description>Apache NiFi is dataflow system
-                                based on the Flow-Based Programming
-                                concepts.</description>
-                            <license>Apache License, Version 2.0 and
-                                others (see included LICENSE file)</license>
+                            <description>Apache NiFi is dataflow system based on the Flow-Based Programming concepts.</description>
+                            <license>Apache License, Version 2.0 and others (see included LICENSE file)</license>
                             <url>http://nifi.apache.org</url>
                             <group>Utilities</group>
                             <prefix>/opt/nifi</prefix>
                             <defineStatements>
-                                <defineStatement>_use_internal_dependency_generator
-                                    0</defineStatement>
+                                <defineStatement>_use_internal_dependency_generator 0</defineStatement>
                             </defineStatements>
                             <defaultDirmode>750</defaultDirmode>
                             <defaultFilemode>640</defaultFilemode>
@@ -548,15 +544,7 @@
                                 <script>sed -i s/^run\.as=$/run\.as=${nifi.run.as}/ $RPM_BUILD_ROOT/opt/nifi/nifi-${project.version}/conf/bootstrap.conf</script>
                             </installScriptlet>
                             <preinstallScriptlet>
-                                <script>
-                                    /usr/bin/getent group nifi
-                                    &gt;/dev/null || /usr/sbin/groupadd
-                                    -r nifi; /usr/bin/getent passwd nifi
-                                    &gt;/dev/null || /usr/sbin/useradd
-                                    -r -g nifi -d /opt/nifi -s
-                                    /sbin/nologin -c "NiFi System User"
-                                    nifi
-                                </script>
+                                <script>/usr/bin/getent group nifi &gt;/dev/null || /usr/sbin/groupadd -r nifi; /usr/bin/getent passwd nifi &gt;/dev/null || /usr/sbin/useradd -r -g nifi -d /opt/nifi -s /sbin/nologin -c "NiFi System User" nifi</script>
                             </preinstallScriptlet>
                         </configuration>
                         <executions>