Part 1 and Part 2 Lab report - CSC8545-Spring2026-Org/maven-lab-8545-s26-Nikhil070104 GitHub Wiki

Part 1 14. WhatsApp Image 2026-03-24 at 7 00 53 PM The project was successfully added.

WhatsApp Image 2026-03-24 at 7 02 51 PM The key sections that I observed are which is the root element of the Maven project , which specifies Maven model version name of the organisation , which is the project name , project version (0.0.1-SNAPSHOT), required libraries which contains build-related configurations.

Part 2 2.a. image The console showed a clean phase removing the previously compiled files and build artifacts.

a.Yes, the build was successful. b.The .class files are located in target/classes image c.One main application class and one corresponding test class exists. d. image

image The target directory is removed

a. The test classes were compiled and they are located in target/test-classes. b.The tests have passed successfully. c.Number of tests run - 1 and the name of the test was SampleTest d. image

a. image b.The maven-assembly plugin. c.Yes, this is expected because a jar-with-dependencies includes both the application and all required libraries.

image

8.I have learned how to set up and import a Maven project in eclipse and understanding Maven directory structure. I also understood how Maven build lifecycle works and how to generate and run a JAR file.

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