[JBoss JIRA] (DROOLS-5423) Fix java 11 usage with kie-pmml-new
by Gabriele Cardosi (Jira)
[ https://issues.redhat.com/browse/DROOLS-5423?page=com.atlassian.jira.plug... ]
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)
4 years, 6 months