I might be missing the question, but that's what working for me out of the
box, by deploying jbehave with maven artifact.
You need following dependency:
<dependency>
<groupId>org.jbehave.site</groupId>
<artifactId>jbehave-site-resources</artifactId>
<version>${jbehave.site.version}</version>
<type>zip</type>
</dependency>
And then you need for your jbehave-maven-plugin add following execution:
<execution>
<id>unpack-view-resources</id>
<phase>process-resources</phase>
<goals>
<goal>unpack-view-resources</goal>
</goals>
</execution>
That's it. It results in target/jbehave directory to get images and css etc
in my case.
Or were you asking about customization of all this?
Regards,
Alex Filatau.
On Fri, Oct 4, 2013 at 7:54 AM, Hans Schwäbli
<[email protected]>wrote:
> The test result report of JBehave are HTML files.
>
> Unfortunately the referenced images and CSS file is not present in the
> target folder.
>
> I spend quite some time figuring out how to add these resources by some
> Maven configuration, but I could not get it working.
>
> Is there a small example for dummies showing how to do it? Please with no
> parents, really simple POM file or snippet please.
>