commit 106f9c19b602a65ab957638344187dd37b809f22
Author: Mauro Talevi <[email protected]>
AuthorDate: Sun Apr 29 10:43:04 2012 +0200
Commit: Mauro Talevi <[email protected]>
CommitDate: Sun Apr 29 10:43:04 2012 +0200
Added navigator view.
diff --git a/etsy-selenium/java-spring/pom.xml
b/etsy-selenium/java-spring/pom.xml
index b6a6538..fe45c86 100644
--- a/etsy-selenium/java-spring/pom.xml
+++ b/etsy-selenium/java-spring/pom.xml
@@ -115,7 +115,11 @@
<target>1.5</target>
</configuration>
</plugin>
-
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-dependency-plugin</artifactId>
+ <version>2.4</version>
+ </plugin>
<!--This plugin's configuration is used to store Eclipse m2e settings
only. It has no influence on the Maven build itself. -->
<plugin>
@@ -171,6 +175,32 @@
</resources>
<plugins>
<plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-dependency-plugin</artifactId>
+ <executions>
+ <execution>
+ <id>unpack-resources-core</id>
+ <phase>process-resources</phase>
+ <goals>
+ <goal>unpack</goal>
+ </goals>
+ <configuration>
+
<outputDirectory>${project.build.directory}/jbehave/view</outputDirectory>
+ <overWriteReleases>true</overWriteReleases>
+ <overWriteSnapshots>true</overWriteSnapshots>
+ <excludes>**/*.class</excludes>
+ <artifactItems>
+ <artifactItem>
+ <groupId>org.jbehave</groupId>
+ <artifactId>jbehave-navigator</artifactId>
+ <version>${jbehave.core.version}</version>
+ </artifactItem>
+ </artifactItems>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
+ <plugin>
<groupId>org.jbehave</groupId>
<artifactId>jbehave-maven-plugin</artifactId>
<version>${jbehave.core.version}</version>
diff --git
a/etsy-selenium/java-spring/src/main/java/org/jbehave/tutorials/etsy/steps/JournaledStoriesSteps.java
b/etsy-selenium/java-spring/src/main/java/org/jbehave/tutorials/etsy/steps/JournaledStoriesSteps.java
index 0600ea5..cdc4a05 100644
---
a/etsy-selenium/java-spring/src/main/java/org/jbehave/tutorials/etsy/steps/JournaledStoriesSteps.java
+++
b/etsy-selenium/java-spring/src/main/java/org/jbehave/tutorials/etsy/steps/JournaledStoriesSteps.java
@@ -1,12 +1,8 @@
package org.jbehave.tutorials.etsy.steps;
import org.jbehave.core.annotations.AfterStories;
-import org.jbehave.core.annotations.BeforeStories;
import org.jbehave.web.selenium.FirefoxWebDriverProvider;
-import org.jbehave.web.selenium.PerStoriesWebDriverSteps;
import org.jbehave.web.selenium.WebDriverProvider;
-import org.openqa.selenium.WebDriver;
-import org.springframework.beans.factory.annotation.Autowired;
public class JournaledStoriesSteps {