I have a requirement regarding adding a subscription system while downloading dependency from the Nexus repo. The scenario is like this-
I have a Java project that is deployed in nexus maven releases. I can import this project from another project using Maven dependency.
Now the requirement is we need to add a licensing system while downloading from the Nexus repository. Every time before downloading the dependency it will check the subscription status and allow the system to download it.
How can I achieve this? Is there any OOTB solution that is provided by Nexus or any plugin available for this?
If I need to add custom implementation a proper guideline will be helpful.