| 1 | |
package org.jbehave.mojo; |
| 2 | |
|
| 3 | |
import org.apache.maven.plugin.MojoExecutionException; |
| 4 | |
import org.apache.maven.plugin.MojoFailureException; |
| 5 | |
import org.jbehave.core.embedder.Embedder; |
| 6 | |
|
| 7 | |
|
| 8 | |
|
| 9 | |
|
| 10 | |
|
| 11 | |
|
| 12 | |
|
| 13 | 0 | public class MapStoriesAsPaths extends AbstractEmbedderMojo { |
| 14 | |
|
| 15 | |
public void execute() throws MojoExecutionException, MojoFailureException { |
| 16 | 0 | Embedder embedder = newEmbedder(); |
| 17 | 0 | getLog().info("Mapping stories as paths using embedder "+embedder); |
| 18 | 0 | embedder.mapStoriesAsPaths(storyPaths()); |
| 19 | 0 | } |
| 20 | |
|
| 21 | |
} |