When i tried to upload my maven project getting an exception like
There was a problem processing your file. We could not find a *-tests.jar file in the root of your test package. Please unzip your test package, verify that at least one *-tests.jar file is in the root of your package, and try again.
But i have created my Clubcard-1.0-SNAPSHOT-tests.jar and which is stored under target folder.
Also tried locating the jar file under root folder but still getting same issue
You uploaded the wrong zip file. Did you just try to upload your MAVEN project?
No, it should be a zip file named zip-with-dependencies.zip
under target
folder of your maven project. For example, \Desktop\Appium-myApp\target\zip-with-dependencies.zip
.
If you didn't find your zip-with-dependencies.zip
, you have to package with maven command
cd
to your maven directory in Terminal or command promptmvn clean package –-DskipTests=true
to package into a *-tests.jar
and zip-with-dependencies.zip
Finally, upload this zip-with-dependencies.zip
to Amazon Device Farm.