diff --git a/addons/common/events/decisions/pom.xml b/addons/common/events/decisions/pom.xml
index b93610898ee..fdae2fc91e3 100644
--- a/addons/common/events/decisions/pom.xml
+++ b/addons/common/events/decisions/pom.xml
@@ -33,6 +33,10 @@
Kogito :: Add-Ons :: Events :: Event-Driven Decisions
Trigger evaluation of decision models via events
+
+ org.kie.kogito.eventdriven.decision
+
+
org.kie.kogito
diff --git a/addons/common/events/mongodb/pom.xml b/addons/common/events/mongodb/pom.xml
index 78575ca6e95..8f167769630 100644
--- a/addons/common/events/mongodb/pom.xml
+++ b/addons/common/events/mongodb/pom.xml
@@ -34,6 +34,10 @@
Kogito :: Add-Ons :: Events :: MongoDB
Common addon for Kogito Events based on MongoDB
+
+ org.kie.kogito.events.mongodb
+
+
org.kie.kogito
diff --git a/addons/common/events/predictions/pom.xml b/addons/common/events/predictions/pom.xml
index 5f96952b426..0ba1dc18c5a 100644
--- a/addons/common/events/predictions/pom.xml
+++ b/addons/common/events/predictions/pom.xml
@@ -33,6 +33,10 @@
Kogito :: Add-Ons :: Events :: Event-Driven Predictions
Trigger evaluation of PMML models via events
+
+ org.kie.kogito.eventdriven.predictions
+
+
org.kie.kogito
@@ -46,7 +50,6 @@
org.kie.kogito
kogito-dmn
- ${project.version}
test-jar
test
diff --git a/addons/common/events/rules/pom.xml b/addons/common/events/rules/pom.xml
index 378ce7edf94..b7dec129cb3 100644
--- a/addons/common/events/rules/pom.xml
+++ b/addons/common/events/rules/pom.xml
@@ -33,6 +33,12 @@
Kogito :: Add-Ons :: Events :: Event-Driven Rules
Trigger evaluation of rule models via events
+
+
+ org.kie.kogito.eventdriven.rules
+
+
+
org.kie.kogito
diff --git a/addons/common/explainability/pom.xml b/addons/common/explainability/pom.xml
index 2ab6a38d95e..b978bb77dce 100644
--- a/addons/common/explainability/pom.xml
+++ b/addons/common/explainability/pom.xml
@@ -32,6 +32,10 @@
kogito-addons-explainability
Kogito :: Add-Ons :: Explainability
+
+ org.kie.kogito.explainability
+
+
org.kie.kogito
diff --git a/addons/common/human-task-prediction/api/pom.xml b/addons/common/human-task-prediction/api/pom.xml
index 2f9e1676d96..9d184a540c4 100644
--- a/addons/common/human-task-prediction/api/pom.xml
+++ b/addons/common/human-task-prediction/api/pom.xml
@@ -32,6 +32,10 @@
Kogito Predictions API
+
+ org.kie.kogito.prediction.api
+
+
diff --git a/addons/common/human-task-prediction/smile/pom.xml b/addons/common/human-task-prediction/smile/pom.xml
index a3e2c252523..28fd8ebd829 100644
--- a/addons/common/human-task-prediction/smile/pom.xml
+++ b/addons/common/human-task-prediction/smile/pom.xml
@@ -31,6 +31,10 @@
Kogito :: Add-Ons :: Predictions :: SMILE
Kogito Prediction based on SMILE addon
+
+ org.kie.kogito.predictions.smile
+
+
diff --git a/addons/common/jobs/api/pom.xml b/addons/common/jobs/api/pom.xml
index 6b494b89d6b..4aa64a01e6e 100644
--- a/addons/common/jobs/api/pom.xml
+++ b/addons/common/jobs/api/pom.xml
@@ -31,6 +31,10 @@
Kogito :: Add-Ons :: Jobs :: API
Jobs API used by both service and client
+
+ org.kie.kogito.jobs.api
+
+
io.cloudevents
diff --git a/addons/common/jobs/management-common/pom.xml b/addons/common/jobs/management-common/pom.xml
index 67fa382f196..24f4857eb30 100644
--- a/addons/common/jobs/management-common/pom.xml
+++ b/addons/common/jobs/management-common/pom.xml
@@ -32,6 +32,10 @@
kogito-addons-jobs-management-common
Kogito :: Add-Ons :: Jobs :: Management Common
+
+ org.kie.kogito.jobs.management
+
+
org.kie.kogito
diff --git a/addons/common/knative/eventing/pom.xml b/addons/common/knative/eventing/pom.xml
index e3df53214c8..6f3c34d129c 100644
--- a/addons/common/knative/eventing/pom.xml
+++ b/addons/common/knative/eventing/pom.xml
@@ -33,6 +33,10 @@
Kogito :: Add-Ons :: Knative :: Eventing
Common library for Kogito Knative Eventing Addons implementations
+
+ org.kie.kogito.addons.knative.eventing
+
+
org.kie.kogito
diff --git a/addons/common/kubernetes-service-catalog/pom.xml b/addons/common/kubernetes-service-catalog/pom.xml
index 90360b83270..7ddd933618b 100644
--- a/addons/common/kubernetes-service-catalog/pom.xml
+++ b/addons/common/kubernetes-service-catalog/pom.xml
@@ -33,6 +33,10 @@
Kogito :: Add-Ons :: Kubernetes Service Catalog
Common Library for Kubernetes Service Discovery implementations
+
+ org.kie.kogito.addons.k8s.resource.catalog
+
+
org.junit.jupiter
diff --git a/addons/common/kubernetes/pom.xml b/addons/common/kubernetes/pom.xml
index 0e1d0a0bee6..47e568f3af7 100644
--- a/addons/common/kubernetes/pom.xml
+++ b/addons/common/kubernetes/pom.xml
@@ -33,6 +33,10 @@
Kogito :: Add-Ons :: Kubernetes
Common library for Kogito Kubernetes Addons implementations
+
+ org.kie.kogito.addons.k8s
+
+
org.kie.kogito
diff --git a/addons/common/mail/pom.xml b/addons/common/mail/pom.xml
index 0137e672828..d0e37ba21fe 100644
--- a/addons/common/mail/pom.xml
+++ b/addons/common/mail/pom.xml
@@ -32,6 +32,10 @@
kogito-addons-mail
Kogito :: Add-Ons :: E-Mail :: Common
+
+ org.kie.kogito.mail
+
+
org.kie.kogito
diff --git a/addons/common/marshallers/avro/pom.xml b/addons/common/marshallers/avro/pom.xml
index 1653811a7b6..130f76a6d35 100644
--- a/addons/common/marshallers/avro/pom.xml
+++ b/addons/common/marshallers/avro/pom.xml
@@ -32,6 +32,10 @@
Kogito :: Add-Ons :: Marshallers :: Avro
Kogito Marshallers Unmarshaller for Avro
+
+ org.kie.kogito.event.avro
+
+
org.kie.kogito
diff --git a/addons/common/messaging/pom.xml b/addons/common/messaging/pom.xml
index bdd88c34b74..84c684d48ee 100644
--- a/addons/common/messaging/pom.xml
+++ b/addons/common/messaging/pom.xml
@@ -32,6 +32,10 @@
Kogito :: Add-Ons :: Messaging
Messaging Add-On Common Interfaces
+
+ org.kie.kogito.addon.cloudevents
+
+
org.kie.kogito
diff --git a/addons/common/monitoring/core/pom.xml b/addons/common/monitoring/core/pom.xml
index 4fbe326318a..cf53d4ce549 100644
--- a/addons/common/monitoring/core/pom.xml
+++ b/addons/common/monitoring/core/pom.xml
@@ -32,6 +32,10 @@
kogito-addons-monitoring-core
+
+ org.kie.kogito.monitoring.core.common
+
+
org.kie.kogito
diff --git a/addons/common/monitoring/elastic/pom.xml b/addons/common/monitoring/elastic/pom.xml
index 948dd1595fb..1108f6267ad 100644
--- a/addons/common/monitoring/elastic/pom.xml
+++ b/addons/common/monitoring/elastic/pom.xml
@@ -34,6 +34,10 @@
Kogito :: Add-Ons :: Monitoring Elastic Common
Monitoring Elastic Core
+
+ org.kie.kogito.monitoring.elastic.common
+
+
org.kie.kogito
diff --git a/addons/common/monitoring/prometheus/pom.xml b/addons/common/monitoring/prometheus/pom.xml
index 3629fbd524f..020f0b7b490 100644
--- a/addons/common/monitoring/prometheus/pom.xml
+++ b/addons/common/monitoring/prometheus/pom.xml
@@ -32,6 +32,10 @@
kogito-addons-monitoring-prometheus
Kogito :: Add-Ons :: Monitoring Prometheus Common
+
+ org.kie.kogito.monitoring.prometheus.common.rest
+
+
Prometheus monitoring for a kogito application
diff --git a/addons/common/persistence/filesystem/pom.xml b/addons/common/persistence/filesystem/pom.xml
index 4fd4853f7f2..2dce567ae9e 100644
--- a/addons/common/persistence/filesystem/pom.xml
+++ b/addons/common/persistence/filesystem/pom.xml
@@ -30,6 +30,10 @@
File System based persistence for Kogito
+
+ org.kie.kogito.persistence.filesystem
+
+
diff --git a/addons/common/persistence/infinispan/pom.xml b/addons/common/persistence/infinispan/pom.xml
index abd601a237f..21dbfa7dc95 100644
--- a/addons/common/persistence/infinispan/pom.xml
+++ b/addons/common/persistence/infinispan/pom.xml
@@ -31,6 +31,10 @@
Kogito :: Add-Ons :: Persistence :: Infinispan
Infinispan based persistence for Kogito
+
+ org.kie.kogito.infinispan
+
+
diff --git a/addons/common/persistence/jdbc/pom.xml b/addons/common/persistence/jdbc/pom.xml
index 8c3d0ecf1ec..9689a7b998c 100644
--- a/addons/common/persistence/jdbc/pom.xml
+++ b/addons/common/persistence/jdbc/pom.xml
@@ -30,6 +30,10 @@
JDBC based persistence for Kogito
+
+ org.kie.kogito.persistence.jdbc
+
+
org.kie.kogito
diff --git a/addons/common/persistence/mongodb/pom.xml b/addons/common/persistence/mongodb/pom.xml
index d92d76190e3..4e2d00ec996 100644
--- a/addons/common/persistence/mongodb/pom.xml
+++ b/addons/common/persistence/mongodb/pom.xml
@@ -32,7 +32,11 @@
kogito-addons-persistence-mongodb
Kogito :: Add-Ons :: Persistence :: MongoDB
MongoDB based persistence for Kogito
-
+
+
+ org.kie.kogito.mongodb
+
+
org.kie.kogito
diff --git a/addons/common/persistence/pom.xml b/addons/common/persistence/pom.xml
index 201b5c73ce0..2c0f6e201ec 100644
--- a/addons/common/persistence/pom.xml
+++ b/addons/common/persistence/pom.xml
@@ -35,24 +35,11 @@
jdbc
ddl
+ infinispan
+ filesystem
+ mongodb
+ postgresql
+ rocksdb
-
-
- default
-
-
- !productized
-
-
-
- infinispan
- filesystem
- mongodb
- postgresql
- rocksdb
-
-
-
-
diff --git a/addons/common/persistence/postgresql/pom.xml b/addons/common/persistence/postgresql/pom.xml
index 1b8a5116c13..af0fdf275d0 100644
--- a/addons/common/persistence/postgresql/pom.xml
+++ b/addons/common/persistence/postgresql/pom.xml
@@ -34,6 +34,7 @@
src/main/resources/db
${path.to.jdbc.addon}/${path.to.script.folder}/postgresql
${path.to.script.folder}/migration
+ org.kie.kogito.persistence.postgresql
diff --git a/addons/common/persistence/rocksdb/pom.xml b/addons/common/persistence/rocksdb/pom.xml
index 8d2af949562..cd3e5914635 100644
--- a/addons/common/persistence/rocksdb/pom.xml
+++ b/addons/common/persistence/rocksdb/pom.xml
@@ -31,6 +31,10 @@
Kogito :: Add-Ons :: Persistence :: RocksDB
RocksDB persistence add-on for Kogito
+
+ org.kie.kogito.persistence.rocksdb
+
+
diff --git a/addons/common/pom.xml b/addons/common/pom.xml
index cd05d51aab7..4400c2eb3d5 100644
--- a/addons/common/pom.xml
+++ b/addons/common/pom.xml
@@ -41,34 +41,20 @@
rest-exception-handler
process-svg
process-management
- source-files
knative
kubernetes
kubernetes-service-catalog
jobs
+ events
+ monitoring
+ explainability
+ human-task-prediction
+ mail
+ tracing
+ task-management
+ marshallers
-
-
- default
-
-
- !productized
-
-
-
- events
- monitoring
- explainability
- human-task-prediction
- mail
- tracing
- task-management
- marshallers
-
-
-
-
diff --git a/addons/common/process-management/pom.xml b/addons/common/process-management/pom.xml
index 33ab02165e7..792bbb34a37 100644
--- a/addons/common/process-management/pom.xml
+++ b/addons/common/process-management/pom.xml
@@ -32,6 +32,10 @@
kogito-addons-process-management
Kogito :: Add-Ons :: Process Management :: Common
+
+ org.kie.kogito.process.management
+
+
org.kie.kogito
diff --git a/addons/common/process-svg/pom.xml b/addons/common/process-svg/pom.xml
index bf6146c13ae..868ec080b34 100644
--- a/addons/common/process-svg/pom.xml
+++ b/addons/common/process-svg/pom.xml
@@ -32,6 +32,10 @@
kogito-addons-process-svg
Kogito :: Add-Ons :: Process SVG :: Common
+
+ org.kie.kogito.svg
+
+
org.slf4j
diff --git a/addons/common/rest-exception-handler/pom.xml b/addons/common/rest-exception-handler/pom.xml
index 267fc3a0abb..3d0c6a77640 100644
--- a/addons/common/rest-exception-handler/pom.xml
+++ b/addons/common/rest-exception-handler/pom.xml
@@ -32,6 +32,10 @@
kogito-addons-rest-exception-handler
Kogito :: Rest Exception Handler :: Common
+
+ org.kie.kogito.resource.exceptions
+
+
org.kie.kogito
diff --git a/addons/common/source-files/README.md b/addons/common/source-files/README.md
deleted file mode 100644
index e7b83e3c40e..00000000000
--- a/addons/common/source-files/README.md
+++ /dev/null
@@ -1,8 +0,0 @@
-# Kogito Source Files Add-on
-
-The Kogito Source Files Add-on adds the capability of listing and downloading source files to Kogito projects. See
-the [official documentation](https://docs.jboss.org/kogito/release/latest/html_single/#_kogito_source_files_add_on)
-to find out more.
-
-> **⚠️**
-This add-on isn't supposed to be used by end-users, if not needed for internal integrations, since it can be a potential security breach for some users' use cases.
\ No newline at end of file
diff --git a/addons/common/source-files/pom.xml b/addons/common/source-files/pom.xml
deleted file mode 100644
index d448c5e7fe1..00000000000
--- a/addons/common/source-files/pom.xml
+++ /dev/null
@@ -1,54 +0,0 @@
-
-
-
-
- kogito-addons-common-parent
- org.kie.kogito
- 999-SNAPSHOT
-
- 4.0.0
-
- kogito-addons-source-files
- Kogito :: Add-Ons :: Source Files :: Common
-
-
-
- org.kie.kogito
- kogito-api
-
-
-
-
- org.junit.jupiter
- junit-jupiter-engine
- test
-
-
- org.assertj
- assertj-core
- test
-
-
-
-
\ No newline at end of file
diff --git a/addons/common/source-files/src/main/java/org/kie/kogito/addon/source/files/SourceFilesException.java b/addons/common/source-files/src/main/java/org/kie/kogito/addon/source/files/SourceFilesException.java
deleted file mode 100644
index e0547471be0..00000000000
--- a/addons/common/source-files/src/main/java/org/kie/kogito/addon/source/files/SourceFilesException.java
+++ /dev/null
@@ -1,26 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
- */
-package org.kie.kogito.addon.source.files;
-
-public class SourceFilesException extends RuntimeException {
-
- public SourceFilesException(String message, Throwable cause) {
- super(message, cause);
- }
-}
diff --git a/addons/common/task-management/pom.xml b/addons/common/task-management/pom.xml
index 4663879c487..93326d039eb 100644
--- a/addons/common/task-management/pom.xml
+++ b/addons/common/task-management/pom.xml
@@ -32,6 +32,10 @@
kogito-addons-task-management
Kogito :: Add-Ons :: Task Management :: Common
+
+ org.kie.kogito.task.management.service
+
+
org.kie.kogito
diff --git a/addons/common/tracing/decision-common/pom.xml b/addons/common/tracing/decision-common/pom.xml
index 03ad192937f..9261d62b558 100644
--- a/addons/common/tracing/decision-common/pom.xml
+++ b/addons/common/tracing/decision-common/pom.xml
@@ -32,6 +32,10 @@
kogito-addons-tracing-decision-common
Kogito :: Add-Ons :: Tracing :: Common
+
+ org.kie.kogito.tracing.decision
+
+
org.kie.kogito
@@ -56,7 +60,6 @@
org.kie.kogito
kogito-dmn
- ${project.version}
test-jar
test
diff --git a/addons/common/tracing/tracing-api/pom.xml b/addons/common/tracing/tracing-api/pom.xml
index 3dc15e555fd..8ab694787bc 100644
--- a/addons/common/tracing/tracing-api/pom.xml
+++ b/addons/common/tracing/tracing-api/pom.xml
@@ -33,7 +33,7 @@
Kogito :: Add-Ons :: Tracing :: API
- 3.4.6
+ org.kie.kogito.tracing
@@ -66,7 +66,6 @@
org.mockito
mockito-inline
- ${version.org.mockito}
test
diff --git a/addons/common/tracing/typedvalue-api/pom.xml b/addons/common/tracing/typedvalue-api/pom.xml
index 91dbf45197d..f7c003ab473 100644
--- a/addons/common/tracing/typedvalue-api/pom.xml
+++ b/addons/common/tracing/typedvalue-api/pom.xml
@@ -32,6 +32,11 @@
kogito-addons-tracing-typedvalue-api
Kogito :: Add-Ons :: TypedValue API
+
+ org.kie.kogito.tracing.typedvalue
+
+
+
com.fasterxml.jackson.core
diff --git a/addons/common/source-files/src/main/java/org/kie/kogito/addon/source/files/SourceFile.java b/api/kogito-api/src/main/java/org/kie/kogito/source/files/SourceFile.java
similarity index 98%
rename from addons/common/source-files/src/main/java/org/kie/kogito/addon/source/files/SourceFile.java
rename to api/kogito-api/src/main/java/org/kie/kogito/source/files/SourceFile.java
index ef76d122f12..2c555e22a60 100644
--- a/addons/common/source-files/src/main/java/org/kie/kogito/addon/source/files/SourceFile.java
+++ b/api/kogito-api/src/main/java/org/kie/kogito/source/files/SourceFile.java
@@ -16,7 +16,7 @@
* specific language governing permissions and limitations
* under the License.
*/
-package org.kie.kogito.addon.source.files;
+package org.kie.kogito.source.files;
import java.io.FileNotFoundException;
import java.io.IOException;
diff --git a/addons/common/source-files/src/main/java/org/kie/kogito/addon/source/files/SourceFilesProvider.java b/api/kogito-api/src/main/java/org/kie/kogito/source/files/SourceFilesProvider.java
similarity index 97%
rename from addons/common/source-files/src/main/java/org/kie/kogito/addon/source/files/SourceFilesProvider.java
rename to api/kogito-api/src/main/java/org/kie/kogito/source/files/SourceFilesProvider.java
index 0d5791b0932..155ad36fdc7 100644
--- a/addons/common/source-files/src/main/java/org/kie/kogito/addon/source/files/SourceFilesProvider.java
+++ b/api/kogito-api/src/main/java/org/kie/kogito/source/files/SourceFilesProvider.java
@@ -16,7 +16,7 @@
* specific language governing permissions and limitations
* under the License.
*/
-package org.kie.kogito.addon.source.files;
+package org.kie.kogito.source.files;
import java.util.Collection;
import java.util.Optional;
diff --git a/api/kogito-events-core/pom.xml b/api/kogito-events-core/pom.xml
index 52efc3cc388..905355f4cd2 100644
--- a/api/kogito-events-core/pom.xml
+++ b/api/kogito-events-core/pom.xml
@@ -35,9 +35,11 @@
Kogito :: API :: Events
Core events for Kogito that depends on jackson
-
+
+ org.kie.kogito.event
+
+
-
org.kie.kogito
kogito-api
diff --git a/api/kogito-jobs-service-api/pom.xml b/api/kogito-jobs-service-api/pom.xml
index a1e9556a92d..2a130b68970 100644
--- a/api/kogito-jobs-service-api/pom.xml
+++ b/api/kogito-jobs-service-api/pom.xml
@@ -35,6 +35,10 @@
Kogito :: API :: Jobs Service
The common events API for Kogito Jobs Service
+
+ org.kie.kogito.jobs.service.api
+
+
io.cloudevents
diff --git a/api/kogito-services/src/main/java/org/kie/kogito/services/registry/ProcessDefinitionEventRegistry.java b/api/kogito-services/src/main/java/org/kie/kogito/services/registry/ProcessDefinitionEventRegistry.java
index 768cccb7441..e3cb1f01f9c 100644
--- a/api/kogito-services/src/main/java/org/kie/kogito/services/registry/ProcessDefinitionEventRegistry.java
+++ b/api/kogito-services/src/main/java/org/kie/kogito/services/registry/ProcessDefinitionEventRegistry.java
@@ -18,9 +18,11 @@
*/
package org.kie.kogito.services.registry;
+import java.io.IOException;
import java.util.Collections;
import java.util.List;
import java.util.Map;
+import java.util.Optional;
import java.util.Set;
import java.util.function.Function;
import java.util.function.Supplier;
@@ -32,9 +34,12 @@
import org.kie.kogito.event.process.NodeDefinition;
import org.kie.kogito.event.process.ProcessDefinitionDataEvent;
import org.kie.kogito.event.process.ProcessDefinitionEventBody;
+import org.kie.kogito.event.process.ProcessDefinitionEventBody.ProcessDefinitionEventBodyBuilder;
import org.kie.kogito.internal.utils.ConversionUtils;
import org.kie.kogito.process.Process;
import org.kie.kogito.process.Processes;
+import org.kie.kogito.source.files.SourceFile;
+import org.kie.kogito.source.files.SourceFilesProvider;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
@@ -45,12 +50,18 @@ public class ProcessDefinitionEventRegistry {
private static final Logger LOGGER = LoggerFactory.getLogger(ProcessDefinitionEventRegistry.class);
- private Application app;
- private String serviceUrl;
+ private final Application app;
+ private final String serviceUrl;
+ private final Optional sourceFilesProvider;
public ProcessDefinitionEventRegistry(Application app, String serviceUrl) {
+ this(app, serviceUrl, Optional.empty());
+ }
+
+ public ProcessDefinitionEventRegistry(Application app, String serviceUrl, Optional sourceFilesProvider) {
this.app = app;
this.serviceUrl = serviceUrl;
+ this.sourceFilesProvider = sourceFilesProvider;
}
public void register(Processes processes) {
@@ -78,8 +89,8 @@ private Function, ProcessDefinitionDataEvent> mapProcessDefinition(Se
}
Set annotations = ((List) metadata.getOrDefault("annotations", emptyList())).stream().collect(toSet());
String description = (String) metadata.get("Description");
- ProcessDefinitionDataEvent definitionDataEvent = new ProcessDefinitionDataEvent(ProcessDefinitionEventBody.builder()
- .setId(p.id())
+
+ ProcessDefinitionEventBodyBuilder builder = ProcessDefinitionEventBody.builder().setId(p.id())
.setName(p.name())
.setVersion(p.version())
.setType(p.type())
@@ -88,12 +99,22 @@ private Function, ProcessDefinitionDataEvent> mapProcessDefinition(Se
.setNodes(getNodesDefinitions(p))
.setAnnotations(annotations)
.setDescription(description)
- .setMetadata(metadata)
- .build());
- return definitionDataEvent;
+ .setMetadata(metadata);
+ sourceFilesProvider.flatMap(provider -> provider.getProcessSourceFile(p.id())).map(this::readSourceFile).ifPresentOrElse(builder::setSource,
+ () -> LOGGER.warn("Not source found for process id {}", p.id()));
+ return new ProcessDefinitionDataEvent(builder.build());
};
}
+ private String readSourceFile(SourceFile s) {
+ try {
+ return new String(s.readContents());
+ } catch (IOException e) {
+ LOGGER.warn("Error reading content for source file {}", s, e);
+ return null;
+ }
+ }
+
private static String getEndpoint(String endpoint, Process> p) {
//sanitize process path in case of fqdn org.acme.ProcessExample -> ProcessExample
String processPath = ConversionUtils.sanitizeToSimpleName(p.id());
diff --git a/addons/common/source-files/src/main/java/org/kie/kogito/addon/source/files/SourceFilesProviderImpl.java b/api/kogito-services/src/main/java/org/kie/kogito/source/files/SourceFilesProviderImpl.java
similarity index 96%
rename from addons/common/source-files/src/main/java/org/kie/kogito/addon/source/files/SourceFilesProviderImpl.java
rename to api/kogito-services/src/main/java/org/kie/kogito/source/files/SourceFilesProviderImpl.java
index 336a1da4d1c..b531f8d4a95 100644
--- a/addons/common/source-files/src/main/java/org/kie/kogito/addon/source/files/SourceFilesProviderImpl.java
+++ b/api/kogito-services/src/main/java/org/kie/kogito/source/files/SourceFilesProviderImpl.java
@@ -16,7 +16,7 @@
* specific language governing permissions and limitations
* under the License.
*/
-package org.kie.kogito.addon.source.files;
+package org.kie.kogito.source.files;
import java.util.Collection;
import java.util.HashMap;
@@ -50,7 +50,7 @@ public Collection getProcessSourceFiles(String processId) {
}
@Override
- public Optional getProcessSourceFile(String processId) throws SourceFilesException {
+ public Optional getProcessSourceFile(String processId) {
return getProcessSourceFiles(processId).stream()
.filter(this::isValidDefinitionSource)
.findFirst();
diff --git a/addons/common/source-files/src/test/java/org/kie/kogito/addon/source/files/SourceFilesProviderImplTest.java b/api/kogito-services/src/test/java/org/kie/kogito/source/files/SourceFilesProviderImplTest.java
similarity index 98%
rename from addons/common/source-files/src/test/java/org/kie/kogito/addon/source/files/SourceFilesProviderImplTest.java
rename to api/kogito-services/src/test/java/org/kie/kogito/source/files/SourceFilesProviderImplTest.java
index 402d8602693..c919bc7cb74 100644
--- a/addons/common/source-files/src/test/java/org/kie/kogito/addon/source/files/SourceFilesProviderImplTest.java
+++ b/api/kogito-services/src/test/java/org/kie/kogito/source/files/SourceFilesProviderImplTest.java
@@ -16,7 +16,7 @@
* specific language governing permissions and limitations
* under the License.
*/
-package org.kie.kogito.addon.source.files;
+package org.kie.kogito.source.files;
import org.junit.jupiter.api.BeforeEach;
import org.junit.jupiter.api.Test;
diff --git a/addons/common/source-files/src/test/resources/META-INF/resources/sources/hiring.bpmn b/api/kogito-services/src/test/resources/META-INF/resources/sources/hiring.bpmn
similarity index 100%
rename from addons/common/source-files/src/test/resources/META-INF/resources/sources/hiring.bpmn
rename to api/kogito-services/src/test/resources/META-INF/resources/sources/hiring.bpmn
diff --git a/addons/common/source-files/src/test/resources/META-INF/resources/sources/petstore.json b/api/kogito-services/src/test/resources/META-INF/resources/sources/petstore.json
similarity index 100%
rename from addons/common/source-files/src/test/resources/META-INF/resources/sources/petstore.json
rename to api/kogito-services/src/test/resources/META-INF/resources/sources/petstore.json
diff --git a/addons/common/source-files/src/test/resources/META-INF/resources/sources/petstore.sw.json b/api/kogito-services/src/test/resources/META-INF/resources/sources/petstore.sw.json
similarity index 100%
rename from addons/common/source-files/src/test/resources/META-INF/resources/sources/petstore.sw.json
rename to api/kogito-services/src/test/resources/META-INF/resources/sources/petstore.sw.json
diff --git a/addons/common/source-files/src/test/resources/META-INF/resources/sources/ymlgreet.sw.yml b/api/kogito-services/src/test/resources/META-INF/resources/sources/ymlgreet.sw.yml
similarity index 100%
rename from addons/common/source-files/src/test/resources/META-INF/resources/sources/ymlgreet.sw.yml
rename to api/kogito-services/src/test/resources/META-INF/resources/sources/ymlgreet.sw.yml
diff --git a/api/kogito-timer/pom.xml b/api/kogito-timer/pom.xml
index 763a4c87318..c63d17732f0 100644
--- a/api/kogito-timer/pom.xml
+++ b/api/kogito-timer/pom.xml
@@ -33,6 +33,10 @@
Kogito :: API :: Timer
Timer API to schedule jobs
+
+ org.kie.kogito.timer
+
+
org.slf4j
diff --git a/api/pom.xml b/api/pom.xml
index 9880370c7d4..e39cc6ecca4 100755
--- a/api/pom.xml
+++ b/api/pom.xml
@@ -43,30 +43,17 @@
kogito-services
kogito-timer
kogito-jobs-service-api
+ kogito-api-incubation-common
+ kogito-api-incubation-common-objectmapper
+ kogito-api-incubation-application
+ kogito-api-incubation-processes
+ kogito-api-incubation-processes-services
+ kogito-api-incubation-predictions
+ kogito-api-incubation-predictions-services
+ kogito-api-incubation-decisions
+ kogito-api-incubation-decisions-services
+ kogito-api-incubation-rules
+ kogito-api-incubation-rules-services
-
-
- default
-
-
- !productized
-
-
-
- kogito-api-incubation-common
- kogito-api-incubation-common-objectmapper
- kogito-api-incubation-application
- kogito-api-incubation-processes
- kogito-api-incubation-processes-services
- kogito-api-incubation-predictions
- kogito-api-incubation-predictions-services
- kogito-api-incubation-decisions
- kogito-api-incubation-decisions-services
- kogito-api-incubation-rules
- kogito-api-incubation-rules-services
-
-
-
-
diff --git a/drools/pom.xml b/drools/pom.xml
index d8f42de8dcd..ede49644c3c 100755
--- a/drools/pom.xml
+++ b/drools/pom.xml
@@ -46,27 +46,14 @@
kogito-drools
kogito-dmn
+ kogito-pmml-api-dependencies
+ kogito-efesto-drl
+ kogito-pmml-dependencies
+ kogito-pmml-openapi
+ kogito-pmml
+ kogito-scenario-simulation
-
-
- default
-
-
- !productized
-
-
-
- kogito-pmml-api-dependencies
- kogito-efesto-drl
- kogito-pmml-dependencies
- kogito-pmml-openapi
- kogito-pmml
- kogito-scenario-simulation
-
-
-
-
diff --git a/grafana-api/pom.xml b/grafana-api/pom.xml
index 7db7158d28f..c1becb504a7 100644
--- a/grafana-api/pom.xml
+++ b/grafana-api/pom.xml
@@ -32,6 +32,10 @@
grafana-api
Kogito :: Grafana API
+
+ org.kie.kogito.grafana
+
+
diff --git a/jbpm/process-serialization-protobuf/pom.xml b/jbpm/process-serialization-protobuf/pom.xml
index d11b4fc2aa3..647da48aeb1 100644
--- a/jbpm/process-serialization-protobuf/pom.xml
+++ b/jbpm/process-serialization-protobuf/pom.xml
@@ -36,6 +36,7 @@
Kogito Process Protobuf Serialization
**/org/kie/kogito/serialization/process/protobuf/*
+ org.kie.kogito.serialization.process
diff --git a/jbpm/process-serialization-protobuf/src/main/java/org/kie/kogito/serialization/process/impl/ProtobufProcessInstanceReader.java b/jbpm/process-serialization-protobuf/src/main/java/org/kie/kogito/serialization/process/impl/ProtobufProcessInstanceReader.java
index a7581dc555e..a182931c155 100644
--- a/jbpm/process-serialization-protobuf/src/main/java/org/kie/kogito/serialization/process/impl/ProtobufProcessInstanceReader.java
+++ b/jbpm/process-serialization-protobuf/src/main/java/org/kie/kogito/serialization/process/impl/ProtobufProcessInstanceReader.java
@@ -130,34 +130,66 @@ private RuleFlowProcessInstance buildWorkflow(KogitoProcessInstanceProtobuf.Proc
processInstance.setProcessId(processInstanceProtobuf.getProcessId());
processInstance.setState(processInstanceProtobuf.getState());
processInstance.setSignalCompletion(processInstanceProtobuf.getSignalCompletion());
- processInstance.setStartDate(new Date(processInstanceProtobuf.getStartDate()));
- processInstance.setDescription(processInstanceProtobuf.getDescription());
- processInstance.setDeploymentId(processInstanceProtobuf.getDeploymentId());
+ if (processInstanceProtobuf.hasStartDate()) {
+ processInstance.setStartDate(new Date(processInstanceProtobuf.getStartDate()));
+ }
+
+ if (processInstanceProtobuf.hasDescription()) {
+ processInstance.setDescription(processInstanceProtobuf.getDescription());
+ }
+
+ if (processInstanceProtobuf.hasDeploymentId()) {
+ processInstance.setDeploymentId(processInstanceProtobuf.getDeploymentId());
+ }
for (String completedNodeId : processInstanceProtobuf.getCompletedNodeIdsList()) {
processInstance.addCompletedNodeId(completedNodeId);
}
- processInstance.setCorrelationKey(processInstanceProtobuf.getBusinessKey());
+ if (processInstanceProtobuf.hasBusinessKey()) {
+ processInstance.setCorrelationKey(processInstanceProtobuf.getBusinessKey());
+ }
+
+ if (processInstanceProtobuf.hasSla()) {
+ SLAContext slaContext = processInstanceProtobuf.getSla();
+ if (slaContext.getSlaDueDate() > 0) {
+ processInstance.internalSetSlaDueDate(new Date(slaContext.getSlaDueDate()));
+ }
+
+ if (slaContext.hasSlaTimerId()) {
+ processInstance.internalSetSlaTimerId(slaContext.getSlaTimerId());
+ }
+ if (slaContext.hasSlaCompliance()) {
+ processInstance.internalSetSlaCompliance(slaContext.getSlaCompliance());
+ }
+ }
- SLAContext slaContext = processInstanceProtobuf.getSla();
- if (slaContext.getSlaDueDate() > 0) {
- processInstance.internalSetSlaDueDate(new Date(slaContext.getSlaDueDate()));
+ if (processInstanceProtobuf.hasCancelTimerId()) {
+ processInstance.internalSetCancelTimerId(processInstanceProtobuf.getCancelTimerId());
}
- processInstance.internalSetSlaTimerId(slaContext.getSlaTimerId());
- processInstance.internalSetSlaCompliance(slaContext.getSlaCompliance());
- processInstance.internalSetCancelTimerId(processInstanceProtobuf.getCancelTimerId());
+ if (processInstanceProtobuf.hasParentProcessInstanceId()) {
+ processInstance.setParentProcessInstanceId(processInstanceProtobuf.getParentProcessInstanceId());
+ }
+ if (processInstanceProtobuf.hasRootProcessInstanceId()) {
+ processInstance.setRootProcessInstanceId(processInstanceProtobuf.getRootProcessInstanceId());
+ }
+ if (processInstanceProtobuf.hasRootProcessId()) {
+ processInstance.setRootProcessId(processInstanceProtobuf.getRootProcessId());
+ }
- processInstance.setParentProcessInstanceId(processInstanceProtobuf.getParentProcessInstanceId());
- processInstance.setRootProcessInstanceId(processInstanceProtobuf.getRootProcessInstanceId());
- processInstance.setRootProcessId(processInstanceProtobuf.getRootProcessId());
+ if (processInstanceProtobuf.hasErrorNodeId()) {
+ processInstance.internalSetErrorNodeId(processInstanceProtobuf.getErrorNodeId());
+ }
- processInstance.internalSetErrorNodeId(processInstanceProtobuf.getErrorNodeId());
- processInstance.internalSetErrorMessage(processInstanceProtobuf.getErrorMessage());
+ if (processInstanceProtobuf.hasErrorMessage()) {
+ processInstance.internalSetErrorMessage(processInstanceProtobuf.getErrorMessage());
+ }
- processInstance.setReferenceId(processInstanceProtobuf.getReferenceId());
+ if (processInstanceProtobuf.hasReferenceId()) {
+ processInstance.setReferenceId(processInstanceProtobuf.getReferenceId());
+ }
if (processInstanceProtobuf.getSwimlaneContextCount() > 0) {
SwimlaneContextInstance swimlaneContextInstance = (SwimlaneContextInstance) processInstance.getContextInstance(SwimlaneContext.SWIMLANE_SCOPE);
diff --git a/jbpm/process-serialization-protobuf/src/test/java/org/kie/kogito/serialization/process/ProcessInstanceMarshallTest.java b/jbpm/process-serialization-protobuf/src/test/java/org/kie/kogito/serialization/process/ProcessInstanceMarshallTest.java
index 884187c641e..a3af7111980 100644
--- a/jbpm/process-serialization-protobuf/src/test/java/org/kie/kogito/serialization/process/ProcessInstanceMarshallTest.java
+++ b/jbpm/process-serialization-protobuf/src/test/java/org/kie/kogito/serialization/process/ProcessInstanceMarshallTest.java
@@ -38,11 +38,24 @@
import java.util.stream.Stream;
import org.jbpm.process.core.context.variable.Variable;
+import org.jbpm.process.core.context.variable.VariableScope;
+import org.jbpm.process.instance.context.variable.VariableScopeInstance;
+import org.jbpm.ruleflow.instance.RuleFlowProcessInstance;
+import org.jbpm.workflow.core.Node;
+import org.jbpm.workflow.core.impl.ConnectionImpl;
+import org.jbpm.workflow.core.impl.WorkflowProcessImpl;
+import org.jbpm.workflow.core.node.EndNode;
+import org.jbpm.workflow.core.node.HumanTaskNode;
+import org.jbpm.workflow.core.node.StartNode;
+import org.junit.jupiter.api.BeforeAll;
import org.junit.jupiter.params.ParameterizedTest;
import org.junit.jupiter.params.provider.Arguments;
import org.junit.jupiter.params.provider.MethodSource;
import org.junit.jupiter.params.provider.NullSource;
+import org.kie.kogito.process.impl.AbstractProcess;
import org.kie.kogito.serialization.process.impl.ProtobufMarshallerReaderContext;
+import org.kie.kogito.serialization.process.impl.ProtobufProcessInstanceReader;
+import org.kie.kogito.serialization.process.impl.ProtobufProcessInstanceWriter;
import org.kie.kogito.serialization.process.impl.ProtobufProcessMarshallerWriteContext;
import org.kie.kogito.serialization.process.impl.ProtobufVariableReader;
import org.kie.kogito.serialization.process.impl.ProtobufVariableWriter;
@@ -52,8 +65,51 @@
import static java.util.Collections.singletonMap;
import static org.assertj.core.api.Assertions.assertThat;
+import static org.kie.kogito.internal.process.runtime.KogitoWorkflowProcess.RULEFLOW_TYPE;
+import static org.mockito.Mockito.mock;
+import static org.mockito.Mockito.when;
public class ProcessInstanceMarshallTest {
+ private static final String PROCESS_DESCRIPTION = "The description";
+ private static final String PROCESS_INSTANCE_ID = "1";
+ private static final String ROOT_PROCESS_ID = "rootProcess";
+ private static final String ROOT_PROCESS_INSTANCE_ID = "0";
+ private static final String PARENT_PROCESS_ID = "2";
+
+ private static AbstractProcess> process;
+
+ private static WorkflowProcessImpl workflow;
+
+ @BeforeAll
+ public static void init() {
+ workflow = new WorkflowProcessImpl();
+
+ workflow.setId("processId");
+ workflow.setVersion("1.0");
+ workflow.setType(RULEFLOW_TYPE);
+
+ Node endNode = new EndNode();
+ endNode.setId(1);
+ endNode.setName("end node");
+
+ Node taskNode = new HumanTaskNode();
+ taskNode.setId(2);
+ taskNode.setName("human task");
+ new ConnectionImpl(taskNode, Node.CONNECTION_DEFAULT_TYPE, endNode, Node.CONNECTION_DEFAULT_TYPE);
+
+ Node startNode = new StartNode();
+ startNode.setId(0);
+ startNode.setName("start node");
+ new ConnectionImpl(startNode, Node.CONNECTION_DEFAULT_TYPE, taskNode, Node.CONNECTION_DEFAULT_TYPE);
+
+ workflow.addNode(startNode);
+ workflow.addNode(taskNode);
+ workflow.addNode(endNode);
+
+ process = mock(AbstractProcess.class);
+
+ when(process.get()).thenReturn(workflow);
+ }
public static class MarshableObject implements Serializable {
@@ -85,6 +141,29 @@ public boolean equals(Object obj) {
}
}
+ private static Stream testProcessInstanceMarshalling() {
+ return Stream.of(Arguments.of(buildInstance(false)),
+ (Arguments.of(buildInstance(true))));
+ }
+
+ private static RuleFlowProcessInstance buildInstance(boolean orphan) {
+ RuleFlowProcessInstance instance = new RuleFlowProcessInstance();
+ instance.setId(PROCESS_INSTANCE_ID);
+ instance.setStartDate(new Date());
+ instance.setDescription(PROCESS_DESCRIPTION);
+
+ if (!orphan) {
+ instance.setRootProcessInstanceId(ROOT_PROCESS_INSTANCE_ID);
+ instance.setRootProcessId(ROOT_PROCESS_ID);
+ instance.setParentProcessInstanceId(PARENT_PROCESS_ID);
+ }
+
+ instance.setProcess(workflow);
+ instance.setContextInstance(VariableScope.VARIABLE_SCOPE, new VariableScopeInstance());
+
+ return instance;
+ }
+
private static Stream testRoundTrip() throws Exception {
return Stream.of(
Arguments.of(1),
@@ -109,6 +188,37 @@ private static Stream testRoundTrip() throws Exception {
);
}
+ @ParameterizedTest
+ @MethodSource
+ public void testProcessInstanceMarshalling(RuleFlowProcessInstance toMarshall) throws Exception {
+ ByteArrayOutputStream out = new ByteArrayOutputStream();
+ ProtobufProcessMarshallerWriteContext ctxOut = new ProtobufProcessMarshallerWriteContext(out);
+ ctxOut.set(MarshallerContextName.OBJECT_MARSHALLING_STRATEGIES, defaultStrategies());
+
+ ProtobufProcessInstanceWriter writer = new ProtobufProcessInstanceWriter(ctxOut);
+
+ writer.writeProcessInstance(toMarshall, out);
+
+ ByteArrayInputStream in = new ByteArrayInputStream(out.toByteArray());
+ ProtobufMarshallerReaderContext ctxIn = new ProtobufMarshallerReaderContext(in);
+ ctxIn.set(MarshallerContextName.OBJECT_MARSHALLING_STRATEGIES, defaultStrategies());
+ ctxIn.set(MarshallerContextName.MARSHALLER_PROCESS, process);
+ ProtobufProcessInstanceReader reader = new ProtobufProcessInstanceReader(ctxIn);
+ RuleFlowProcessInstance unmarshalled = reader.read(in);
+
+ assertThat(unmarshalled)
+ .hasFieldOrPropertyWithValue("id", toMarshall.getId())
+ .hasFieldOrPropertyWithValue("state", toMarshall.getState())
+ .hasFieldOrPropertyWithValue("startDate", toMarshall.getStartDate())
+ .hasFieldOrPropertyWithValue("processId", toMarshall.getProcessId())
+ .hasFieldOrPropertyWithValue("processVersion", toMarshall.getProcessVersion())
+ .hasFieldOrPropertyWithValue("description", toMarshall.getDescription())
+ .hasFieldOrPropertyWithValue("rootProcessInstanceId", toMarshall.getRootProcessInstanceId())
+ .hasFieldOrPropertyWithValue("rootProcessId", toMarshall.getRootProcessId())
+ .hasFieldOrPropertyWithValue("parentProcessInstanceId", toMarshall.getParentProcessInstanceId())
+ .hasFieldOrPropertyWithValue("process", toMarshall.getProcess());
+ }
+
@ParameterizedTest
@MethodSource
@NullSource
diff --git a/kogito-bom/pom.xml b/kogito-bom/pom.xml
index d38f4e4a777..d916bb9eeee 100755
--- a/kogito-bom/pom.xml
+++ b/kogito-bom/pom.xml
@@ -1185,17 +1185,6 @@
sources
-
- org.kie.kogito
- kogito-addons-source-files
- ${project.version}
-
-
- org.kie.kogito
- kogito-addons-source-files
- ${project.version}
- sources
-
org.kie.kogito
kogito-addons-quarkus-source-files
diff --git a/kogito-build/kogito-build-no-bom-parent/pom.xml b/kogito-build/kogito-build-no-bom-parent/pom.xml
index 79eddd725cb..98041ecfe75 100644
--- a/kogito-build/kogito-build-no-bom-parent/pom.xml
+++ b/kogito-build/kogito-build-no-bom-parent/pom.xml
@@ -118,7 +118,7 @@
3.2.2
0.8.11
3.0.5
- 3.1.0
+ 3.2.0
2.0
2.3.9
2.13.0
@@ -134,7 +134,7 @@
3.7.1
3.0.0
3.6.1.1688
- 3.0.1
+ 3.2.1
3.1.2
3.1.2
2.4
diff --git a/kogito-build/kogito-dependencies-bom/pom.xml b/kogito-build/kogito-dependencies-bom/pom.xml
index 7138c0d7bf6..6d38e1aafcc 100644
--- a/kogito-build/kogito-dependencies-bom/pom.xml
+++ b/kogito-build/kogito-dependencies-bom/pom.xml
@@ -29,7 +29,7 @@
2.4.10
1.0.0-preview.20220705
2.0.1
- 2.2.9
+ 2.2.15
0.2.0
2.0.2
0.1.3
diff --git a/kogito-codegen-modules/kogito-codegen-api/pom.xml b/kogito-codegen-modules/kogito-codegen-api/pom.xml
index b9e6e518943..ee2837e05d2 100644
--- a/kogito-codegen-modules/kogito-codegen-api/pom.xml
+++ b/kogito-codegen-modules/kogito-codegen-api/pom.xml
@@ -31,6 +31,10 @@
kogito-codegen-api
Kogito :: Codegen API
+
+ org.kie.kogito.codegen.api
+
+
diff --git a/kogito-codegen-modules/kogito-codegen-core/pom.xml b/kogito-codegen-modules/kogito-codegen-core/pom.xml
index a82508d42ba..d7bc325100e 100644
--- a/kogito-codegen-modules/kogito-codegen-core/pom.xml
+++ b/kogito-codegen-modules/kogito-codegen-core/pom.xml
@@ -31,6 +31,10 @@
kogito-codegen-core
Kogito :: Codegen Core Library
+
+ org.kie.kogito.codegen.core
+
+
diff --git a/kogito-codegen-modules/kogito-codegen-decisions/pom.xml b/kogito-codegen-modules/kogito-codegen-decisions/pom.xml
index 2a08c817285..5b727469419 100644
--- a/kogito-codegen-modules/kogito-codegen-decisions/pom.xml
+++ b/kogito-codegen-modules/kogito-codegen-decisions/pom.xml
@@ -31,6 +31,10 @@
kogito-codegen-decisions
Kogito :: Codegen Decisions
+
+ org.kie.kogito.codegen.decision
+
+
diff --git a/kogito-codegen-modules/kogito-codegen-integration-tests/pom.xml b/kogito-codegen-modules/kogito-codegen-integration-tests/pom.xml
index 320b7c74285..52e6c9a8682 100644
--- a/kogito-codegen-modules/kogito-codegen-integration-tests/pom.xml
+++ b/kogito-codegen-modules/kogito-codegen-integration-tests/pom.xml
@@ -34,6 +34,7 @@
false
+ org.kie.kogito.codegen.tests
diff --git a/kogito-codegen-modules/kogito-codegen-predictions/pom.xml b/kogito-codegen-modules/kogito-codegen-predictions/pom.xml
index 20c4262a364..b51f795555e 100644
--- a/kogito-codegen-modules/kogito-codegen-predictions/pom.xml
+++ b/kogito-codegen-modules/kogito-codegen-predictions/pom.xml
@@ -31,6 +31,11 @@
kogito-codegen-predictions
Kogito :: Codegen Predictions
+
+
+ org.kie.kogito.codegen.prediction
+
+
diff --git a/kogito-codegen-modules/kogito-codegen-processes-integration-tests/pom.xml b/kogito-codegen-modules/kogito-codegen-processes-integration-tests/pom.xml
index 77eae9d4fc5..11337831edb 100644
--- a/kogito-codegen-modules/kogito-codegen-processes-integration-tests/pom.xml
+++ b/kogito-codegen-modules/kogito-codegen-processes-integration-tests/pom.xml
@@ -34,8 +34,11 @@
false
+ org.kie.kogito.codegen.process.tests
+
+
diff --git a/kogito-codegen-modules/kogito-codegen-processes/pom.xml b/kogito-codegen-modules/kogito-codegen-processes/pom.xml
index 025d238dae7..bf6b70968f0 100644
--- a/kogito-codegen-modules/kogito-codegen-processes/pom.xml
+++ b/kogito-codegen-modules/kogito-codegen-processes/pom.xml
@@ -31,6 +31,10 @@
kogito-codegen-processes
Kogito :: Codegen Processes
+
+ org.kie.kogito.codegen.process
+
+
org.kie.kogito
diff --git a/kogito-codegen-modules/kogito-codegen-processes/src/main/java/org/kie/kogito/codegen/process/ProcessCodegen.java b/kogito-codegen-modules/kogito-codegen-processes/src/main/java/org/kie/kogito/codegen/process/ProcessCodegen.java
index faf545ed022..6f5ba05f7a5 100644
--- a/kogito-codegen-modules/kogito-codegen-processes/src/main/java/org/kie/kogito/codegen/process/ProcessCodegen.java
+++ b/kogito-codegen-modules/kogito-codegen-processes/src/main/java/org/kie/kogito/codegen/process/ProcessCodegen.java
@@ -60,6 +60,7 @@
import org.kie.kogito.codegen.core.AbstractGenerator;
import org.kie.kogito.codegen.core.DashboardGeneratedFileUtils;
import org.kie.kogito.codegen.process.config.ProcessConfigGenerator;
+import org.kie.kogito.codegen.process.events.ProcessCloudEventMeta;
import org.kie.kogito.codegen.process.events.ProcessCloudEventMetaFactoryGenerator;
import org.kie.kogito.internal.SupportedExtensions;
import org.kie.kogito.internal.process.runtime.KogitoWorkflowProcess;
@@ -279,7 +280,7 @@ protected Collection internalGenerate() {
List pis = new ArrayList<>();
List processExecutableModelGenerators = new ArrayList<>();
List rgs = new ArrayList<>(); // REST resources
- List megs = new ArrayList<>(); // message endpoints/consumers
+ Map megs = new HashMap<>(); // message endpoints/consumers
List mpgs = new ArrayList<>(); // message producers
Map processIdToModelGenerator = new HashMap<>();
@@ -372,14 +373,14 @@ protected Collection internalGenerate() {
// generate message consumers for processes with message start events
if (trigger.getType().equals(TriggerMetaData.TriggerType.ConsumeMessage)) {
- MessageConsumerGenerator messageConsumerGenerator = new MessageConsumerGenerator(
- context(),
- workFlowProcess,
- modelClassGenerator.className(),
- execModelGen.className(),
- applicationCanonicalName(),
- trigger);
- megs.add(messageConsumerGenerator);
+ MessageConsumerGenerator messageConsumerGenerator =
+ megs.computeIfAbsent(new ProcessCloudEventMeta(workFlowProcess.getId(), trigger), k -> new MessageConsumerGenerator(
+ context(),
+ workFlowProcess,
+ modelClassGenerator.className(),
+ execModelGen.className(),
+ applicationCanonicalName(),
+ trigger));
metaData.addConsumer(trigger.getName(), messageConsumerGenerator.compilationUnit());
} else if (trigger.getType().equals(TriggerMetaData.TriggerType.ProduceMessage)) {
MessageProducerGenerator messageProducerGenerator = new MessageProducerGenerator(
@@ -441,7 +442,7 @@ protected Collection internalGenerate() {
}
}
- for (MessageConsumerGenerator messageConsumerGenerator : megs) {
+ for (MessageConsumerGenerator messageConsumerGenerator : megs.values()) {
storeFile(MESSAGE_CONSUMER_TYPE, messageConsumerGenerator.generatedFilePath(),
messageConsumerGenerator.generate());
}
diff --git a/kogito-codegen-modules/kogito-codegen-rules/pom.xml b/kogito-codegen-modules/kogito-codegen-rules/pom.xml
index ed9bcd4bc6f..a11c047b841 100644
--- a/kogito-codegen-modules/kogito-codegen-rules/pom.xml
+++ b/kogito-codegen-modules/kogito-codegen-rules/pom.xml
@@ -31,6 +31,10 @@
kogito-codegen-rules
Kogito :: Codegen Rules
+
+ org.kie.kogito.codegen.rules
+
+
diff --git a/kogito-codegen-modules/kogito-codegen-sample/kogito-codegen-sample-generator/pom.xml b/kogito-codegen-modules/kogito-codegen-sample/kogito-codegen-sample-generator/pom.xml
index 5b75e611d92..5f416d27468 100644
--- a/kogito-codegen-modules/kogito-codegen-sample/kogito-codegen-sample-generator/pom.xml
+++ b/kogito-codegen-modules/kogito-codegen-sample/kogito-codegen-sample-generator/pom.xml
@@ -31,6 +31,10 @@
kogito-codegen-sample-generator
Kogito :: Codegen Sample Generator
+
+ org.kie.kogito.codegen.sample.generator
+
+
org.kie.kogito
diff --git a/kogito-codegen-modules/kogito-codegen-sample/kogito-codegen-sample-runtime/pom.xml b/kogito-codegen-modules/kogito-codegen-sample/kogito-codegen-sample-runtime/pom.xml
index 8fe2c2c6fa2..0a1e063a1ac 100644
--- a/kogito-codegen-modules/kogito-codegen-sample/kogito-codegen-sample-runtime/pom.xml
+++ b/kogito-codegen-modules/kogito-codegen-sample/kogito-codegen-sample-runtime/pom.xml
@@ -31,6 +31,10 @@
kogito-codegen-sample-runtime
Kogito :: Codegen Sample Runtime
+
+ org.kie.kogito.codegen.sample.core
+
+
org.kie.kogito
diff --git a/kogito-codegen-modules/pom.xml b/kogito-codegen-modules/pom.xml
index f1d3896442f..942697d3796 100644
--- a/kogito-codegen-modules/pom.xml
+++ b/kogito-codegen-modules/pom.xml
@@ -40,24 +40,11 @@
kogito-codegen-api
kogito-codegen-processes
kogito-codegen-processes-integration-tests
+ kogito-codegen-rules
+ kogito-codegen-decisions
+ kogito-codegen-predictions
+ kogito-codegen-integration-tests
+ kogito-codegen-sample
-
-
- default
-
-
- !productized
-
-
-
- kogito-codegen-rules
- kogito-codegen-decisions
- kogito-codegen-predictions
- kogito-codegen-integration-tests
- kogito-codegen-sample
-
-
-
-
diff --git a/kogito-maven-plugin/pom.xml b/kogito-maven-plugin/pom.xml
index 303030a7934..cd524a1667a 100644
--- a/kogito-maven-plugin/pom.xml
+++ b/kogito-maven-plugin/pom.xml
@@ -36,6 +36,10 @@
Kogito :: Maven Plugin
+
+ org.kie.kogito.maven.plugin
+
+
diff --git a/kogito-serverless-workflow/kogito-jq-expression/pom.xml b/kogito-serverless-workflow/kogito-jq-expression/pom.xml
index b3646698f30..d197e785b76 100644
--- a/kogito-serverless-workflow/kogito-jq-expression/pom.xml
+++ b/kogito-serverless-workflow/kogito-jq-expression/pom.xml
@@ -33,6 +33,11 @@
Kogito :: Serverless Workflow :: Expression :: JQ
Kogito jq expression implementation
+
+
+ org.kie.kogito.expr.jq
+
+
org.kie.kogito
diff --git a/kogito-serverless-workflow/kogito-jsonpath-expression/pom.xml b/kogito-serverless-workflow/kogito-jsonpath-expression/pom.xml
index 50b3c17f0d4..d029661f15b 100644
--- a/kogito-serverless-workflow/kogito-jsonpath-expression/pom.xml
+++ b/kogito-serverless-workflow/kogito-jsonpath-expression/pom.xml
@@ -33,6 +33,11 @@
Kogito :: Serverless Workflow :: Expression :: Jsonpath
Kogito jsonpath expression implementation
+
+
+ org.kie.kogito.expr.jsonpath
+
+
org.kie.kogito
diff --git a/kogito-serverless-workflow/kogito-serverless-workflow-builder/pom.xml b/kogito-serverless-workflow/kogito-serverless-workflow-builder/pom.xml
index f1981e04ce4..0d7ae54d492 100644
--- a/kogito-serverless-workflow/kogito-serverless-workflow-builder/pom.xml
+++ b/kogito-serverless-workflow/kogito-serverless-workflow-builder/pom.xml
@@ -33,6 +33,10 @@
Kogito :: Serverless Workflow :: Builder
Kogito Serverless Workflow Builder
+
+ org.kie.kogito.serverless.workflow.builder
+
+
org.kie.kogito
diff --git a/kogito-serverless-workflow/kogito-serverless-workflow-executor-core/pom.xml b/kogito-serverless-workflow/kogito-serverless-workflow-executor-core/pom.xml
index f1bd56ebaae..aa8e67d81a7 100644
--- a/kogito-serverless-workflow/kogito-serverless-workflow-executor-core/pom.xml
+++ b/kogito-serverless-workflow/kogito-serverless-workflow-executor-core/pom.xml
@@ -33,6 +33,10 @@
Kogito :: Serverless Workflow :: Executor:: Core
Core classes for execution of a workflow without code generation
+
+ org.kie.kogito.serverless.workflow.core
+
+
org.kie.kogito
diff --git a/kogito-serverless-workflow/kogito-serverless-workflow-executor-grpc/pom.xml b/kogito-serverless-workflow/kogito-serverless-workflow-executor-grpc/pom.xml
index ef7164a6a9b..5a5a8f4533b 100644
--- a/kogito-serverless-workflow/kogito-serverless-workflow-executor-grpc/pom.xml
+++ b/kogito-serverless-workflow/kogito-serverless-workflow-executor-grpc/pom.xml
@@ -33,6 +33,11 @@
Kogito :: Serverless Workflow :: Executor:: gRPC
Classes that add grpc capability to serverless workflow executor
+
+ org.kie.kogito.serverless.workflow.grpc
+
+
+
org.kie.kogito
diff --git a/kogito-serverless-workflow/kogito-serverless-workflow-executor-kafka/pom.xml b/kogito-serverless-workflow/kogito-serverless-workflow-executor-kafka/pom.xml
index 8efb37be5f1..c57c2d6c490 100644
--- a/kogito-serverless-workflow/kogito-serverless-workflow-executor-kafka/pom.xml
+++ b/kogito-serverless-workflow/kogito-serverless-workflow-executor-kafka/pom.xml
@@ -33,6 +33,10 @@
Kogito :: Serverless Workflow :: Executor:: Kafka event implementation
Classes for kafka event support of a workflow without code generation
+
+ org.kie.kogito.serverless.workflow.kafka
+
+
org.kie.kogito
diff --git a/kogito-serverless-workflow/kogito-serverless-workflow-executor-python/pom.xml b/kogito-serverless-workflow/kogito-serverless-workflow-executor-python/pom.xml
index 87322dc42e5..0474a01d29a 100644
--- a/kogito-serverless-workflow/kogito-serverless-workflow-executor-python/pom.xml
+++ b/kogito-serverless-workflow/kogito-serverless-workflow-executor-python/pom.xml
@@ -33,6 +33,10 @@
Kogito :: Serverless Workflow :: Executor:: Python
Classes for execution of a Python scripts within a workflow without code generation
+
+ org.kie.kogito.serverless.workflow.executor.python
+
+
org.kie.kogito
diff --git a/kogito-serverless-workflow/kogito-serverless-workflow-executor-rest/pom.xml b/kogito-serverless-workflow/kogito-serverless-workflow-executor-rest/pom.xml
index e3dd187600c..b5f1b5c180c 100644
--- a/kogito-serverless-workflow/kogito-serverless-workflow-executor-rest/pom.xml
+++ b/kogito-serverless-workflow/kogito-serverless-workflow-executor-rest/pom.xml
@@ -33,6 +33,10 @@
Kogito :: Serverless Workflow :: Executor:: Rest
Classes that add rest capability to serverless workflow executor
+
+ org.kie.kogito.serverless.workflow.executor.rest
+
+
org.kie.kogito
diff --git a/kogito-serverless-workflow/kogito-serverless-workflow-executor-service/pom.xml b/kogito-serverless-workflow/kogito-serverless-workflow-executor-service/pom.xml
index 061dd129b47..5a2822f61dc 100644
--- a/kogito-serverless-workflow/kogito-serverless-workflow-executor-service/pom.xml
+++ b/kogito-serverless-workflow/kogito-serverless-workflow-executor-service/pom.xml
@@ -33,6 +33,10 @@
Kogito :: Serverless Workflow :: Executor:: Service
Classes for execution of a Java service within a workflow without code generation
+
+ org.kie.kogito.serverless.workflow.executor.service
+
+
org.kie.kogito
diff --git a/kogito-serverless-workflow/kogito-serverless-workflow-executor-tests/pom.xml b/kogito-serverless-workflow/kogito-serverless-workflow-executor-tests/pom.xml
index 67cf72b07a8..d0a57eadd5b 100644
--- a/kogito-serverless-workflow/kogito-serverless-workflow-executor-tests/pom.xml
+++ b/kogito-serverless-workflow/kogito-serverless-workflow-executor-tests/pom.xml
@@ -35,8 +35,10 @@
6.0.53
+ org.kie.kogito.serverless.workflow.executor.test
+
org.kie.kogito
diff --git a/kogito-serverless-workflow/kogito-serverless-workflow-fluent/pom.xml b/kogito-serverless-workflow/kogito-serverless-workflow-fluent/pom.xml
index dee74c113f5..be6af73f62c 100644
--- a/kogito-serverless-workflow/kogito-serverless-workflow-fluent/pom.xml
+++ b/kogito-serverless-workflow/kogito-serverless-workflow-fluent/pom.xml
@@ -33,6 +33,12 @@
Kogito :: Serverless Workflow :: Fluent
Classes for fluent definition of a serverless workflow
+
+
+ org.kie.kogito.serverless.workflow.fluent
+
+
+
org.kie.kogito
diff --git a/kogito-serverless-workflow/kogito-serverless-workflow-grpc-parser/pom.xml b/kogito-serverless-workflow/kogito-serverless-workflow-grpc-parser/pom.xml
index d731f337ec1..e12340d3cdd 100644
--- a/kogito-serverless-workflow/kogito-serverless-workflow-grpc-parser/pom.xml
+++ b/kogito-serverless-workflow/kogito-serverless-workflow-grpc-parser/pom.xml
@@ -33,6 +33,10 @@
Kogito :: Serverless Workflow :: gRPC :: Parser
Kogito Serverless Workflow gRPC parser
+
+ org.kie.kogito.serverless.workflow.grpc.parser
+
+
diff --git a/kogito-serverless-workflow/kogito-serverless-workflow-grpc-runtime/pom.xml b/kogito-serverless-workflow/kogito-serverless-workflow-grpc-runtime/pom.xml
index 33fd9f984b4..5b8f6e48341 100644
--- a/kogito-serverless-workflow/kogito-serverless-workflow-grpc-runtime/pom.xml
+++ b/kogito-serverless-workflow/kogito-serverless-workflow-grpc-runtime/pom.xml
@@ -33,6 +33,10 @@
Kogito :: Serverless Workflow :: gRPC :: Runtime
Kogito Serverless Workflow gRPC runtimes
+
+ org.kie.kogito.serverless.workflow.grpc.runtime
+
+
diff --git a/kogito-serverless-workflow/kogito-serverless-workflow-openapi-common/pom.xml b/kogito-serverless-workflow/kogito-serverless-workflow-openapi-common/pom.xml
index 92880196945..0019231977a 100644
--- a/kogito-serverless-workflow/kogito-serverless-workflow-openapi-common/pom.xml
+++ b/kogito-serverless-workflow/kogito-serverless-workflow-openapi-common/pom.xml
@@ -33,6 +33,10 @@
Kogito :: Serverless Workflow :: OpenAPI :: Common
Kogito Serverless Workflow OpenAPI Common
+
+ org.kie.kogito.serverless.workflow.openapi.common
+
+
org.kie.kogito
diff --git a/kogito-serverless-workflow/kogito-serverless-workflow-openapi-generated/pom.xml b/kogito-serverless-workflow/kogito-serverless-workflow-openapi-generated/pom.xml
index 8d199688d1c..267d82131b4 100644
--- a/kogito-serverless-workflow/kogito-serverless-workflow-openapi-generated/pom.xml
+++ b/kogito-serverless-workflow/kogito-serverless-workflow-openapi-generated/pom.xml
@@ -33,6 +33,10 @@
Kogito :: Serverless Workflow :: OpenAPI :: Generated
Kogito Serverless Workflow OpenAPI generated
+
+ org.kie.kogito.serverless.workflow.openapi.generated
+
+
org.kie.kogito
diff --git a/kogito-serverless-workflow/kogito-serverless-workflow-openapi-parser/pom.xml b/kogito-serverless-workflow/kogito-serverless-workflow-openapi-parser/pom.xml
index 831a12e6d3a..c4b683e188b 100644
--- a/kogito-serverless-workflow/kogito-serverless-workflow-openapi-parser/pom.xml
+++ b/kogito-serverless-workflow/kogito-serverless-workflow-openapi-parser/pom.xml
@@ -33,6 +33,10 @@
Kogito :: Serverless Workflow :: OpenAPI :: Parser
Kogito Serverless Workflow OpenAPI parser
+
+ org.kie.kogito.serverless.workflow.openapi.parser
+
+
org.kie.kogito
diff --git a/kogito-serverless-workflow/kogito-serverless-workflow-python-runtime/pom.xml b/kogito-serverless-workflow/kogito-serverless-workflow-python-runtime/pom.xml
index a70aed71d83..1578bee26f4 100644
--- a/kogito-serverless-workflow/kogito-serverless-workflow-python-runtime/pom.xml
+++ b/kogito-serverless-workflow/kogito-serverless-workflow-python-runtime/pom.xml
@@ -32,6 +32,10 @@
Kogito :: Serverless Workflow :: Python:: Runtime
Kogito Serverless Workflow Python runtimes
+
+ org.kie.kogito.serverless.workflow.python.runtime
+
+
org.kie.kogito
diff --git a/kogito-serverless-workflow/kogito-serverless-workflow-rest-parser/pom.xml b/kogito-serverless-workflow/kogito-serverless-workflow-rest-parser/pom.xml
index a09ace1b650..d3215f79ba8 100644
--- a/kogito-serverless-workflow/kogito-serverless-workflow-rest-parser/pom.xml
+++ b/kogito-serverless-workflow/kogito-serverless-workflow-rest-parser/pom.xml
@@ -33,6 +33,11 @@
Kogito :: Serverless Workflow :: REST :: Parser
Kogito Serverless Workflow REST parser
+
+
+ org.kie.kogito.serverless.workflow.rest.parser
+
+
org.kie.kogito
diff --git a/kogito-serverless-workflow/kogito-serverless-workflow-rest-runtime/pom.xml b/kogito-serverless-workflow/kogito-serverless-workflow-rest-runtime/pom.xml
index 4b80b5726b9..d418b668243 100644
--- a/kogito-serverless-workflow/kogito-serverless-workflow-rest-runtime/pom.xml
+++ b/kogito-serverless-workflow/kogito-serverless-workflow-rest-runtime/pom.xml
@@ -33,6 +33,10 @@
Kogito :: Serverless Workflow :: REST :: Runtime
Kogito Serverless Workflow REST runtimes
+
+ org.kie.kogito.serverless.workflow.rest.runtime
+
+
org.kie.kogito
diff --git a/kogito-serverless-workflow/kogito-serverless-workflow-runtime/pom.xml b/kogito-serverless-workflow/kogito-serverless-workflow-runtime/pom.xml
index 7d517284e51..abb39d11ef3 100644
--- a/kogito-serverless-workflow/kogito-serverless-workflow-runtime/pom.xml
+++ b/kogito-serverless-workflow/kogito-serverless-workflow-runtime/pom.xml
@@ -33,6 +33,10 @@
Kogito :: Serverless Workflow :: Runtime
Kogito Serverless Workflow Runtime
+
+ org.kie.kogito.serverless.workflow.runtime
+
+
org.kie.kogito
diff --git a/kogito-serverless-workflow/kogito-serverless-workflow-utils/pom.xml b/kogito-serverless-workflow/kogito-serverless-workflow-utils/pom.xml
index c5600b86913..055f36c0645 100644
--- a/kogito-serverless-workflow/kogito-serverless-workflow-utils/pom.xml
+++ b/kogito-serverless-workflow/kogito-serverless-workflow-utils/pom.xml
@@ -33,6 +33,11 @@
Kogito :: Serverless Workflow :: Utils
Kogito serverless workflow utils
+
+
+ org.kie.kogito.serverless.workflow.utils
+
+
org.kie.kogito
diff --git a/kogito-serverless-workflow/pom.xml b/kogito-serverless-workflow/pom.xml
index 0ad75dfd15d..f752d16d206 100644
--- a/kogito-serverless-workflow/pom.xml
+++ b/kogito-serverless-workflow/pom.xml
@@ -53,21 +53,11 @@
kogito-serverless-workflow-utils
kogito-jsonpath-expression
kogito-jq-expression
+ kogito-serverless-workflow-executor
+ kogito-serverless-workflow-executor-tests
-
- default
-
-
- !productized
-
-
-
- kogito-serverless-workflow-executor
- kogito-serverless-workflow-executor-tests
-
-
full
diff --git a/kogito-test-utils/pom.xml b/kogito-test-utils/pom.xml
index 5d148ce6184..9e24f309ad8 100644
--- a/kogito-test-utils/pom.xml
+++ b/kogito-test-utils/pom.xml
@@ -36,6 +36,10 @@
Kogito :: Test Utilities :: Common
Test Utilities for Kogito
+
+ org.kie.kogito.test.resources
+
+
org.testcontainers
diff --git a/kogito-workitems/kogito-jackson-utils/pom.xml b/kogito-workitems/kogito-jackson-utils/pom.xml
index 862d3b0274e..bcfc16402c3 100644
--- a/kogito-workitems/kogito-jackson-utils/pom.xml
+++ b/kogito-workitems/kogito-jackson-utils/pom.xml
@@ -32,6 +32,11 @@
Kogito :: Workitems :: Jackson utils
Jackson utilities
+
+
+ org.kie.kogito.jackson.utils
+
+
com.fasterxml.jackson.core
diff --git a/kogito-workitems/kogito-rest-utils/pom.xml b/kogito-workitems/kogito-rest-utils/pom.xml
index 082acdb76a7..e322db99195 100644
--- a/kogito-workitems/kogito-rest-utils/pom.xml
+++ b/kogito-workitems/kogito-rest-utils/pom.xml
@@ -31,6 +31,10 @@
kogito-rest-utils
Kogito :: Workitems :: RestUtils
+
+ org.kogito.workitem.rest.auth
+
+
Rest utils
diff --git a/kogito-workitems/kogito-rest-workitem/pom.xml b/kogito-workitems/kogito-rest-workitem/pom.xml
index fa16bafe13c..b9f14cb19ad 100644
--- a/kogito-workitems/kogito-rest-workitem/pom.xml
+++ b/kogito-workitems/kogito-rest-workitem/pom.xml
@@ -32,6 +32,12 @@
Kogito :: Workitems :: RestWorkItem
Rest task workitem handler
+
+
+ org.kogito.workitem.rest
+
+
+
org.kie.kogito
diff --git a/pom.xml b/pom.xml
index 317c4236534..fbe18c88c2e 100644
--- a/pom.xml
+++ b/pom.xml
@@ -52,8 +52,25 @@
-->
UTF-8
+ 2024-01-16T00:00:00Z
+ 3.4.1
+
+
+
+
+ org.apache.maven.plugins
+ maven-artifact-plugin
+ ${version.maven.artifact.plugin}
+
+ ${project.build.outputTimestamp}
+
+
+
+
+
+
@@ -128,20 +145,8 @@
addons
kogito-workitems
kogito-serverless-workflow
+ kogito-maven-plugin
+ springboot
-
-
- default
-
-
- !productized
-
-
-
- kogito-maven-plugin
- springboot
-
-
-
diff --git a/quarkus/addons/camel/deployment/pom.xml b/quarkus/addons/camel/deployment/pom.xml
index d2d49c9c9b2..1afe2d820a7 100644
--- a/quarkus/addons/camel/deployment/pom.xml
+++ b/quarkus/addons/camel/deployment/pom.xml
@@ -29,6 +29,10 @@
4.0.0
+
+ org.kie.kogito.addons.quarkus.camel.deployment
+
+
Kogito :: Add-Ons :: Quarkus :: Camel :: Deployment
Kogito Quarkus Camel Integration with Serverless Workflow
kogito-addons-quarkus-camel-deployment
diff --git a/quarkus/addons/camel/integration-tests/pom.xml b/quarkus/addons/camel/integration-tests/pom.xml
index 3ec356e4346..5ab376bb8bd 100644
--- a/quarkus/addons/camel/integration-tests/pom.xml
+++ b/quarkus/addons/camel/integration-tests/pom.xml
@@ -34,6 +34,10 @@
Kogito Quarkus Camel Integration with Serverless Workflow
kogito-addons-quarkus-camel-integration-tests
+
+ org.kie.kogito.addons.quarkus.camel.integration.test
+
+
org.kie.kogito
diff --git a/quarkus/addons/camel/runtime/pom.xml b/quarkus/addons/camel/runtime/pom.xml
index f528d8de0cf..8b70b701cb1 100644
--- a/quarkus/addons/camel/runtime/pom.xml
+++ b/quarkus/addons/camel/runtime/pom.xml
@@ -33,6 +33,11 @@
Kogito Quarkus Camel Integration with Serverless Workflow
kogito-addons-quarkus-camel
+
+ org.kie.kogito.addons.quarkus.camel.runtime
+
+
+
org.kie.kogito
diff --git a/quarkus/addons/common/deployment/pom.xml b/quarkus/addons/common/deployment/pom.xml
index f453b0f6f9c..c3e71e28186 100644
--- a/quarkus/addons/common/deployment/pom.xml
+++ b/quarkus/addons/common/deployment/pom.xml
@@ -33,6 +33,11 @@
Kogito Add-On Common - Deployment
Common libraries meant to be used with Kogito Quarkus Add-Ons deployment modules
+
+ org.kie.kogito.quarkus.addons.common.deployment
+
+
+
io.quarkus
diff --git a/quarkus/addons/common/reactive-messaging/pom.xml b/quarkus/addons/common/reactive-messaging/pom.xml
index b49293c7a68..30d8cd6f3c4 100644
--- a/quarkus/addons/common/reactive-messaging/pom.xml
+++ b/quarkus/addons/common/reactive-messaging/pom.xml
@@ -32,6 +32,10 @@
kogito-addons-quarkus-common-reactive-messaging
Kogito Add-On Common - Reactive Messaging
+
+ org.kie.kogito.addon.quarkus.common.reactive.messaging
+
+
io.smallrye.reactive
diff --git a/quarkus/addons/events/decisions/deployment/pom.xml b/quarkus/addons/events/decisions/deployment/pom.xml
index 3af0d345f17..fe3067d066d 100644
--- a/quarkus/addons/events/decisions/deployment/pom.xml
+++ b/quarkus/addons/events/decisions/deployment/pom.xml
@@ -29,6 +29,11 @@
kogito-addons-quarkus-events-decisions-deployment
Kogito Add-On Events Decisions - Deployment
+
+
+ org.kie.kogito.eventdriven.decision
+
+
io.quarkus
@@ -41,7 +46,6 @@
org.kie.kogito
kogito-addons-quarkus-messaging-deployment
- ${project.version}
org.kie.kogito
diff --git a/quarkus/addons/events/decisions/runtime/pom.xml b/quarkus/addons/events/decisions/runtime/pom.xml
index 2060ca7fc59..7e41eebfa3f 100644
--- a/quarkus/addons/events/decisions/runtime/pom.xml
+++ b/quarkus/addons/events/decisions/runtime/pom.xml
@@ -32,6 +32,10 @@
kogito-addons-quarkus-events-decisions
Kogito Add-On Events Decisions
+
+ org.kie.kogito.eventdriven.decision
+
+
org.kie.kogito
diff --git a/quarkus/addons/events/mongodb/deployment/pom.xml b/quarkus/addons/events/mongodb/deployment/pom.xml
index 294bc7d59ef..7d33369d731 100644
--- a/quarkus/addons/events/mongodb/deployment/pom.xml
+++ b/quarkus/addons/events/mongodb/deployment/pom.xml
@@ -29,6 +29,11 @@
kogito-addons-quarkus-events-mongodb-deployment
Kogito Add-On Events MongoDB - Deployment
+
+
+ org.kie.kogito.events.mongodb.deployment
+
+
io.quarkus
diff --git a/quarkus/addons/events/mongodb/runtime/pom.xml b/quarkus/addons/events/mongodb/runtime/pom.xml
index bf3a3bb826c..ea7b6e63208 100644
--- a/quarkus/addons/events/mongodb/runtime/pom.xml
+++ b/quarkus/addons/events/mongodb/runtime/pom.xml
@@ -34,6 +34,10 @@
Kogito Add-On Events MongoDB
Kogito Events based on MongoDB and Quarkus Add-On
+
+ org.kie.kogito.events.mongodb
+
+
org.kie.kogito
diff --git a/quarkus/addons/events/pom.xml b/quarkus/addons/events/pom.xml
index 0ee68e37e94..7d9875bab1b 100644
--- a/quarkus/addons/events/pom.xml
+++ b/quarkus/addons/events/pom.xml
@@ -36,23 +36,10 @@
process
+ decisions
+ predictions
+ rules
+ mongodb
-
-
- default
-
-
- !productized
-
-
-
- decisions
- predictions
- rules
- mongodb
-
-
-
-
\ No newline at end of file
diff --git a/quarkus/addons/events/predictions/deployment/pom.xml b/quarkus/addons/events/predictions/deployment/pom.xml
index 22ebe37d837..5101173c250 100644
--- a/quarkus/addons/events/predictions/deployment/pom.xml
+++ b/quarkus/addons/events/predictions/deployment/pom.xml
@@ -29,6 +29,11 @@
kogito-addons-quarkus-events-predictions-deployment
Kogito Add-On Events Predictions - Deployment
+
+
+ org.kie.kogito.eventdriven.predictions
+
+
io.quarkus
diff --git a/quarkus/addons/events/predictions/runtime/pom.xml b/quarkus/addons/events/predictions/runtime/pom.xml
index 1f773c32a6c..ed17858428c 100644
--- a/quarkus/addons/events/predictions/runtime/pom.xml
+++ b/quarkus/addons/events/predictions/runtime/pom.xml
@@ -32,6 +32,10 @@
kogito-addons-quarkus-events-predictions
Kogito Add-On Events Predictions
+
+ org.kie.kogito.eventdriven.predictions
+
+
org.kie.kogito
diff --git a/quarkus/addons/events/process/deployment/pom.xml b/quarkus/addons/events/process/deployment/pom.xml
index b27d8b65b37..e759cf6b2f3 100644
--- a/quarkus/addons/events/process/deployment/pom.xml
+++ b/quarkus/addons/events/process/deployment/pom.xml
@@ -29,6 +29,11 @@
kogito-addons-quarkus-events-process-deployment
Kogito Add-On Events Process - Deployment
+
+
+ org.kie.kogito.events.process.deployment
+
+
io.quarkus
diff --git a/quarkus/addons/events/process/runtime/pom.xml b/quarkus/addons/events/process/runtime/pom.xml
index 66bcf75b075..866396e9e7b 100644
--- a/quarkus/addons/events/process/runtime/pom.xml
+++ b/quarkus/addons/events/process/runtime/pom.xml
@@ -31,6 +31,10 @@
Kogito Add-On Events Process
Kogito Add-On for runtime process events
+
+ org.kie.kogito.events
+
+
org.kie.kogito
diff --git a/quarkus/addons/events/rules/deployment/pom.xml b/quarkus/addons/events/rules/deployment/pom.xml
index 8f7e1ffe7b3..63b2d103a2b 100644
--- a/quarkus/addons/events/rules/deployment/pom.xml
+++ b/quarkus/addons/events/rules/deployment/pom.xml
@@ -29,6 +29,12 @@
kogito-addons-quarkus-events-rules-deployment
Kogito Add-On Events Rules - Deployment
+
+
+ org.kie.kogito.eventdriven.rules.deployment
+
+
+
io.quarkus
diff --git a/quarkus/addons/events/rules/runtime/pom.xml b/quarkus/addons/events/rules/runtime/pom.xml
index d96d973c1af..6fc4f6db5b8 100644
--- a/quarkus/addons/events/rules/runtime/pom.xml
+++ b/quarkus/addons/events/rules/runtime/pom.xml
@@ -32,6 +32,10 @@
kogito-addons-quarkus-events-rules
Kogito :: Add-Ons :: Events :: Event-Driven Rules :: Quarkus
+
+ org.kie.kogito.eventdriven.rules
+
+
org.kie.kogito
diff --git a/quarkus/addons/explainability/deployment/pom.xml b/quarkus/addons/explainability/deployment/pom.xml
index 3350350a11b..0955beaa7d6 100644
--- a/quarkus/addons/explainability/deployment/pom.xml
+++ b/quarkus/addons/explainability/deployment/pom.xml
@@ -29,6 +29,11 @@
kogito-addons-quarkus-explainability-deployment
Kogito Add-On Explainability - Deployment
+
+
+ org.kie.kogito.explainability.deployment
+
+
io.quarkus
diff --git a/quarkus/addons/explainability/integration-tests/pom.xml b/quarkus/addons/explainability/integration-tests/pom.xml
index b4f93c5579e..362372014fb 100644
--- a/quarkus/addons/explainability/integration-tests/pom.xml
+++ b/quarkus/addons/explainability/integration-tests/pom.xml
@@ -30,6 +30,10 @@
kogito-addons-quarkus-explainability-it
Kogito Add-On Explainability - Integration tests
+
+ org.kie.kogito.explainability.test
+
+
io.quarkus
diff --git a/quarkus/addons/explainability/runtime/pom.xml b/quarkus/addons/explainability/runtime/pom.xml
index 01b67c7df92..5acbb82e6df 100644
--- a/quarkus/addons/explainability/runtime/pom.xml
+++ b/quarkus/addons/explainability/runtime/pom.xml
@@ -32,6 +32,10 @@
kogito-addons-quarkus-explainability
Kogito Add-On Explainability
+
+ org.kie.kogito.explainability
+
+
io.quarkus
diff --git a/quarkus/addons/fabric8-kubernetes-service-catalog/deployment/pom.xml b/quarkus/addons/fabric8-kubernetes-service-catalog/deployment/pom.xml
index 1cc5a2cf6cd..23081f7a0a8 100644
--- a/quarkus/addons/fabric8-kubernetes-service-catalog/deployment/pom.xml
+++ b/quarkus/addons/fabric8-kubernetes-service-catalog/deployment/pom.xml
@@ -32,6 +32,10 @@
kogito-addons-quarkus-fabric8-kubernetes-service-catalog-deployment
Kogito Add-On Fabric8 Kubernetes Service Catalog - Deployment
+
+ org.kie.kogito.addons.quarkus.fabric8.k8s.service.catalog.deployment
+
+
org.kie.kogito
diff --git a/quarkus/addons/fabric8-kubernetes-service-catalog/runtime/pom.xml b/quarkus/addons/fabric8-kubernetes-service-catalog/runtime/pom.xml
index 6f0a838703e..a95857a6ebd 100644
--- a/quarkus/addons/fabric8-kubernetes-service-catalog/runtime/pom.xml
+++ b/quarkus/addons/fabric8-kubernetes-service-catalog/runtime/pom.xml
@@ -32,6 +32,10 @@
kogito-addons-quarkus-fabric8-kubernetes-service-catalog
Kogito Add-On Fabric8 Kubernetes Service Catalog
+
+ org.kie.kogito.addons.quarkus.fabric8.k8s.service.catalog
+
+
org.kie.kogito
diff --git a/quarkus/addons/fabric8-kubernetes-service-catalog/test-utils/pom.xml b/quarkus/addons/fabric8-kubernetes-service-catalog/test-utils/pom.xml
index 30e17497f63..b03f9c73743 100644
--- a/quarkus/addons/fabric8-kubernetes-service-catalog/test-utils/pom.xml
+++ b/quarkus/addons/fabric8-kubernetes-service-catalog/test-utils/pom.xml
@@ -31,6 +31,11 @@
kogito-addons-quarkus-fabric8-kubernetes-service-catalog-test-utils
Kogito Add-On Fabric8 Kubernetes Service Catalog Tests Utils
Util classes intended to be used in test scope.
+
+
+ org.kie.kogito.addons.quarkus.k8s.test.utils
+
+
io.quarkus
diff --git a/quarkus/addons/jobs/common/messaging/pom.xml b/quarkus/addons/jobs/common/messaging/pom.xml
index 27330b6a498..65f658482d8 100644
--- a/quarkus/addons/jobs/common/messaging/pom.xml
+++ b/quarkus/addons/jobs/common/messaging/pom.xml
@@ -32,6 +32,10 @@
kogito-addons-quarkus-jobs-common-messaging
Kogito Add-Ons Quarkus Jobs Common - Messaging
+
+ org.kie.kogito.jobs.messaging.quarkus
+
+
jakarta.ws.rs
diff --git a/quarkus/addons/jobs/common/rest-callback/pom.xml b/quarkus/addons/jobs/common/rest-callback/pom.xml
index 1c83aba8d6b..b6e74931783 100644
--- a/quarkus/addons/jobs/common/rest-callback/pom.xml
+++ b/quarkus/addons/jobs/common/rest-callback/pom.xml
@@ -32,6 +32,11 @@
kogito-addons-quarkus-rest-callback
Kogito Add-Ons Quarkus - Rest Callback
+
+
+ org.kie.kogito.process.quarkus.rest.callback
+
+
jakarta.ws.rs
diff --git a/quarkus/addons/jobs/knative-eventing/deployment/pom.xml b/quarkus/addons/jobs/knative-eventing/deployment/pom.xml
index 4636f8d4dd0..dfbbb3754d7 100644
--- a/quarkus/addons/jobs/knative-eventing/deployment/pom.xml
+++ b/quarkus/addons/jobs/knative-eventing/deployment/pom.xml
@@ -29,6 +29,11 @@
kogito-addons-quarkus-jobs-knative-eventing-deployment
Kogito Add-Ons Quarkus Jobs Knative Eventing - Deployment
+
+
+ org.kie.kogito.jobs.knative.eventing.quarkus.deployment
+
+
io.quarkus
diff --git a/quarkus/addons/jobs/knative-eventing/runtime/pom.xml b/quarkus/addons/jobs/knative-eventing/runtime/pom.xml
index bfde04edbc2..cf19132890e 100644
--- a/quarkus/addons/jobs/knative-eventing/runtime/pom.xml
+++ b/quarkus/addons/jobs/knative-eventing/runtime/pom.xml
@@ -32,6 +32,10 @@
Jobs Quarkus Add-On to interact with the Jobs Service using events via the knative eventing system
+
+ org.kie.kogito.jobs.knative.eventing.quarkus
+
+
io.quarkus
diff --git a/quarkus/addons/jobs/management/deployment/pom.xml b/quarkus/addons/jobs/management/deployment/pom.xml
index 1408cdd67c7..b81dfb94cec 100644
--- a/quarkus/addons/jobs/management/deployment/pom.xml
+++ b/quarkus/addons/jobs/management/deployment/pom.xml
@@ -29,6 +29,11 @@
kogito-addons-quarkus-jobs-management-deployment
Kogito Add-Ons Quarkus Jobs Management - Deployment
+
+
+ org.kie.kogito.jobs.management.quarkus.deployment
+
+
io.quarkus
diff --git a/quarkus/addons/jobs/management/runtime/pom.xml b/quarkus/addons/jobs/management/runtime/pom.xml
index 9a9698f2e42..b71ac7ebd6b 100644
--- a/quarkus/addons/jobs/management/runtime/pom.xml
+++ b/quarkus/addons/jobs/management/runtime/pom.xml
@@ -32,6 +32,10 @@
Jobs Management Quarkus Add-On to interact with Jobs Service
+
+ org.kie.kogito.jobs.management.quarkus
+
+
org.kie.kogito
diff --git a/quarkus/addons/jobs/messaging/deployment/pom.xml b/quarkus/addons/jobs/messaging/deployment/pom.xml
index 0188fede19e..f397ca51547 100644
--- a/quarkus/addons/jobs/messaging/deployment/pom.xml
+++ b/quarkus/addons/jobs/messaging/deployment/pom.xml
@@ -29,6 +29,11 @@
kogito-addons-quarkus-jobs-messaging-deployment
Kogito Add-Ons Quarkus Jobs Messaging - Deployment
+
+
+ org.kie.kogito.jobs.messaging.quarkus.deployment
+
+
io.quarkus
diff --git a/quarkus/addons/jobs/messaging/runtime/pom.xml b/quarkus/addons/jobs/messaging/runtime/pom.xml
index f1f8d7b2283..acc10e320f6 100644
--- a/quarkus/addons/jobs/messaging/runtime/pom.xml
+++ b/quarkus/addons/jobs/messaging/runtime/pom.xml
@@ -32,6 +32,10 @@
Jobs Quarkus Add-On to interact with the Jobs Service using events via the reactive messaging api
+
+ org.kie.kogito.jobs.messaging.quarkus
+
+
io.quarkus
diff --git a/quarkus/addons/jobs/pom.xml b/quarkus/addons/jobs/pom.xml
index 3ed41db9a4c..34974911169 100644
--- a/quarkus/addons/jobs/pom.xml
+++ b/quarkus/addons/jobs/pom.xml
@@ -36,21 +36,8 @@
common
management
+ messaging
+ knative-eventing
-
-
- default
-
-
- !productized
-
-
-
- messaging
- knative-eventing
-
-
-
-
diff --git a/quarkus/addons/knative/eventing/deployment/pom.xml b/quarkus/addons/knative/eventing/deployment/pom.xml
index fa40d5f90f0..e3a5aa2e386 100644
--- a/quarkus/addons/knative/eventing/deployment/pom.xml
+++ b/quarkus/addons/knative/eventing/deployment/pom.xml
@@ -29,6 +29,11 @@
kogito-addons-quarkus-knative-eventing-deployment
Kogito Add-On Knative Eventing - Deployment
+
+
+ org.kie.kogito.addons.quarkus.knative.eventing.deployment
+
+
org.kie.kogito
diff --git a/quarkus/addons/knative/eventing/integration-tests/pom.xml b/quarkus/addons/knative/eventing/integration-tests/pom.xml
index 37cd67fdb6c..948970e3cf9 100644
--- a/quarkus/addons/knative/eventing/integration-tests/pom.xml
+++ b/quarkus/addons/knative/eventing/integration-tests/pom.xml
@@ -32,6 +32,10 @@
kogito-addons-quarkus-knative-eventing-integration-tests
Kogito Add-On Knative Eventing - Integration Tests
+
+ org.kie.kogito.addons.quarkus.knative.eventing.test
+
+
diff --git a/quarkus/addons/knative/eventing/runtime/pom.xml b/quarkus/addons/knative/eventing/runtime/pom.xml
index c36537c12c4..42021e28e52 100644
--- a/quarkus/addons/knative/eventing/runtime/pom.xml
+++ b/quarkus/addons/knative/eventing/runtime/pom.xml
@@ -33,6 +33,10 @@
Kogito Add-On Knative Eventing
Knative Eventing Kogito Add-On. Adds support for CloudEvents on top of HTTP and Knative env vars configuration.
+
+ org.kie.kogito.addons.quarkus.knative.eventing
+
+
org.kie.kogito
diff --git a/quarkus/addons/knative/serving/deployment/pom.xml b/quarkus/addons/knative/serving/deployment/pom.xml
index e46f33194ea..791505e5f66 100644
--- a/quarkus/addons/knative/serving/deployment/pom.xml
+++ b/quarkus/addons/knative/serving/deployment/pom.xml
@@ -32,6 +32,10 @@
kogito-addons-quarkus-knative-serving-deployment
Kogito Add-On Knative Serving - Deployment
+
+ org.kie.kogito.addons.quarkus.knative.serving.deployment
+
+
org.kie.kogito
diff --git a/quarkus/addons/knative/serving/integration-tests/pom.xml b/quarkus/addons/knative/serving/integration-tests/pom.xml
index 0f3a9a36bbd..de2a06f37bd 100644
--- a/quarkus/addons/knative/serving/integration-tests/pom.xml
+++ b/quarkus/addons/knative/serving/integration-tests/pom.xml
@@ -33,6 +33,10 @@
Kogito Add-On Knative Serving - Integration Tests
Knative Serving Kogito Add-On Integration Tests.
+
+ org.kie.kogito.addons.quarkus.knative.serving.test
+
+
diff --git a/quarkus/addons/knative/serving/runtime/pom.xml b/quarkus/addons/knative/serving/runtime/pom.xml
index df374aca89e..e8bb991bb64 100644
--- a/quarkus/addons/knative/serving/runtime/pom.xml
+++ b/quarkus/addons/knative/serving/runtime/pom.xml
@@ -33,6 +33,10 @@
Kogito Add-On Knative Serving
Knative Serving Kogito Add-On. Adds Knative Serverless Workflow custom functions.
+
+ org.kie.kogito.addons.quarkus.knative.serving.customfunctions
+
+
org.kie.kogito
diff --git a/quarkus/addons/kubernetes/deployment/pom.xml b/quarkus/addons/kubernetes/deployment/pom.xml
index 84ebc9fafd6..5c773ce6fae 100644
--- a/quarkus/addons/kubernetes/deployment/pom.xml
+++ b/quarkus/addons/kubernetes/deployment/pom.xml
@@ -29,6 +29,12 @@
kogito-addons-quarkus-kubernetes-deployment
Kogito Add-On Kubernetes - Deployment
+
+
+