Apache KIE DMN Editor 10.0.0

102 views
Skip to first unread message

Stefan Kok

unread,
Jan 6, 2025, 5:29:00 AM1/6/25
to kogito-de...@googlegroups.com
Hi Everyone

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.


image.png

I am also including the complete project in the attached zip for the sake of reproducibility.

Kind regards
Stefan Kok
dmn-tracing-springboot.zip

Alex Porcelli

unread,
Jan 6, 2025, 12:42:10 PM1/6/25
to kogito-de...@googlegroups.com
Hi Stefan,

Thank you for reporting! I managed to reproduce the issue, however I
don't think this is related to the editor, but to the code-gen
processing that is ignoring any DMN version above 1.3.

Reference: https://github.com/apache/incubator-kie-issues/issues/1740

Regards,
Alex
> I am also including the complete project in the attached zip for the sake of reproducibility.
>
> Kind regards
> Stefan Kok
>
> --
> You received this message because you are subscribed to the Google Groups "Kogito development mailing list" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to kogito-developm...@googlegroups.com.
> To view this discussion visit https://groups.google.com/d/msgid/kogito-development/CAHteNM4bhxo%3DZkHLSUDanhEBBZZdbXXuCQiJ_yZEQY%2BwuPkgLw%40mail.gmail.com.

Stefan Kok

unread,
Jan 6, 2025, 12:46:18 PM1/6/25
to kogito-de...@googlegroups.com

Gabriele Cardosi

unread,
Jan 7, 2025, 7:54:45 AM1/7/25
to kogito-de...@googlegroups.com
Alex, 
the problem can't be exactly
"but to the code-gen
processing that is ignoring any DMN version above 1.3.";
since we have a lot of examples using DMN 1.5.
It turns out that the issue is also another different code-path executed when tracking is on, that get's into the "extractModelVersion" method (that is not invoked in different cases)





Reply all
Reply to author
Forward
0 new messages