Thank you for the answer. I found out that maven plugin for eclipse was using maven version 3 so I set it for using maven 2.2 and I&#39;m not getting the error now.<div><br></div><div>Marco<br></div>