Hi guys
Following is my pom.xml i’m sure because the dependencies are not accurate my tests when running through maven is not running only it builds
Appium :1.7.2…can u guys please suggest what exact is to be added in pom.xml for appium to run through maven.have checked JAVA_HOME path edited java build compiler to jdk installed m2e eclipse plugin …kindly help my folder structure is src/main/java src/main/resources src/test/java src/test/resources…im really not able to figure it out why the tests does not run when running through maven test Eclipse->maven-> run as->maven test…its urgent please share inputs,thanks.
4.0.0
com.licious
LiciousAndroidFrame
0.0.1-SNAPSHOT
jar
@Rathan_G
I will give it a shot… I run my tests in Maven but wrap them up into a multithreaded executable so my configuration will be different, but my pom.xml does have a surefire plugin that I dont use (see below). Im no expert here and I welcome correction/clarification but the way I understand Maven is that you use part of the POM to define what happens during the “execution phases”. What that means is when you do [mvn test] on a command line (or ask an IDE ->run maven test) the mvn execution is going to your POM to know what to do. Looking at the plugins, I think you are missing the “executions” sections of yours where the plugin is attached to the “test phase” of your maven project. Im attaching another plugin that I do use for example… When I run [mvn package], I want a jar file so I hook a maven-jar-plugin to the package phase.