Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

xml-maven-plugin validation should not validate '.ci-temp' folder #8606

Closed
romani opened this issue Aug 5, 2020 · 1 comment
Closed

xml-maven-plugin validation should not validate '.ci-temp' folder #8606

romani opened this issue Aug 5, 2020 · 1 comment

Comments

@romani
Copy link
Member

romani commented Aug 5, 2020

Build might fail at xml-maven-plugin validation if there is some untracked xml files in repo
in my case it was .ci-temp folder that is leftover from regression execution.

✔ ~/java/github/romani/checkstyle [master L|✔] 
$ ./.ci/pitest.sh pitest-common-2
[INFO] Error stacktraces are turned on.
[INFO] Scanning for projects...
[INFO] Inspecting build with total of 1 modules...
[INFO] Installing Nexus Staging features:
[INFO]   ... total of 1 executions of maven-deploy-plugin replaced with nexus-staging-maven-plugin
[INFO] 
[INFO] ------------------< com.puppycrawl.tools:checkstyle >-------------------
[INFO] Building checkstyle 8.36-SNAPSHOT
[INFO] --------------------------------[ jar ]---------------------------------
[INFO] 
......
[INFO] 
[INFO] --- xml-maven-plugin:1.0.2:check-format (default) @ checkstyle ---
[ERROR] /home/rivanov/java/github/romani/checkstyle/./.ci-temp/checks-only-javadoc-error.xml:14,70:
 Delete 2 spaces. Expected 4 found 6 spaces before start element <property>
[ERROR] /home/rivanov/java/github/romani/checkstyle/./.ci-temp/trunk/native/linux/
latest/usr/share/mime/packages/josm-latest.xml:3,49: 
Delete 6 spaces. Expected 2 found 8 spaces before start element <mime-type>
....
@pbludov
Copy link
Member

pbludov commented Aug 7, 2020

Fix is merged

@pbludov pbludov closed this as completed Aug 7, 2020
shiliyu pushed a commit to shiliyu/checkstyle that referenced this issue Sep 1, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants