GitHub user jvwing opened a pull request:

    https://github.com/apache/nifi/pull/196

    Updating RPM build to fix bootstrap dependencies

    This is a potential fix to NIFI-1454 "Built RPMs Do Not Result in Working 
NiFi Installation".  The fix involves adding all dependencies to 
`lib/bootstrap` by default, then excluding the entire laundry list of NAR file 
dependencies.  This is ugly, with the following pros and cons:
    
    **Pros**:
    
    - It results in a working install
    
    **Cons**:
    
    - Unnecessary duplicate transitive dependencies are left in both `lib` and 
`lib/bootstrap` as a result of using two `<exclude>` lists
    - Excluding the detailed list of NAR files implies an increase in future 
nifi-assembly POM maintenance as new modules are added
    - Failure to maintain the detailed exclude list will result in more 
unnecessary duplicate files (but not breaking)
    
    I haven't figured out a more elegant solution, but I believe this is an 
incremental improvement.

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/jvwing/nifi nifi-1454-rpm-build

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/nifi/pull/196.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #196
    
----
commit 54f044b0d97d04621504d13be6e5a7270e5bcf0d
Author: James Wing <[email protected]>
Date:   2016-01-31T00:39:21Z

    Updating RPM build to fix bootstrap dependencies

----


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---

Reply via email to