thrift-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Benjamin Gould (JIRA)" <>
Subject [jira] [Commented] (THRIFT-4083) maven-thrift-plugin doesn't work with thrift 0.10.0
Date Sat, 11 Feb 2017 05:50:42 GMT


Benjamin Gould commented on THRIFT-4083:

You're using an old version of the maven plugin (like 6 years old), and that version appears
to use a generator option (:hashcode) by default that disappeared in Thrift 0.9.2:

That plugin was contributed to ASF and is now part of Apache Thrift, and you can use the current
version by including the following in your configuration:


Alternatively if you don't want to upgrade the plugin version in your project, you can explicitly
specify the generator in your configuration as "java" as opposed to the default of "java:hashcode"

> maven-thrift-plugin doesn't work with thrift 0.10.0
> ---------------------------------------------------
>                 Key: THRIFT-4083
>                 URL:
>             Project: Thrift
>          Issue Type: Dependency upgrade
>    Affects Versions: 0.10.0
>         Environment: Found on OS-X
>            Reporter: Manasi Vartak
> maven-thrift-plugin (0.1.10) doesn't work with thrift 0.10.0.
> When compiling thrift sources (which worked with 0.9.3), the plugin throws the following
> [INFO] --- maven-thrift-plugin:0.1.11:compile (thrift-sources) @ project ---
> [ERROR] thrift failed output: 
> [ERROR] thrift failed error: [FAILURE:generation:1] Error: unknown option java:hashcode

This message was sent by Atlassian JIRA

View raw message