You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have upgraded my test project to Cucumber 4.7.2, donut 1.2.2 and donut-maven-plugin 1.2.2 from cucumber 1.2.5, donut 1.1 and donut-maven-plugin 0.0.5. And I also changed plugin configuration to the one provided in the current Readme.md.
donut-maven-plugin version 0.0.5 with configuration bonded to pre-intergration-test phase was working fine when called from the command line as a standalone task.
mvn io.magentys:donut-maven-plugin:0.0.5:generate
But after version the update the similar report generation task in the build fails with the following exception:
mvn report.donut:donut-maven-plugin:1.2.2:generate
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal report.donut:donut-maven-plugin:1.2.2:generate (default-cli) on project bbsw-test-harness: Required parameter `resultSources` not set.
While the plugin configuration clearly has this parameter:
Update.
I managed to make the plugin working by moving configuration section of the plugin from //executions/execution to plugin node, but in this case I get the following warning:
[WARNING] Could not lookup path List(projectMetadata, projectVersion) in List(Identifier(List(projectMetadata, projectVersion)))
Can you please advise why is this happening, and how to correctly run the plugin in the Maven build?
Additionally, I binding plugin configuration to the Maven test phase works with the recommende config, but I received the same warning as above.
I have upgraded my test project to Cucumber 4.7.2, donut 1.2.2 and donut-maven-plugin 1.2.2 from cucumber 1.2.5, donut 1.1 and donut-maven-plugin 0.0.5. And I also changed plugin configuration to the one provided in the current Readme.md.
donut-maven-plugin
version 0.0.5 with configuration bonded to pre-intergration-test phase was working fine when called from the command line as a standalone task.But after version the update the similar report generation task in the build fails with the following exception:
While the plugin configuration clearly has this parameter:
Maven version 3.6.2.
What am I missing?
Update:
Maven debug log:
The text was updated successfully, but these errors were encountered: