In 2.x, responsibilities are split between the StoryRunner and the Ant task/Maven plugin. E.g. the ability to skip some stories or ignore failure is configured at Ant/Maven level.
An Embedder should instead be responsible for running stories in the same way, whatever environment it is embedded in, IDE, CLI, web.
The Ant/Maven layer should become wafer-thin, only responsible for collecting the stories to be run, delegating to the embedder.