Title: [1509] trunk/core/examples: Examples can now specify jbehave core version used via command-line property, defaulting to build version.
Revision
1509
Author
mauro
Date
2010-01-09 10:43:23 -0600 (Sat, 09 Jan 2010)

Log Message

Examples can now specify jbehave core version used via command-line property, defaulting to build version.  Useful when wanting to run examples against a fixed version, e.g. a released one.

Modified Paths

Diff

Modified: trunk/core/examples/pom.xml (1508 => 1509)

--- trunk/core/examples/pom.xml	2010-01-09 13:12:18 UTC (rev 1508)
+++ trunk/core/examples/pom.xml	2010-01-09 16:43:23 UTC (rev 1509)
@@ -23,12 +23,12 @@
     <dependency>
       <groupId>org.jbehave</groupId>
       <artifactId>jbehave-core</artifactId>
-      <version>${pom.version}</version>
+      <version>${jbehave.version}</version>
     </dependency>
     <dependency>
       <groupId>org.jbehave</groupId>
       <artifactId>jbehave-ant</artifactId>
-      <version>${pom.version}</version>
+      <version>${jbehave.version}</version>
     </dependency>
   </dependencies>
 
@@ -44,7 +44,7 @@
         <plugin>
           <groupId>org.jbehave</groupId>
           <artifactId>jbehave-maven-plugin</artifactId>
-          <version>${pom.version}</version>
+          <version>${jbehave.version}</version>
         </plugin>
       </plugins>
     </pluginManagement>
@@ -75,5 +75,6 @@
   </build>
   <properties>
     <scenario.includes>**/scenario/*.java</scenario.includes>
+    <jbehave.version>${pom.version}</jbehave.version>
   </properties>
 </project>

Modified: trunk/core/examples/trader/pom.xml (1508 => 1509)

--- trunk/core/examples/trader/pom.xml	2010-01-09 13:12:18 UTC (rev 1508)
+++ trunk/core/examples/trader/pom.xml	2010-01-09 16:43:23 UTC (rev 1509)
@@ -57,7 +57,7 @@
                 <artifactItem>
                   <groupId>org.jbehave</groupId>
                   <artifactId>jbehave-core</artifactId>
-                  <version>${pom.version}</version>
+                  <version>${jbehave.version}</version>
                   <outputDirectory>${project.build.directory}/jbehave-reports/rendered</outputDirectory>
                   <includes>**\/*.css,**\/*.ftl,**\/*.js</includes>
                 </artifactItem>
@@ -69,7 +69,6 @@
       <plugin>
         <groupId>org.jbehave</groupId>
         <artifactId>jbehave-maven-plugin</artifactId>
-        <version>${pom.version}</version>
         <executions>
           <execution>
             <id>run-scenarios-found</id>
@@ -217,7 +216,6 @@
       <plugin>
         <groupId>org.jbehave</groupId>
         <artifactId>jbehave-maven-plugin</artifactId>
-        <version>${pom.version}</version>
         <configuration>
         </configuration>
         <reportSets>

Modified: trunk/core/examples/trader-test-scope/pom.xml (1508 => 1509)

--- trunk/core/examples/trader-test-scope/pom.xml	2010-01-09 13:12:18 UTC (rev 1508)
+++ trunk/core/examples/trader-test-scope/pom.xml	2010-01-09 16:43:23 UTC (rev 1509)
@@ -10,13 +10,12 @@
   <name>JBehave Trader Test Scope Example</name>
 
   <build>
-    <!-- JBEHAVE-155: we want to prove that we can run scenarios in test scope -->
+    <!-- JBEHAVE-155: we can run scenarios in test scope -->
     <testSourceDirectory>${basedir}/../trader/src/main/java</testSourceDirectory>
     <plugins>
       <plugin>
         <groupId>org.jbehave</groupId>
         <artifactId>jbehave-maven-plugin</artifactId>
-        <version>${pom.version}</version>
         <executions>
           <execution>
             <id>run-scenarios-found</id>


To unsubscribe from this list please visit:

http://xircles.codehaus.org/manage_email

Reply via email to