uima-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Richard Eckart de Castilho (Jira)" <...@uima.apache.org>
Subject [jira] [Updated] (UIMA-6349) japicmp post processing script fails with Java 16
Date Thu, 15 Apr 2021 10:55:00 GMT

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

Richard Eckart de Castilho updated UIMA-6349:
---------------------------------------------
    Description: 
When building the UIMA Java SDK with a Java 16 JDK, we get the following error:

{quote}
[ERROR] Failed to execute goal com.github.siom79.japicmp:japicmp-maven-plugin:0.14.4:cmp (default)
on project uimaj-core: Execution of post-analysis script failed: javax.script.ScriptException:
groovy.lang.MissingMethodException: No signature of method: java.lang.String.endsWith() is
applicable for argument types: (java.lang.String) values: [_Type] -> [Help 1]
{quote}

Works with Java 15.

The fix is apparently to force japicmp to use a new Groovy version:

{code}
<plugin>
        <groupId>com.github.siom79.japicmp</groupId>
        <artifactId>japicmp-maven-plugin</artifactId>
        <version>0.15.3</version>
        <dependencies>
          <dependency>
            <groupId>org.codehaus.groovy</groupId>
            <artifactId>groovy-jsr223</artifactId>
            <version>2.5.14</version>
          </dependency>
        </dependencies>
      </plugin>
{code}

  was:
When building the UIMA Java SDK with a Java 16 JDK, we get the following error:

{quote}
[ERROR] Failed to execute goal com.github.siom79.japicmp:japicmp-maven-plugin:0.14.4:cmp (default)
on project uimaj-core: Execution of post-analysis script failed: javax.script.ScriptException:
groovy.lang.MissingMethodException: No signature of method: java.lang.String.endsWith() is
applicable for argument types: (java.lang.String) values: [_Type] -> [Help 1]
{quote}

Works with Java 15.


> japicmp post processing script fails with Java 16
> -------------------------------------------------
>
>                 Key: UIMA-6349
>                 URL: https://issues.apache.org/jira/browse/UIMA-6349
>             Project: UIMA
>          Issue Type: Bug
>            Reporter: Richard Eckart de Castilho
>            Assignee: Richard Eckart de Castilho
>            Priority: Major
>
> When building the UIMA Java SDK with a Java 16 JDK, we get the following error:
> {quote}
> [ERROR] Failed to execute goal com.github.siom79.japicmp:japicmp-maven-plugin:0.14.4:cmp
(default) on project uimaj-core: Execution of post-analysis script failed: javax.script.ScriptException:
groovy.lang.MissingMethodException: No signature of method: java.lang.String.endsWith() is
applicable for argument types: (java.lang.String) values: [_Type] -> [Help 1]
> {quote}
> Works with Java 15.
> The fix is apparently to force japicmp to use a new Groovy version:
> {code}
> <plugin>
>         <groupId>com.github.siom79.japicmp</groupId>
>         <artifactId>japicmp-maven-plugin</artifactId>
>         <version>0.15.3</version>
>         <dependencies>
>           <dependency>
>             <groupId>org.codehaus.groovy</groupId>
>             <artifactId>groovy-jsr223</artifactId>
>             <version>2.5.14</version>
>           </dependency>
>         </dependencies>
>       </plugin>
> {code}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Mime
View raw message