beam-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Scott Wegner (JIRA)" <>
Subject [jira] [Created] (BEAM-4315) Enforce ErrorProne analysis in local-artifact-service project
Date Wed, 16 May 2018 22:26:00 GMT
Scott Wegner created BEAM-4315:

             Summary: Enforce ErrorProne analysis in local-artifact-service project
                 Key: BEAM-4315
             Project: Beam
          Issue Type: Improvement
          Components: sdk-java-harness
            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-runners-java-fn-execution}}.
Additional context discussed on the [dev list|].

Fixing this issue will involve:

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

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

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

This message was sent by Atlassian JIRA

View raw message