Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

Sortpom should fail instead of silently sort on spotless:check

Open
#2,068 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
42/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Stale
Tech stack
java
Domain
build-system

Research direction

Locate the Sortpom handling for the verifyFail setting and compare it with the spotless:check path. Confirm that the chosen setting makes spotless:check fail when sorting is needed, then run or update the relevant test if one is identified in the repository.

Written by the indexing model from the issue text.

Description

@Ekryd I'm trying to merge my sortpom config into spotless config build find that it doesn't failed on spotless:check but actually verifyFail == Sort.

I suppose we should use verifyFail == Stop so that it's the same manner as spotless.

Originally posted by @tisonkun in https://github.com/diffplug/spotless/issues/2049#issuecomment-2005605616

Dominant language
Java
Stars
5.7k
Forks
560
Avg merge
1d 13h
Merged PRs (30d)
43

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from diffplug/spotless

All issues in diffplug/spotless

Similar issues

More Java issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.