Re: Compiling custom processor

2018-10-17 Thread Bryan Bende
and uploading my simple processor. > > Thanks for the assistance > John McGinn > > ---- > On Tue, 10/16/18, Bryan Bende wrote: > > Subject: Re: Compiling custom processor > To: figgie...@sbcglobal.net > Date: Tuesday, October 16, 2018, 4:45 P

Re: Compiling custom processor

2018-10-17 Thread John McGinn
: Re: Compiling custom processor To: figgie...@sbcglobal.net Date: Tuesday, October 16, 2018, 4:45 PM You shouldn't really try to depend on code inside other NARs like standard processors, you'll want to copy WaitNotifyProtocol into your own NAR. On Tue, Oct 16, 2018 at 4:40 PM John McGinn

Re: Compiling custom processor

2018-10-16 Thread Bryan Bende
- > On Tue, 10/16/18, Bryan Bende wrote: > > Subject: Re: Compiling custom processor > To: dev@nifi.apache.org > Date: Tuesday, October 16, 2018, 3:34 PM > > There shouldn't be any issue > doing that, generally you just copy the &g

Re: Compiling custom processor

2018-10-16 Thread John McGinn
(). (Again, this is a copy and renamed class of the Wait Processor. Trying to turn it into a Yield, as it were, hold unless it's free to move forward.) On Tue, 10/16/18, Bryan Bende wrote: Subject: Re: Compiling custom processor To: dev@nifi.apache.org Dat

Re: Compiling custom processor

2018-10-16 Thread Bryan Bende
-- > On Tue, 10/16/18, John McGinn wrote: > > Subject: Re: Compiling custom processor > To: dev@nifi.apache.org > Date: Tuesday, October 16, 2018, 1:21 PM > > Thanks Bryan, > > I restarted with a fresh maven > generate, an

Re: Compiling custom processor

2018-10-16 Thread John McGinn
On Tue, 10/16/18, John McGinn wrote: Subject: Re: Compiling custom processor To: dev@nifi.apache.org Date: Tuesday, October 16, 2018, 1:21 PM Thanks Bryan, I restarted with a fresh maven generate, and only added the API to the processor pom

Re: Compiling custom processor

2018-10-16 Thread John McGinn
On Tue, 10/16/18, Bryan Bende wrote: Subject: Re: Compiling custom processor To: dev@nifi.apache.org Date: Tuesday, October 16, 2018, 9:52 AM In general, if your processor uses a controller service then the processors pom file needs a provided

Re: Compiling custom processor

2018-10-16 Thread Mike Thomsen
If you want to look at a large Maven project that builds several custom NARs from one unified build system, take a look at my data generation bundle here: https://github.com/MikeThomsen/nifi-datageneration-bundle On Tue, Oct 16, 2018 at 9:53 AM Bryan Bende wrote: > In general, if your

Re: Compiling custom processor

2018-10-16 Thread Bryan Bende
In general, if your processor uses a controller service then the processors pom file needs a provided dependency on the API of the CS, and your NAR pom needs a NAR dependency on the NAR where the CS API is. Example is shown here in the section linking processors and controller services -

Compiling custom processor

2018-10-16 Thread John McGinn
Ok, I am far from a maven expert, and am struggling on this problem. I created a new project using the maven generate process, and compiled that sample processor and everything was fine, and I could see it in my local NiFi instance. I then copied over the Wait processor on top of the