我的 pom.xml 中有以下插件,但是 maven-cucumber-reporting 插件无法生成报告。还显示“无法解析插件。确保存在插件组 ID、工件 ID 和版本。
有人能帮我解决这个问题吗?还是 maven-cucumber-reporting jar 不可用?
<plugin>
<groupId>net.masterthought</groupId>
<artifactId>maven-cucumber-reporting</artifactId>
<version>2.8.0</version>
<executions>
<execution>
<id>execution</id>
<phase>verify</phase>
<goals>
<goal>generate</goal>
</goals>
<configuration>
<projectName>CucumberWebGui</projectName>
<outputDirectory>${project.build.directory}/cucumber-report-html</outputDirectory>
<cucumberOutput>${project.build.directory}/cucumber.json</cucumberOutput>
</configuration>
</execution>
</executions>
</plugin>