-
Nov 23rd, 2011, 09:54 AM
#1
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
#2
Well, adding -DskipTests to the maven build command solved that part.
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules