[DOCS-131] Checkstyle violation Created: 10/Sep/20 Updated: 10/Sep/20 Resolved: 10/Sep/20 |
|
| Status: | Resolved |
| Project: | docs |
| Component/s: | General |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Bug | Priority: | High |
| Reporter: | Thiện Nguyễn Minh | Assignee: | Thanh Ha (zxiiro) |
| Resolution: | Won't Do | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Attachments: |
|
| Description |
|
version: Magnesium When i use " mvn clean install" in step 4: Build the example project, i found "Failed to execute goal org.apache.maven.plugins:maven-checkstyle-plugin:3.1.0:check (default) on project example-it: You have 1 Checkstyle violation." |
| Comments |
| Comment by Thanh Ha (zxiiro) [ 10/Sep/20 ] |
|
Look at the first instance of [ERROR] in your screenshot. You can see that checkstyle is catching the line 15 in ExampleTest.java that you have an unused import for "org.junit.Ignore". Checkstyle is checking to make sure you are not importing Java libraries that are not being used in your code so you must make sure all your imports are either used or not imported at all. In this case you can probably just delete the line and rebuild. |
| Comment by Thanh Ha (zxiiro) [ 10/Sep/20 ] |
|
Closing as this is not related to documentation. |