Not sure from looking at the code and not having Maven plugin experience whether we need to notify buildContext.refresh about this change here, or whether the call further down to buildContext.newFileOutputStream will do that for us, or whether our cache is entire independent of the buildContext and hence newFileOutputStream won't mind where we get the source from.