Upgrade finagle-maven-plugin to scrooge-maven-plugin because:
1. The jars are missing from twitter maven repo:
2. Per they want us to upgrade to the newer scrooge maven plugin
<!-- Thrift source generate plugin. -->
<plugin>
<groupId>com.twitter</groupId>
- <artifactId>maven-finagle-thrift-plugin</artifactId>
- <version>0.0.9</version>
+ <artifactId>scrooge-maven-plugin</artifactId>
+ <version>19.11.0</version>
<executions>
<execution>
<id>thrift-sources</id>
<goals>
<goal>compile</goal>
</goals>
- <configuration>
- <thriftGenerators>
- <thriftGenerator>finagle</thriftGenerator>
- </thriftGenerators>
- <thriftOpts>
- <thriftOpt>finagle</thriftOpt>
- </thriftOpts>
- </configuration>
</execution>
<execution>
<id>thrift-test-sources</id>
<goals>
<goal>testCompile</goal>
</goals>
- <configuration>
- <thriftGenerators>
- <thriftGenerator>finagle</thriftGenerator>
- </thriftGenerators>
- <thriftOpts>
- <thriftOpt>finagle</thriftOpt>
- </thriftOpts>
- </configuration>
</execution>
</executions>
<configuration>
- <thriftGenerators>
- <thriftGenerator>finagle</thriftGenerator>
- </thriftGenerators>
+ <thriftOpts>
+ <thriftOpt>--finagle</thriftOpt>
+ </thriftOpts>
+ <language>java</language>
+ <buildExtractedThrift>true</buildExtractedThrift>
</configuration>
</plugin>
<plugin>
