Join GitHub today
Generate Java classes for thrift #46
I cannot find a way to tell the scrooge-maven-plugin how to use the --language java.
I'm having the same issue.
From what I can tell, adding:
will pass the equivalent of --language\ java and adding:
doesn't work because the options are converted to a set and the ordering is not maintained. The error message tells me: language option /path/to/my.thrift not supported, so it appears to be adding the --language option last.
I had the same problem. This fixed it for me:
<configuration> <thriftOpts> <thriftOpt>-l</thriftOpt> <thriftOpt>java</thriftOpt> </thriftOpts> </configuration>
(Using -l instead of --language)
But it would be nice to be able to have a language tag, like this:
<configuration> <language>java</language> </configuration>
@chunyan Any chance you would accept a pull request adding a tag?