The path contextOverrides isn't loaded from PortalApplicationContextLocator used from gradle task like dataInit. So some bean customization can't work, more when you need a specific groupStore not configured by default (SmartLDAPGroupStore).
fix purpose : https://github.com/Jasig/uPortal/pull/1207