You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hbase.apache.org by "Duo Zhang (Jira)" <ji...@apache.org> on 2022/06/07 15:05:00 UTC

[jira] [Created] (HBASE-27096) Exclude files which are not in source control as much as possible when running spotless

Duo Zhang created HBASE-27096:
---------------------------------

             Summary: Exclude files which are not in source control as much as possible when running spotless
                 Key: HBASE-27096
                 URL: https://issues.apache.org/jira/browse/HBASE-27096
             Project: HBase
          Issue Type: Improvement
          Components: build, pom
            Reporter: Duo Zhang


In HBASE-27084, we added spotless:check to mvn verify stage, but the general format section in spotless will include some files which are not in source control, such as .idea/* or .settings/*, and then fail the 'mvn install'.

Although usually it could be fixed by a spotless:apply call, but IDE may regenerate the file and fail the build again.

Let's add more exclude patterns to make it work better.



--
This message was sent by Atlassian Jira
(v8.20.7#820007)