Building rules in default-build target of kie-maven-plugin takes too long.

Solution Unverified - Updated -

Issue

I upgraded RHDM libraries in my maven project to 7.8.0. It took only at most 1 minute to build all rules in the project before, but after upgrading to 7.8.0, the build time for the same project becomes drastically longer than before and reaches 12 minutes.

On RHDM 7.7.1

$ mvn clean install

...
[INFO] --- kie-maven-plugin:7.33.0.Final-redhat-00003:build (default-build) @ my_project ---

    # It took only at most 1 minute here.

...
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  56.761 s
[INFO] Finished at: 2020-08-17T18:40:27+09:00
[INFO] ------------------------------------------------------------------------

On RHDM 7.8.0

$ mvn clean install
...
[INFO] --- kie-maven-plugin:7.39.0.Final-redhat-00005:build (default-build) @ my_project ---

    # It took about 12 minutes here.

...
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  12:09 min
[INFO] Finished at: 2020-08-17T18:53:33+09:00
[INFO] ------------------------------------------------------------------------

Environment

  • Red Hat Decision Manager (RHDM)
    • 7.8.0 - 7.8.1

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In