Results 1 to 2 of 2

Thread: deployment build issues with DB on another machine

  1. #1
    Join Date
    Aug 2010
    Location
    Goteborg, Sweden
    Posts
    434

    Default 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. #2
    Join Date
    Aug 2010
    Location
    Goteborg, Sweden
    Posts
    434

    Default

    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
  •