Normally you would update your driver in de lib directory of your tomcat. Since you are apparently testing on you local machine, you can use the following plugin to manualy copy files to the target directory:
The phase tag in the plugin configuration tells maven when to execute the action. More info about the maven build cycle
The validate phase is even before compilation, so you probably need to add it to the compile or package phase.
Why do you want the jar file under WEB-INF/lib? If it is needed by the plugin, it should only be under the plugins classpath. You can just give the dependency scope as compile and the jar will be available in the META-INF/lib folder after packaging.
Connect with like-minded Atlassian users at free events near you!Find a group
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no AUG chapters near you at the moment.Start an AUG
We're bringing product updates and pro tips on teamwork to ten cities around the world.Save your spot