Uploaded image for project: 'HBase'
  1. HBase
  2. HBASE-27096

Exclude files which are not in source control as much as possible when running spotless

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: In Progress
    • Major
    • Resolution: Unresolved
    • None
    • None
    • build, pom
    • None

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

              zhangduo Duo Zhang
              zhangduo Duo Zhang
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated: