Github user jvwing commented on the pull request:
https://github.com/apache/nifi/pull/267#issuecomment-216644453
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`
1. 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?
---
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.
---