Announcement Announcement Module
Collapse
No announcement yet.
deployment build issues with DB on another machine Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • 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?

  • #2
    Well, adding -DskipTests to the maven build command solved that part.

    Comment

    Working...
    X