NIFI-192 fixed dependency inclusion/exclusion logic for RPM

This commit is contained in:
joewitt 2014-12-20 21:43:09 -05:00
parent a3664a00c8
commit 42f9cfb2d9
1 changed files with 13 additions and 4 deletions

View File

@ -383,9 +383,6 @@
<provides>
<provide>nifi</provide>
</provides>
<requires>
<require>jdk</require>
</requires>
<mappings>
<mapping>
<directory>/opt/nifi/nifi-${project.version}</directory>
@ -428,7 +425,19 @@
</mapping>
<mapping>
<directory>/opt/nifi/nifi-${project.version}/lib</directory>
<dependency />
<dependency>
<excludes>
<exclude>org.apache.nifi:nifi-bootstrap</exclude>
</excludes>
</dependency>
</mapping>
<mapping>
<directory>/opt/nifi/nifi-${project.version}/lib/bootstrap</directory>
<dependency>
<includes>
<include>org.apache.nifi:nifi-bootstrap</include>
</includes>
</dependency>
</mapping>
<mapping>
<directory>/opt/nifi/nifi-${project.version}/docs</directory>