Custom Processor Template - 1904labs/nifi-encrypt-value-bundle GitHub Wiki

Using maven archetypes, you can create a custom processor with most of the boiler-plate code taken care of for you. Here is an example:

mvn archetype:generate \
  -DgroupId=com.nineteen04labs \
  -DartifactId=nifi-myprocessor-bundle \
  -DartifactBaseName=myprocessor \
  -Dpackage=com.nineteen04labs.processors.myprocessor \
  -Dversion=18.08.0 \
  -DarchetypeGroupId=org.apache.nifi \
  -DarchetypeArtifactId=nifi-processor-bundle-archetype \
  -DarchetypeVersion=1.7.1 \
  -DnifiVersion=1.7.1 \
  -DinteractiveMode=false