Java based configuration working commit with XML files in classpath