commit a5b93ab6d2470bd854fb0d3f0d659058b06919c1 Author: Simon Zambrovski <simon.zambrov...@holisticon.de> AuthorDate: Tue, 23 Jul 2013 00:35:08 +0200 Commit: Mauro Talevi <mauro.tal...@aquilonia.org> CommitDate: Tue, 23 Jul 2013 09:09:52 +0200
JBEHAVE-899: Fixed test dependency and path to story in archetype diff --git a/archetypes/jbehave-needle-archetype/src/main/resources/archetype-resources/src/main/java/MyStories.java b/archetypes/jbehave-needle-archetype/src/main/resources/archetype-resources/src/main/java/MyStories.java index 8217385..e9561bc 100644 --- a/archetypes/jbehave-needle-archetype/src/main/resources/archetype-resources/src/main/java/MyStories.java +++ b/archetypes/jbehave-needle-archetype/src/main/resources/archetype-resources/src/main/java/MyStories.java @@ -91,7 +91,7 @@ public class MyStories extends JUnitStories { @Override protected List<String> storyPaths() { - return new StoryFinder().findPaths(codeLocationFromPath("../core/src/main/java"), "**/*.story", ""); + return new StoryFinder().findPaths(codeLocationFromPath("src/main/resources"), "**/*.story", ""); } } \ No newline at end of file diff --git a/jbehave-needle/pom.xml b/jbehave-needle/pom.xml index 12edd56..515e2d3 100644 --- a/jbehave-needle/pom.xml +++ b/jbehave-needle/pom.xml @@ -25,6 +25,7 @@ <groupId>org.slf4j</groupId> <artifactId>slf4j-log4j12</artifactId> <version>1.7.5</version> + <scope>test</scope> </dependency> </dependencies> </project>