commit d86d539e32402f17dad302601ad8cd69888df64c
Author:     Mauro Talevi <[email protected]>
AuthorDate: Mon, 24 Feb 2014 22:22:40 +0100
Commit:     Mauro Talevi <[email protected]>
CommitDate: Mon, 24 Feb 2014 22:22:40 +0100

    Tidy up examples

diff --git 
a/examples/core/src/main/java/org/jbehave/examples/core/stories/step_composition.story
 
b/examples/core/src/main/java/org/jbehave/examples/core/stories/step_composition.story
index 40d8873..eaae60a 100755
--- 
a/examples/core/src/main/java/org/jbehave/examples/core/stories/step_composition.story
+++ 
b/examples/core/src/main/java/org/jbehave/examples/core/stories/step_composition.story
@@ -20,7 +20,6 @@ Scenario: Using a composite step with normal parameter 
matching
 !--                      "When a <product> is added to the cart" }) 
 !-- public void aCompositeStep(@Named("customer") String customer, 
@Named("product") String product) { // composed steps use these named 
parameters 
 !-- }
-!--
 
 Given Mr Jones has previously bought a ticket
 
@@ -33,7 +32,6 @@ Scenario: Using a composite step in a parameterised scenario
 !--                      "When a <product> is added to the cart" })
 !-- public void aCompositeStep(@Named("customer") String customer, 
@Named("product") String product) { // composed steps use these named 
parameters 
 !-- }
-!--
 
 Given <customer> has previously bought a <product>
 
@@ -50,6 +48,5 @@ The composed step not found should be reported as pending and 
the subsequent com
 !--                      "Given <customer> has a cart", })
 !-- public void aCompositeStep(@Named("customer") String customer) { // 
composed steps use these named parameters 
 !-- }
-!--
 
 Given Mr Jones returns to cart
diff --git a/examples/pom.xml b/examples/pom.xml
index 16bbd20..bb5fb26 100755
--- a/examples/pom.xml
+++ b/examples/pom.xml
@@ -71,6 +71,15 @@
         <filtering>false</filtering>
       </resource>
     </resources>
+       <pluginManagement>
+               <plugins>
+                       <plugin>
+                               <groupId>org.jbehave</groupId>
+                               <artifactId>jbehave-maven-plugin</artifactId>
+                               <version>${project.version}</version>
+                       </plugin>
+               </plugins>
+       </pluginManagement>
     <plugins>
       <!-- Unpack view resources, defined as dependencies -->
       <plugin>



Reply via email to