Github user alopresto commented on the pull request:

    https://github.com/apache/nifi/pull/267#issuecomment-216661583
  
    I'm away from my keyboard right now but I have always used the 
`maven:shade` plugin.
    
    Andy LoPresto
    alopre...@hortonworks.com<mailto:alopre...@hortonworks.com>
    Sr. Member of Technical Staff
    410.292.6331<tel:410.292.6331>
    PGP Fingerprint: 9B51 8C0D A489 0D3C 2F5B  0F2B 125A 4E68 51BF 2B79
    
    On May 3, 2016, at 12:48, James Wing 
<notificati...@github.com<mailto:notificati...@github.com>> wrote:
    
    
    I added a new CLI utility that just hashes passwords using Bcrypt. For the 
moment, I left the rest of the code alone. I'm still struggling with how to 
best package and distribute any command-line utility. There are currently a 
couple of undesirable steps to running this:
    
      1.  Build a standalone jar of nifi-file-identity-provider using mvn 
compile assembly:single
      2.  Run the standalone jar like java -jar 
nifi-file-identity-provider-1.0.0-SNAPSHOT-jar-with-dependencies.jar
    
    I do not know how to run the class from within the NAR file. It seems like 
we would need to get the module to compile to JAR, get the JAR in the lib 
folder, and then make a shell script to wrap the nice java syntax. Any ideas on 
that?
    
    -
    You are receiving this because you were mentioned.
    Reply to this email directly or view it on 
GitHub<https://github.com/apache/nifi/pull/267#issuecomment-216644453>



---
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 infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

Reply via email to