I have a query about exclusion of maven dependencies . Consider the following
org.springframework.security
You can utilize the dependency management mechanism.
If you create entries in the
I'm not sure if that really saves you any code, but it is a cleaner solution IMO.