Nov 23rd, 2011, 09:54 AM
deployment build issues with DB on another machine
I have my site on one IP and my MySQL server on another. I can't connect directly and must use ssh. So I needed to change the database.url to the one I use on the server, but when I package my war-build the surefire-tests fail as the app can't connect to the db via the net.
How can I produce a war-file with the proper database url? Do I have to suppress the surefire-tests? How do I do that?
Nov 23rd, 2011, 11:17 AM
Well, adding -DskipTests to the maven build command solved that part.
Tags for this Thread