The Artifact Usage Nexus Plugin is an open source plugin for Nexus that can do that. A list of further available plugins and integrations is available in the free Nexus book.
Be sure to use the correct version of Nexus with the plugin or fork the project and update it to your version of Nexus.