Skip to content

Maven Plugin Usage

Damian Jansen edited this page Aug 22, 2018 · 4 revisions

Restrict

With this plugin, you can restrict access from any package/class to target package/class/method inside the compiled code and the (jar/war/ear) dependencies.

See https://github.com/yamanyar/restrict-maven-plugin

mvn restrict-maven-plugin:restrict@default -Drestrict.skip=false

Clone this wiki locally