GitHub user ctomc opened a pull request:
https://github.com/apache/maven-enforcer/pull/20
MENFORCER-195 - use DependencyGraphBuilder API instead of
DependencyTreeBuilder
Using this I get enforcer to work with wildcard exclusion without any issue.
as a bonus ban bad dependencies rule also gets much faster (0.5sec vs
15sec) in our case.
Initial issue that was mentioned in MENFORCER-195 was somewhat fixed as
part of work on MDEP-374 so it is safe to use new API.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/ctomc/maven-enforcer enforcer-wildcards
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/maven-enforcer/pull/20.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #20
----
commit bd5d85333d110b9b3429ae7fe006c4049a712430
Author: Tomaz Cerar <[email protected]>
Date: 2016-11-14T14:42:11Z
MENFORCER-195 - use DependencyGraphBuilder API instead of
DependencyTreeBuilder
----
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]