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

Gabriele Cardosi (Jira) issues at jboss.org
Tue Jun 9 12:02:14 EDT 2020


Gabriele Cardosi created DROOLS-5423:
----------------------------------------

             Summary: 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


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