rtvd opened a new pull request #2300:
URL: https://github.com/apache/thrift/pull/2300
Client: java
An update for thrift-maven-plugin which enables strict compilation mode.
Strict compilation mode can be enabled by specifying `<strict>true</strict>`
in the configuration section of the plugin.
For example:
```xml
<plugin>
<groupId>org.apache.thrift</groupId>
<artifactId>thrift-maven-plugin</artifactId>
<version>1.0.1</version>
<configuration>
<thriftExecutable>/usr/bin/thrift</thriftExecutable>
<generator>java</generator>
<strict>true</strict>
</configuration>
<executions>
<execution>
<id>thrift-sources</id>
<phase>generate-sources</phase>
<goals>
<goal>compile</goal>
</goals>
</execution>
<execution>
<id>thrift-test-sources</id>
<phase>generate-test-sources</phase>
<goals>
<goal>testCompile</goal>
</goals>
</execution>
</executions>
</plugin>
```
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]