First, download the waitj bundle and unzip it.
Then, use maven to manually install each dependency in the lib folder like so: mvn install:install-file -Dfile=webspec.jar -DartifactId=webspec - DgroupId=watij -Dversion=1.3.1 -Dpackaging=jar
You can also do deploy:deploy-file if you want to put them into a central maven repo.
Of course, you don't need to do this for log4j, junit, slf4j. I did it for all the others for speed, registering them under "watij" and version 1.3.1
Got this working in Eclipse, a simple login test case, yipee!
Here is the POM snippet for my project:
posted on 2012-01-03 22:08 paulwong 閱讀(820) 評論(0) 編輯 收藏 所屬分類: MAVEN 、TESTIGN
Powered by: BlogJava Copyright © paulwong