Advanced Maven Lab - CSC8545-Spring2026-Org/maven-lab-8545-s26-Nikhil070104 GitHub Wiki

Part 1 1.checkstyle was configured in the build section in the pom.xml file. 2.The checkstyle configuration file is specified using the tag in the plugin configuration. image

Checkstyle Goals:- 1.The checkstyle:checkstyle outcome build was successful and a checkstyle report was generated. 2.checkstyle:check outcome has failed when failOnViolation = true. image 3.The checkstyle:check outcome has succeeded when failOnViolation = false. image 4.The checkstyle:checkstyle generated a report only and checkstyle:check enforced rules and can fail the build. With failOnViolation = true,build fails if violations exist and with failOnViolation = false,build continues even if violations exist. 5.The checkstyle results are stored in the target/site/checkstyle.html.

Part 2 image 1.The customization is present in the section. 2.The site:site goal generates a project website that included project details , code quality reports and test results. 3.Project reports image 4.The site was successfully generated even with warnings and reports are easy to navigate via the browser.The target/site directory contains all generated HTML files.

Part 3 1.The clean command was executed and completed successfully. It removed the target directory and all previously generated build artifacts, resulting in a build success. 2.The compile phase was executed successfully. The source code was compiled and .class files were generated in the target/classes directory, resulting in a build success. 3.The package phase resulted in a build failure.The failure occurred due to test failures in the unirest-modules-jackson module. A total of 148 tests were run, with 3 failures in the JSONObjectTest class, likely caused by formatting differences due to Java version incompatibility. image 4.The verify phase also resulted in a build failure.This is because it depends on the successful completion of the package phase, which had already failed due to test errors. 5.The install phase resulted in a build failure.Since the earlier phases did not complete successfully.

⚠️ **GitHub.com Fallback** ⚠️