Re: [MAVEN-ALL] Restrict imports or API usage by enforcer plugins / other plugins

2020-11-27 Thread Sandra Parsick
Thanks, Ben, for the email. I would like to add, that such automatic check would make it easier for newbie contributor like me to follow code standard of the project. Regards, Sandra Am 27.11.20 um 10:29 schrieb Benjamin Marwell: > Hello everyone, > > MJLINK-PR19 [1] removes some plexus import

[MAVEN-ALL] Restrict imports or API usage by enforcer plugins / other plugins

2020-11-27 Thread Benjamin Marwell
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. j