dependencies in Maven

You need to specify the dependency in POM file. For example – if you want to run JUnit tests, you will have to define below JUnit dependency in your POM.xml
All right – so we declared the dependency in POM.xml now what next? You don’t need to do anything apart from declaring the dependency. Maven will take control from there and get the JUnit artifact for you. If you are not sure which version of JUnit to use, you can visit and find out the group name, artifact name and version for JUnit. Similarly you can search for various artifacts on or

Web development and Automation testing

solutions delivered!!