It looks now like this:

                        <plugin>
                                <groupId>org.jbehave</groupId>
                                <artifactId>jbehave-maven-plugin</artifactId>
                                <version>4.0-beta-1</version>
                                <executions>
                                        <execution>
                                                
<id>run-stories-as-embeddables</id>
                                                <phase>integration-test</phase>
                                                <configuration>
                                                        <includes>
                                                                
<include>${embeddables}</include>
                                                        </includes>
                                                        
<ignoreFailureInStories>false</ignoreFailureInStories>
                                                        
<ignoreFailureInView>true</ignoreFailureInView>
                                                        <threads>1</threads>
                                                        <metaFilters>
                                                                
<metaFilter>+group ${group}</metaFilter>
                                                        </metaFilters>
                                                </configuration>

                                                <goals>
                                                        
<goal>run-stories-as-embeddables</goal>
                                                        
<goal>unpack-view-resources</goal>
                                                </goals>
                                        </execution>
                                        <execution>
                                                <id>unpack-view-resources</id>
                                                <phase>process-resources</phase>
                                                <goals>
                                                        
<goal>unpack-view-resources</goal>
                                                </goals>
                                                <configuration>
                                                        
<viewDirectory>target/jbehave/myView</viewDirectory>
                                                </configuration>
                                        </execution>
                                </executions>
                        </plugin>


But it still gives me the error.

-----Original Message-----
From: Mauro Talevi [mailto:[email protected]] 
Sent: woensdag 12 september 2012 11:13
To: [email protected]
Subject: Re: [jbehave-user] Re: Report in custom location

Ah yes, well spotted Alex, I'd forgotten about the viewDirectory config :-)

Roy, just add execution to the jbehave plugin:

          <execution>
             <id>unpack-view-resources</id>
             <phase>process-resources</phase>
             <goals>
               <goal>unpack-view-resources</goal>
             </goals>
             <configuration>
<viewDirectory>target/jbehave/myView</viewDirectory>
             </configuration>
           </execution>

On 12/09/2012 09:50, Roy de Kleijn wrote:
> Di I need to define that as a different execution ?
>
>
>
> -----Original Message-----
> From: Alexander Lehmann [mailto:[email protected]]
> Sent: woensdag 12 september 2012 10:28
> To: [email protected]
> Subject: [jbehave-user] Re: Report in custom location
>
> I believe that is viewDirectory
>
>
>
> On 12.09.2012 10:19, Roy de Kleijn wrote:
>> And which property specifies the location to the (JS/style/images) sources?
>>
>>
>> -----Original Message-----
>> From: Alex Lehmann [mailto:[email protected]]
>> Sent: woensdag 12 september 2012 10:13
>> To: [email protected]
>> Subject: [jbehave-user] Re: Report in custom location
>>
>> http://jbehave.org/reference/stable/maven-goals.html
>>
>>
>>
>> On 12.09.2012 10:07, Roy de Kleijn wrote:
>>> Thanks,
>>>
>>> And how would I do configure the embdder in the Maven plugin.
>>>
>>> Is there any documentation on it ?
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe from this list, please visit:
>>
>>       http://xircles.codehaus.org/manage_email
>>
>>
>>
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe from this list, please visit:
>>
>>       http://xircles.codehaus.org/manage_email
>>
>>
>>
>
>
> ---------------------------------------------------------------------
> To unsubscribe from this list, please visit:
>
>      http://xircles.codehaus.org/manage_email
>
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe from this list, please visit:
>
>      http://xircles.codehaus.org/manage_email
>
>


---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email





---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


Reply via email to