To run the project:
-
Clone the project using git URL - https://github.com/akalal/springmavenproj.git
-
run command "mvn package" to build, package and execute junit test cases
-
to execute the individual class run command mvn exec:java -Dexec.mainClass="com.HelloApp"
- It compiles and execute the class HelloApp and prints "Hello! This is SPRING Maven Project"
-
to execute the individual class run command mvn exec:java -Dexec.mainClass="com.App"
- It prints a random unique ID.