Custom NAR Class Loader Issue

2018-03-02 Thread Douglas Willcocks
Hi all, I'm encountering a JAR version dependency issue when developing a custom Processor that uses the GCPCredentialsService in Nifi 1.5.0. 1) The nifi-gcp-bundle distributed with Nifi 1.5.0 (which contains GCPCredentialsService) is packaged with dependencies on: - com.google.cloud:google-c

Re: Custom NAR Class Loader Issue

2018-03-02 Thread Bryan Bende
Doug, I think the only solution is what you proposed about fixing the nifi-gcp-bundle... Basically, if a NAR needs a different version of a dependency that is already declared in the root pom's dependencyManagement, then the bundle's pom needs it own dependencyManagement to force it back to the s

Re: Custom NAR Class Loader Issue

2018-03-02 Thread Joe Witt
i suspect we can eliminate the dependency management section altogether at this point in the parent pom. On Fri, Mar 2, 2018 at 1:40 PM, Bryan Bende wrote: > Doug, > > I think the only solution is what you proposed about fixing the > nifi-gcp-bundle... > > Basically, if a NAR needs a different ve