Hi Brian, thanks for the advise. After looking into the security example I think it's to complicated.
I just wanr to override the ressources for the style from jbehave-core-ressourcse.zip during the generate-resourcse phase. This can be done by configuring the maven-dependency-plugin. I added a execution: <execution> <id>unpack-jbehave-reports-resources</id> <phase>generate-resources</phase> <goals> <goal>unpack</goal> </goals> <configuration> <overwriteReleases>false</overwriteReleases> <overwriteSnapshots>true</overwriteSnapshots> <artifactItems> <artifactItem> <groupId>com.lib.jbehave</groupId> <artifactId>report-resources</artifactId> <version>1.0.0.0</version> <outputDirectory>${project.build.directory}/jbehave/view</outputDirectory> <includes>**\/*.css,**\/*.ftl,**\/*.js, **\/images\/*.*</includes> </artifactItem> </artifactItems> </configuration> </execution> The sources are copied from the report-resources package to the target folder where they are needed. Nevertheless, the reporter does not use them. Maybe I have to hook into another process/goal? Anyone there who could help? Cheers, Olmo On 3 January 2012 15:35, Brian Repko <brian.re...@learnthinkcode.com> wrote: > > Check out the Spring-Security example - I know that this does this > (override ResourceLoader?) but I'm not sure if its the "best" way to do > this. > > ----- Original message ----- > From: "Olmo Rigolo" <olmorig...@gmail.com> > To: dev@jbehave.codehaus.org > Date: Tue, 3 Jan 2012 15:33:56 +0100 > Subject: [jbehave-dev] How to override the report template > > Hi all, > > hope you had a good time at Christmas. > > I am wondering where to put the report resource files, so that they can > automatically be loaded by the reporter. > If I am right, they load them by default from the jbehave-core.jar file. > > Thanks! > > Olmo > > --- > Brian Repko > LearnThinkCode, Inc. <http://www.learnthinkcode.com> > email: brian.re...@learnthinkcode.com > phone: +1 612 229 6779 >