You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Chesnay Schepler (JIRA)" <ji...@apache.org> on 2018/05/28 11:45:00 UTC

[jira] [Updated] (FLINK-8640) Japicmp fails on java 9

     [ https://issues.apache.org/jira/browse/FLINK-8640?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Chesnay Schepler updated FLINK-8640:
------------------------------------
    Description: 
The {{japicmp}} plugin does not work out-of-the-box with java 9 as per [https://github.com/siom79/japicmp/issues/177|https://github.com/siom79/japicmp/issues/177].

We have to add the following to the plugins dependency section:
{code}
<dependencies>
              <dependency>
                <groupId>javax.xml.bind</groupId>
                <artifactId>jaxb-api</artifactId>
                <version>2.3.0</version>
              </dependency>
              <dependency>
                <groupId>com.sun.xml.bind</groupId>
                <artifactId>jaxb-core</artifactId>
                <version>2.3.0</version>
              </dependency>
              <dependency>
                <groupId>com.sun.xml.bind</groupId>
                <artifactId>jaxb-impl</artifactId>
                <version>2.3.0</version>
              </dependency>
              <dependency>
                <groupId>javax.activation</groupId>
                <artifactId>javax.activation-api</artifactId>
                <version>1.2.0</version>
              </dependency>
            </dependencies>
{code}

  was:
The {{japicmp}} plugin does not work out-of-the-box with java 9 as per [https://github.com/siom79/japicmp/issues/177|https://github.com/siom79/japicmp/issues/177].

It is necessary to modify MAVEN_OPTS which we cannot automatically do as part of our maven build, hence we should disable the plugin.


> Japicmp fails on java 9
> -----------------------
>
>                 Key: FLINK-8640
>                 URL: https://issues.apache.org/jira/browse/FLINK-8640
>             Project: Flink
>          Issue Type: Sub-task
>          Components: Build System
>    Affects Versions: 1.5.0
>            Reporter: Chesnay Schepler
>            Assignee: Chesnay Schepler
>            Priority: Minor
>
> The {{japicmp}} plugin does not work out-of-the-box with java 9 as per [https://github.com/siom79/japicmp/issues/177|https://github.com/siom79/japicmp/issues/177].
> We have to add the following to the plugins dependency section:
> {code}
> <dependencies>
>               <dependency>
>                 <groupId>javax.xml.bind</groupId>
>                 <artifactId>jaxb-api</artifactId>
>                 <version>2.3.0</version>
>               </dependency>
>               <dependency>
>                 <groupId>com.sun.xml.bind</groupId>
>                 <artifactId>jaxb-core</artifactId>
>                 <version>2.3.0</version>
>               </dependency>
>               <dependency>
>                 <groupId>com.sun.xml.bind</groupId>
>                 <artifactId>jaxb-impl</artifactId>
>                 <version>2.3.0</version>
>               </dependency>
>               <dependency>
>                 <groupId>javax.activation</groupId>
>                 <artifactId>javax.activation-api</artifactId>
>                 <version>1.2.0</version>
>               </dependency>
>             </dependencies>
> {code}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)