Completed working Maven build process. Required much more code changing
than should have been the case, as in one place at least, injection that
works in Grails fails in Maven. I'm not especially happy about that.