This should be possible for when running your build in a single thread, but not sure how to handle when people run the build in multiple threads.
Could base the start of the consuming on the:
--- artifactId:version:goal (executionId) @ project ---
Then stop on the next occurrence of the above pattern or the next occurrence of a line that starts with "---"?