[
https://issues.jboss.org/browse/DROOLS-3239?page=com.atlassian.jira.plugi...
]
Stetson Robinson commented on DROOLS-3239:
------------------------------------------
[~volothamp], I suppose you're right if we consider the exec model dependencies to be
just another packaging requirement in the pom.xml for DM/PAM projects. Today, step one in
the [packaging
procedure|https://access.redhat.com/documentation/en-us/red_hat_process_a...]
is to set the packaging type to kjar and add the kie-maven-plugin. I thought this exec
model behavior change _was_ meant to be part of the kie-maven-plugin and thus covered by
that step now, but if not, then I guess the second step would remain the same for adding
those org.drools dependencies as part of the initial packaging process.
Even still, the question remains about how the same procedure is impacted in a [Java
application|https://access.redhat.com/documentation/en-us/red_hat_process...]
(where `kieBuilder.buildAll( ExecutableModelProject.class )` is used) rather than in
Maven. Can talk later on that, as we discussed.
Investigate if possible to inject dependencies required by maven
compiler plugin from kie-maven-plugin
------------------------------------------------------------------------------------------------------
Key: DROOLS-3239
URL:
https://issues.jboss.org/browse/DROOLS-3239
Project: Drools
Issue Type: Task
Components: tools
Reporter: Matteo Mortari
Assignee: Luca Molteni
Priority: Major
Investigate if possible to inject dependencies required by maven compiler plugin from
kie-maven-plugin
For reference this kind of dependencies described at step2:
https://docs.jboss.org/drools/release/7.12.0.Final/drools-docs/html_singl...
{quote}it would be a lot better if we could inject these dependencies either
automatically into the generated kjar/pom or if we could add them transitively. {quote}
Deliverable in case not possible is a reference (in the manual) about why adding these
dependencies manually in the pom.xml is necessary --analogy to JavaEE/JakartaEE and jOOQ
as an example?
--
This message was sent by Atlassian Jira
(v7.12.1#712002)