# Is it possible to add a licensing system while a dependency download from the Nexus repo?

**URL:** <https://community.sonatype.com/t/is-it-possible-to-add-a-licensing-system-while-a-dependency-download-from-the-nexus-repo/10715>\
**Category:** Best Practices\
**Tags:** nexus-repository\
**Created:** [May 31, 2023, 5:31am UTC](https://community.sonatype.com/t/is-it-possible-to-add-a-licensing-system-while-a-dependency-download-from-the-nexus-repo/10715 "2023-05-31T05:31:51Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![sady.rifat](https://avatars.discourse-cdn.com/v4/letter/s/b9bd4f/32.png) [@sady.rifat](https://community.sonatype.com/u/sady.rifat)\
**Post date:** [May 31, 2023, 5:31am UTC](https://community.sonatype.com/t/is-it-possible-to-add-a-licensing-system-while-a-dependency-download-from-the-nexus-repo/10715/1 "2023-05-31T05:31:52Z")

</div>

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.
