[jboss-jira] [JBoss JIRA] (DROOLS-5423) Fix java 11 usage with kie-pmml-new

Gabriele Cardosi (Jira) issues at jboss.org
Mon Jun 15 10:37:00 EDT 2020


     [ https://issues.redhat.com/browse/DROOLS-5423?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Gabriele Cardosi closed DROOLS-5423.
------------------------------------


> Fix java 11 usage with kie-pmml-new
> -----------------------------------
>
>                 Key: DROOLS-5423
>                 URL: https://issues.redhat.com/browse/DROOLS-5423
>             Project: Drools
>          Issue Type: Bug
>            Reporter: Gabriele Cardosi
>            Assignee: Gabriele Cardosi
>            Priority: Critical
>              Labels: TrustyAI
>
> Kie-pmml-new is broken when running under Java 11.
> This is due to the missing jaxb api/implementations.
> Solution should be to add a java-11 profile inside kie-pmml-compiler-commons/pom.xml
>  
> {code:java}
> // <profiles>
>   <profile>
>     <id>java11-pmml</id>
>     <activation>
>       <jdk>[11,)</jdk>
>     </activation>
>     <properties>
>       <jaxb.api.version>2.3.2</jaxb.api.version>
>     </properties>
>     <dependencies>
>         <dependency>
>       <groupId>org.jboss.spec.javax.xml.bind</groupId>
>       <artifactId>jboss-jaxb-api_2.3_spec</artifactId>
>     </dependency>
>      <dependency>
>       <groupId>org.glassfish.jaxb</groupId>
>       <artifactId>jaxb-runtime</artifactId>
>     </dependency>
>     </dependencies>
>   </profile>
> </profiles>
> {code}



--
This message was sent by Atlassian Jira
(v7.13.8#713008)



More information about the jboss-jira mailing list