Failed to execute goal com.trivago.rta:cluecumber-report-plugin:1.8.0:reporting when tried to create Report with timestamp appended outside build path
vky26 opened this issue · comments
Below is my pom, I would like to get the reports generated outside build path, so that the reports for previous runs are present.
The default config looks like this
<plugin> <groupId>com.trivago.rta</groupId> <artifactId>cluecumber-report-plugin</artifactId> <version>1.8.0</version> <executions> <execution> <id>report</id> <phase>post-integration-test</phase> <goals> <goal>reporting</goal> </goals> </execution> </executions> <configuration> <sourceJsonReportDirectory>${project.build.directory}/json-cucumber-reports</sourceJsonReportDirectory> <generatedHtmlReportDirectory>${project.build.directory}/generated-report</generatedHtmlReportDirectory> <expandStepHooks>true</expandStepHooks> </configuration> </plugin>
And the runner looks like,
"html:target/cucumber-reports/cucumber-pretty","json:target/json-cucumber-reports/default/cukejson.json", "testng:target/testng-cucumber-reports/cuketestng.xml"
I tried to change something like this and got Failed to execute goal com.trivago.rta:cluecumber-report-plugin:1.8.0:reporting
<sourceJsonReportDirectory>Reports/json-cucumber-reports</sourceJsonReportDirectory> <generatedHtmlReportDirectory>Reports/generated-report/${timestamp}</generatedHtmlReportDirectory>
Runner - "html:Reports/cucumber-reports/cucumber-pretty","json:Reports/json-cucumber-reports/default/cukejson.json", "testng:Reports/testng-cucumber-reports/cuketestng.xml"
Please advise. Thanks
@laxersaz any inputs? Thanks.