[jboss-jira] [JBoss JIRA] (DROOLS-5003) Avoid generating the executable model sources if drools-model-compiler is not in the pom.xml file

Luca Molteni (Jira) issues at jboss.org
Tue Feb 4 05:32:42 EST 2020


Luca Molteni created DROOLS-5003:
------------------------------------

             Summary: Avoid generating the executable model sources if drools-model-compiler is not in the pom.xml file
                 Key: DROOLS-5003
                 URL: https://issues.redhat.com/browse/DROOLS-5003
             Project: Drools
          Issue Type: Enhancement
          Components: executable model
            Reporter: Luca Molteni
            Assignee: Luca Molteni


Currently, if you try to generate the executable model using the kie-maven-plugin with 

YES or YES_WITHDRL

but you forget to add the drools-model-compiler the plugin will generate the sources but the compile phase will fail.

It should be better to avoid generating the source, revert to the NO behaviour and show a warning of what happened.

This will help the migration as customer who will upgrade to 7.7 will have the exec model as a default but they won't have the jar in the pom.xml



--
This message was sent by Atlassian Jira
(v7.13.8#713008)


More information about the jboss-jira mailing list