AWS custom processor build failing on upgrading nifi version to 1.11 from 1.8

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

AWS custom processor build failing on upgrading nifi version to 1.11 from 1.8

sanjeet rath
Hi,

I have created a  custom aws controler service by creating a new java project. Where i have created a new java file is same as awsCredentialProviderControlerService  with some of my changes.

Public class awsCredentialProviderControlerService extends abstractcontrolerservice implements awsCredentialProviderService
{
code 
}

In my project i have added nifi-aws-processor 1.8 as pom depedency to make it work and build nar file and this was working fine.

However when i am changing the pom version to 1.11.4 of nifi-aws-processor.

It gives me Compilation error on awsCredentialProviderService.

When i am explicitily adding Nifi-aws-service-api as my pom file as a depdency in my new project along with nifi-aws-processor it is working fine.

My question is, Nifi-aws-service-api
Is already added as pom dependency in nifi-aws-processor's pom file.

So only addding nifi-aws-processor in pom file as a dependency should work and it was working in 1.8 version.


Could you please help me to understand,
Is there in build related changes there in 1.11.4 version.

Thanks and regards
Sanjeet
Reply | Threaded
Open this post in threaded view
|

Re: AWS custom processor build failing on upgrading nifi version to 1.11 from 1.8

Peter Turcsanyi-2
Hi Sanjeet,

IMO this topic is rather for the dev mailing list.

Could you please attach the pom files you are using in your custom module?

Regards,
Peter

On Fri, Jun 5, 2020 at 6:22 PM sanjeet rath <[hidden email]> wrote:
Hi,

I have created a  custom aws controler service by creating a new java project. Where i have created a new java file is same as awsCredentialProviderControlerService  with some of my changes.

Public class awsCredentialProviderControlerService extends abstractcontrolerservice implements awsCredentialProviderService
{
code 
}

In my project i have added nifi-aws-processor 1.8 as pom depedency to make it work and build nar file and this was working fine.

However when i am changing the pom version to 1.11.4 of nifi-aws-processor.

It gives me Compilation error on awsCredentialProviderService.

When i am explicitily adding Nifi-aws-service-api as my pom file as a depdency in my new project along with nifi-aws-processor it is working fine.

My question is, Nifi-aws-service-api
Is already added as pom dependency in nifi-aws-processor's pom file.

So only addding nifi-aws-processor in pom file as a dependency should work and it was working in 1.8 version.


Could you please help me to understand,
Is there in build related changes there in 1.11.4 version.

Thanks and regards
Sanjeet