To define or extend an action group you don't need a *-context.xml file, just a web-client-config-custom.xml file. The first is Spring config, the latter is Alfresco's own config platform (including web client config). If you use AMP's, put the config file inside a JAR; if you use the extension system, place it in your extension folder.