maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Guillaume Boué (JIRA) <>
Subject [jira] [Commented] (MENFORCER-260) Add requiresDependencyResolution to EnforceMojo
Date Mon, 19 Dec 2016 19:35:58 GMT


Guillaume Boué commented on MENFORCER-260:

In this case, you can look into the {{maven-artifact-transfer}} shared component. The class
can resolve the file of a given artifact (or with its coordinates). Similarly, [{{DependencyResolver}}|]
can be used to resolve the files of all transitive dependencies of a dependency. Adding {{requiresDependencyResolution}}
to the Mojo itself would make certain existing rules not usable.

> Add requiresDependencyResolution to EnforceMojo
> -----------------------------------------------
>                 Key: MENFORCER-260
>                 URL:
>             Project: Maven Enforcer Plugin
>          Issue Type: Improvement
>            Reporter: Serkan
> Hi,
> For a rule that I want to build I need to inspect project classpath which requires dependency
resolution. Can we have that supported?
> Regards,
> Serkan

This message was sent by Atlassian JIRA

View raw message