Groups keyboard shortcuts have been updated
Dismiss
See shortcuts

Business Central setup

113 views
Skip to first unread message

Oana Atasie

unread,
Jan 29, 2024, 4:38:26 AM1/29/24
to Drools Setup
Hello,

We are trying to use Business Central (mostly we are interested in the rules features) and we encountered some issues with setting up the code. Could you please point all the git repositories that are needed to run Business Central? We feel like we don't find them all.

Also, can you guide us through building the code and running it? We tried to compile some of the projects from git but it takes a few hours and then fails. For example, when we run mvn clean install -DskipTests for kie-wb-common (https://github.com/kiegroup/kie-wb-common)
  • In java 17 this error happens:
[ERROR] [ERROR] Some problems were encountered while processing the POMs:
[ERROR] Unresolveable build extension: Plugin org.kie:kie-maven-plugin:7.75.0-SNAPSHOT or one of its dependencies could not be resolved: Failed to read artifact descriptor for org.kie:kie-maven-plugin:jar:7.75.0-SNAPSHOT @
[ERROR] Unknown packaging: kjar @ line 20, column 14
[ERROR] Unresolveable build extension: Plugin org.kie:kie-takari-plugin:7.75.0-SNAPSHOT or one of its dependencies could not be resolved: Failed to read artifact descriptor for org.kie:kie-takari-plugin:jar:7.75.0-SNAPSHOT @
 @
[ERROR] The build could not read 2 projects -> [Help 1]
[ERROR]   The project org.kie.workbench.screens:base-kie-project:7.75.0-SNAPSHOT (kie-wb-common\kie-wb-common-screens\kie-wb-common-archetype-mgmt\kie-wb-common-archetype-mgmt-templates\base-kie-project\pom.xml) has 2 errors
[ERROR]     Unresolveable build extension: Plugin org.kie:kie-maven-plugin:7.75.0-SNAPSHOT or one of its dependencies could not be resolved: Failed to read artifact descriptor for org.kie:kie-maven-plugin:jar:7.75.0-SNAPSHOT: Could not transfer artifact org.kie:kie-maven-plugin:pom:7.75.0-SNAPSHOT from/to jboss-public-repository-group (https://repository.jboss.org/nexus/content/groups/public/): PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target -> [Help 2]
[ERROR]     Unknown packaging: kjar @ line 20, column 14
[ERROR]   The project org.kie.workbench.services:kie-wb-common-services-backend:7.75.0-SNAPSHOT (kie-wb-common\kie-wb-common-services\kie-wb-common-services-backend\pom.xml) has 1 error
[ERROR]     Unresolveable build extension: Plugin org.kie:kie-takari-plugin:7.75.0-SNAPSHOT or one of its dependencies could not be resolved: Failed to read artifact descriptor for org.kie:kie-takari-plugin:jar:7.75.0-SNAPSHOT: Could not transfer artifact org.kie:kie-takari-plugin:pom:7.75.0-SNAPSHOT from/to jboss-public-repository-group (https://repository.jboss.org/nexus/content/groups/public/): PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target -> [Help 2]

  • In java 11 this one:
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-plugin-plugin:3.5.2:descriptor (default-descriptor) on project kie-wb-common-compiler-maven-plugins: The API of the mojo scanner is not compatible with this plugin version. Please check the plugin dependencies configured in the POM and ensure the versions match: Can't load library: /usr/lib/jvm/java-11-openjdk-amd64/lib/libawt_xawt.so -> [Help 1]

Thank you for the help!

Alex Porcelli

unread,
Jan 29, 2024, 10:16:01 AM1/29/24
to drools...@googlegroups.com
This is the list of all repositories that you need to build to get
Business Central:

lienzo-core
droolsjbpm-build-bootstrap
kie-soup
droolsjbpm-knowledge
drools
lienzo-tests
appformer
kie-uberfire-extensions
jbpm
droolsjbpm-integration
kie-wb-playground
kie-wb-common
drools-wb
jbpm-work-items
jbpm-wb
kie-wb-distributions

All of then are hosted in https://github.com/kiegroup/
> --
> You received this message because you are subscribed to the Google Groups "Drools Setup" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to drools-setup...@googlegroups.com.
> To view this discussion on the web visit https://groups.google.com/d/msgid/drools-setup/72863ad2-0eb5-4644-b1d1-9c6079d6b49fn%40googlegroups.com.

Oana Atasie

unread,
Jan 30, 2024, 4:23:12 AM1/30/24
to Drools Setup
Thank you very much for the answer!

And regarding the running of the projects, we tried to follow what is here: https://github.com/kiegroup/droolsjbpm-build-bootstrap/blob/main/README.md#building-with-maven but as mentioned in the first post $ mvn clean install -DskipTests
fails every time. Could you please tell us if a certain version of Maven or Java is required (I should mention that I tried with Maven 3.9.0 and Java 11 and 17) or other configurations that need to be done first? Are there other steps/guides we should follow?

Alex Porcelli

unread,
Jan 30, 2024, 8:06:38 AM1/30/24
to drools...@googlegroups.com
It's unlikely to work with JDK 17, It might work with JDK 11, for sure
it works with JDK 8.

I'll need to check the maven version...
> To view this discussion on the web visit https://groups.google.com/d/msgid/drools-setup/24cb1a77-1604-496d-bfbe-ab00825287b8n%40googlegroups.com.

Oana Atasie

unread,
Feb 5, 2024, 2:19:41 AM2/5/24
to Drools Setup
I tried to compile it with JDK 8, and it still doesn't work. I have the following error on kie-wb-common:

[ERROR] Failed to execute goal on project kie-wb-common-workbench-backend: Could not resolve dependencies for project org.kie.workbench.screens:kie-wb-common-workbench-backend:jar:7.75.0-SNAPSHOT: Failed to collect dependencies at org.uberfire:uberfire-message-console-backend:jar:7.75.0-SNAPSHOT: Failed to read artifact descriptor for org.uberfire:uberfire-message-console-backend:jar:7.75.0-SNAPSHOT: Could not transfer artifact org.uberfire:uberfire-message-console-backend:pom:7.75.0-SNAPSHOT from/to jboss-public-repository-group (https://repository.jboss.org/nexus/content/groups/public/): Connection reset -> [Help 1]

Could you please tell me a configuration that should definitely work? Maybe, there are still problems with the Maven version, for example, as the error is being related to dependencies and artifacts.

Also, is it normal for a single run like this to take 6 hours or more? Does it need more resources to run or do you have any idea what the problem could be that it takes so long?

Alex Porcelli

unread,
Feb 5, 2024, 2:41:10 PM2/5/24
to drools...@googlegroups.com
Looks like you didn't build all the repositories in the list before
kie-wb-common. THe list of repos that I sent earlier is the list of
all repos that have to be build in sequence.
> To view this discussion on the web visit https://groups.google.com/d/msgid/drools-setup/1e4c1f25-8b5f-4ad6-9c63-06278809a320n%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages