Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Cache conflict between Maven/Ant and Eclipse/CLI run #3566
While finishing up #3487, I noticed that running Checkstyle through Maven and CLI kept causing the cache to be erased. When looking into it, the main differences was the hash for the configuration.
Since I am using the exact same configuration, properties, settings, etc on the same workspace, I am expecting the 2 to work together, generate the same hash, and not keep erasing the cache when running the 2.
By default, when CLI runs a check with the check's severity as
Users don't expect checks with a configured severity of
In terms of what this issue should do:
When running through the Main class with eclipse the hash is:
Running directly with the CLI gave me the same results as running with Eclipse.
Looking at the raw output of the config that we hash using
It looks like this is an issue with maven/ant dropping off checks that are ignored.
This is the culprit,
It was added with: 585f7c2#diff-78be33d1ef39645130e7853aa1b80a02 and has always had a default of true.
referenced this issue
May 25, 2017