Scott Wegner created BEAM-4341:

             Summary: Enforce ErrorProne analysis in the google-cloud-platform 
IO project
                 Key: BEAM-4341
             Project: Beam
          Issue Type: Improvement
          Components: io-ideas
            Reporter: Scott Wegner

Java ErrorProne static analysis was [recently 
enabled|] in the Gradle build process, 
but only as warnings. ErrorProne errors are generally useful and easy to fix. 
Some work was done to [make sdks-java-core 
ErrorProne-clean|] and add enforcement. 
This task is clean ErrorProne warnings and add enforcement in 
{{beam-sdks-java-io-file-based-io-tests}}. Additional context discussed on the 

Fixing this issue will involve:

# Follow instructions in the [Contribution 
Guide|] to set up a {{beam}} development 
# Run the following command to compile and run ErrorProne analysis on the 
project: {{./gradlew :beam-sdks-java-io-file-based-io-tests:assemble}}
# Fix each ErrorProne warning from the {{sdks/java/io/file-based-io-tests}} 
# In {{sdks/java/io/file-based-io-tests/build.gradle}}, add {{failOnWarning: 
true}} to the call the {{applyJavaNature()}} 

This starter issue is sponsored by [~swegner]. Feel free to [reach 
out|] with questions or code 

* JIRA: [~swegner]
* GitHub: [@swegner|]
* Slack: [@Scott Wegner|]
* Email: swegner at google dot com

This message was sent by Atlassian JIRA

Reply via email to