spoof
spoof

Reputation: 65

Is there a way to build a custom Nifi processor without using maven?

I would like to write a few Nifi processors to interact with another project I am working on. My plan at the moment is to write the Nifi processors inside the other project and generate the nar files manually within eclipse. Would that be doable or is Maven absolutely necessary?

Upvotes: 3

Views: 1124

Answers (1)

mattyb
mattyb

Reputation: 12093

You don't need Maven per se, although there is a "NAR Mojo" plugin used to put various metadata in the manifest, such as version information and a reference to a parent NAR (if your NAR has one). Other folks have used Gradle, there is a Gradle plugin that does something similar.

If you are building from Eclipse you'll just need to manually construct a JAR file (with .nar extension rather than .jar) that has the processor JAR and any bundled dependencies in the expected format. Do a jar tvf <already_existing>.nar to see what the expected structure looks like.

Upvotes: 5

Related Questions