I am observing the below error when compiling the dmn-tracing-springboot sample project after opening and saving the src/main/resources/LoanEligibility.dmn file with the dmn editor version 10.0.0 in VS Code DMN editor. If I restore the LoanEligibility.dmn
file using git the project will compile and run with no problem.
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 10.086 s
[INFO] Finished at: 2025-01-06T12:02:34+02:00
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.kie.kogito:kogito-maven-plugin:10.0.0:generateModel (default) on project dmn-tracing-springboot: Execution default of goal org.kie.kogito:kogito-maven-plugin:10.0.0:generateModel failed: The DMN model does not contain a unique model version in the metadata. -> [Help 1][ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1]
http://cwiki.apache.org/confluence/display/MAVEN/PluginExecutionException
I am including a screenshot of the VS code plugin install below.
I am also including the complete project in the attached zip for the sake of reproducibility.