Maven 3, Spring 5 MVC, JUnit 5, Logback and Jetty web server. A simple web project to perform Selenium Test and Junit.
$ git clone https://github.com/mkyong/maven-examples.git
$ cd java-web-project
$ mvn jetty:run
Access http://localhost:8080/Login.jsp
$ git clone https://github.com/mkyong/maven-examples.git
$ cd java-web-project
$ mvn package or mvn war:war
A WAR is generated at 'target/finalName'
$ git clone https://github.com/mkyong/maven-examples.git
$ cd java-web-project
$ mvn test
Goto src\test\java\com\tm\web\test\TestWelcomeSelenium.java
Run as Java Application
or
execute
mvn -Dtest=TestWelcome#testUserValidateSelenium test
Report will be available in target/surefire-reports
do git repository
excute sonar-scanner