Our plugin analyses and shows security and licenses issues in Maven projects.
In it, we display the project's components-tree (direct and transitive) with the corresponding known issues.
We would like to add a functionality, in which a user can right-click a component, and exclude it from the maven project.
To do so, we have the selected GroupId, ArtifactId and version of the component, and the MavenProject (provided by the MavenProjectsManager).
After using your guide for excluding components via the dependencies-graph UI, I was wondering if there is an API I can use to achieve this programmatically from our plugin.
Your help is highly appreciated.