ZhangXinchen, Rather than having one NAR for each API, you'd want a single API NAR that includes both API JARs. We do this for nifi-standard-services-api-nar as an example.
Regards, Matt On Fri, Feb 25, 2022 at 8:55 PM 413155245 <[email protected]> wrote: > > Hi all: > > > When I'm developing my customized Processor A, which needs to integrate > customized Controller Service B and customized Controller Service C. These > projects are all generated by NiFi maven archetype. > > > I add service-api of Controller Service B and service-api of Controller > Service C in POM of Processor A project. > > > However, only one NAR dependency can be relied on, because each NAR > represents a separated ClassLoader. > > > So, how to integrate multiple Controller Services in one Processor, and how > to organize NAR dependency in POM of the Processor? > > > Thanks! > > > ZhangXinchen
