Hello everyone,

MJLINK-PR19 [1] removes some plexus imports.
In the PR discussion the idea came up to add an enforcer rule to this
or even other plugins which forbids imports, e.g. to plexus.

There is also a weaker version, the forbidden-api checker [2] can
check for specific method calls, e.g. just a specific method call
(even like Optional::get).

The next stricter rule would be to add an enforcer rule to disallow
certain dependencies, like plexus-utils.

As suggested in [1], is this something which could/should be applied
to all plugins?

Regards,
Ben

[1] https://github.com/apache/maven-jlink-plugin/pull/19
[2] https://github.com/policeman-tools/forbidden-apis

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@maven.apache.org
For additional commands, e-mail: dev-h...@maven.apache.org

Reply via email to