You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@nifi.apache.org by Chandrashekhar Kotekar <sh...@gmail.com> on 2019/10/14 11:43:03 UTC
NAR has test level dependencies
Hi,
We have written some custom processor and controller services and packaged
them in single NAR bundle but this NAR has dependencies marked with
<scope>test</scope> as well. Example of such dependencies is scalatest,
junit, etc. These dependencies are not really needed to run processor in
NiFi but they still got added.
Is there any way to skip these dependencies being added in final NAR?
Regards,
Chandra
Re: NAR has test level dependencies
Posted by Chandrashekhar Kotekar <sh...@gmail.com>.
Thanks for quick help. Will try and let you know.
Sent from my iPhone
> On 14 Oct 2019, at 12:53 pm, Joe Witt <jo...@gmail.com> wrote:
>
> Chandra
>
> Something is making them compile scope likely. Use maven tools like help:effective-pom to see what the actual pom is when building the nar. You can then zero in by doing the same on the processor bundle.
>
> thanks
>
>> On Mon, Oct 14, 2019 at 7:51 AM Chandrashekhar Kotekar <sh...@gmail.com> wrote:
>> Hi,
>>
>> We have written some custom processor and controller services and packaged them in single NAR bundle but this NAR has dependencies marked with <scope>test</scope> as well. Example of such dependencies is scalatest, junit, etc. These dependencies are not really needed to run processor in NiFi but they still got added.
>>
>> Is there any way to skip these dependencies being added in final NAR?
>>
>> Regards,
>> Chandra
Re: NAR has test level dependencies
Posted by Joe Witt <jo...@gmail.com>.
Chandra
Something is making them compile scope likely. Use maven tools like
help:effective-pom to see what the actual pom is when building the nar.
You can then zero in by doing the same on the processor bundle.
thanks
On Mon, Oct 14, 2019 at 7:51 AM Chandrashekhar Kotekar <
shekhar.kotekar@gmail.com> wrote:
> Hi,
>
> We have written some custom processor and controller services and packaged
> them in single NAR bundle but this NAR has dependencies marked with
> <scope>test</scope> as well. Example of such dependencies is scalatest,
> junit, etc. These dependencies are not really needed to run processor in
> NiFi but they still got added.
>
> Is there any way to skip these dependencies being added in final NAR?
>
> Regards,
> Chandra
>