Re: [jbehave-user] Result report with css files and images, how to do?
Thank you Alex! It worked now. I had forgot to add the jbehave-site-resources dependency. But I get this XML error in Eclipse: Plugin execution not covered by lifecycle configuration: org.jbehave:jbehave-maven-plugin:4.0-beta-3:unpack- view-resources (execution: unpack-view-resources, phase: process-resources) I tried it with different versions of jbehave-maven-plugin, still I get that error message displayed in the XML editor and in the problem view. Why is that? It works, but it does not look good if Eclipse shows 1 error in the POM XML file. By the way, I have found no documentation on this on the JBehave site. 2013/10/5 Alex Filatau fila...@gmail.com 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 groupIdorg.jbehave.site/groupId artifactIdjbehave-site-resources/artifactId version${jbehave.site.version}/version typezip/type /dependency And then you need for your jbehave-maven-plugin add following execution: execution idunpack-view-resources/id phaseprocess-resources/phase goals goalunpack-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 bugs.need.love@gmail.com 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.
Re: [jbehave-user] Result report with css files and images, how to do?
http://wiki.eclipse.org/M2E_plugin_execution_not_covered On 07/10/2013 08:28, Hans Schwäbli wrote: Thank you Alex! It worked now. I had forgot to add the jbehave-site-resources dependency. But I get this XML error in Eclipse: Plugin execution not covered by lifecycle configuration: org.jbehave:jbehave-maven-plugin:4.0-beta-3:unpack- view-resources (execution: unpack-view-resources, phase: process-resources) I tried it with different versions of jbehave-maven-plugin, still I get that error message displayed in the XML editor and in the problem view. Why is that? It works, but it does not look good if Eclipse shows 1 error in the POM XML file. By the way, I have found no documentation on this on the JBehave site. 2013/10/5 Alex Filatau fila...@gmail.com mailto:fila...@gmail.com 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 groupIdorg.jbehave.site/groupId artifactIdjbehave-site-resources/artifactId version${jbehave.site.version}/version typezip/type /dependency And then you need for your jbehave-maven-plugin add following execution: execution idunpack-view-resources/id phaseprocess-resources/phase goals goalunpack-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 bugs.need.love@gmail.com mailto:bugs.need.love@gmail.com 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.
Re: [jbehave-user] Result report with css files and images, how to do?
Thank you, this worked. 2013/10/7 Mauro Talevi mauro.tal...@aquilonia.org http://wiki.eclipse.org/M2E_plugin_execution_not_covered On 07/10/2013 08:28, Hans Schwäbli wrote: Thank you Alex! It worked now. I had forgot to add the jbehave-site-resources dependency. But I get this XML error in Eclipse: Plugin execution not covered by lifecycle configuration: org.jbehave:jbehave-maven-plugin:4.0-beta-3:unpack- view-resources (execution: unpack-view-resources, phase: process-resources) I tried it with different versions of jbehave-maven-plugin, still I get that error message displayed in the XML editor and in the problem view. Why is that? It works, but it does not look good if Eclipse shows 1 error in the POM XML file. By the way, I have found no documentation on this on the JBehave site. 2013/10/5 Alex Filatau fila...@gmail.com 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 groupIdorg.jbehave.site/groupId artifactIdjbehave-site-resources/artifactId version${jbehave.site.version}/version typezip/type /dependency And then you need for your jbehave-maven-plugin add following execution: execution idunpack-view-resources/id phaseprocess-resources/phase goals goalunpack-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 bugs.need.love@gmail.com 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.
Re: [jbehave-user] Result report with css files and images, how to do?
That's correct, the view resources are bundled the zip which is separate from the core jar. You can either use the Maven goal or unzip it manually yourself (Ant or other tool). Cheers On 05/10/2013 00:53, Alex Filatau wrote: 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 groupIdorg.jbehave.site/groupId artifactIdjbehave-site-resources/artifactId version${jbehave.site.version}/version typezip/type /dependency And then you need for your jbehave-maven-plugin add following execution: execution idunpack-view-resources/id phaseprocess-resources/phase goals goalunpack-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 bugs.need.love@gmail.com mailto:bugs.need.love@gmail.com 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.
[jbehave-user] Result report with css files and images, how to do?
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.
Re: [jbehave-user] Result report with css files and images, how to do?
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 groupIdorg.jbehave.site/groupId artifactIdjbehave-site-resources/artifactId version${jbehave.site.version}/version typezip/type /dependency And then you need for your jbehave-maven-plugin add following execution: execution idunpack-view-resources/id phaseprocess-resources/phase goals goalunpack-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 bugs.need.love@gmail.comwrote: 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.