Part 1 and Part 2 Lab report - CSC8545-Spring2026-Org/maven-lab-8545-s26-Nikhil070104 GitHub Wiki
Part 1
14.
The project was successfully added.
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.
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
c.One main application class and one corresponding test class exists.
d.

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.

a.
b.The maven-assembly plugin.
c.Yes, this is expected because a jar-with-dependencies includes both the application and all required libraries.
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.