I created a small maven project for a couple selenium automation tests and need to run them on another machine. How would I go about this?
Asked
Active
Viewed 1,033 times
0
-
Did you read what Maven is? What is the issue? – Tunaki Oct 25 '16 at 10:34
-
@Tunaki sorry I am new to this and trying to get a better understanding. If I were to copy over the project on a drive and then run them on another machine with maven installed it would still run correctly right? – Conor Oct 25 '16 at 10:37
-
Yes, that is the point of using Maven: having a reproducible build on every machine. – Tunaki Oct 25 '16 at 10:38
1 Answers
1
build a jar out of the maven project and run the jar file.
- you can go through the following stackoverflow link to understand how to build a jar.
- for running a jar file check out the following running a jar