[jboss-jira] [JBoss JIRA] (DROOLS-3239) Investigate if possible to inject dependencies required by maven compiler plugin from kie-maven-plugin

Stetson Robinson (Jira) issues at jboss.org
Fri Jul 19 11:33:00 EDT 2019


    [ https://issues.jboss.org/browse/DROOLS-3239?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13761293#comment-13761293 ] 

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_automation_manager/7.4/html-single/packaging_and_deploying_a_red_hat_process_automation_manager_project/index#project-build-deploy-maven-proc_packaging-deploying] 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_automation_manager/7.4/html-single/packaging_and_deploying_a_red_hat_process_automation_manager_project/index#project-build-deploy-java-proc_packaging-deploying] (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_single/index.html#executable-model-maven-proc_pmml-models
> {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)


More information about the jboss-jira mailing list