So I have read all the docs on adding chromedriver to my path and followed all of them. I am on a Mac with selenium2, maven, eclipse, and all the latest drivers:
<
Setting the webdriver.chrome.driver system property via maven can be done by the following (and tested working):
Add systemPropertyVariables configuration to the maven-surefire-plugin in your pom.xml. This is (typically) because surefire is the caller for tests and where system properties will be set.
maven-surefire-plugin
2.7.1
${webdriver.chrome}
Now define ${webdriver.chrome} somewhere. A good start is a section in your pom.xml
/home/gede/bin/chromedriver
Potentially this could be done better via the use of like in Simon Martinelli's example