I have a project that uses Spring. Every time I deploy, I run the maven goal "package", which runs all the tests and creates the war file. Then I manually use an ftp program to copy the war file to the server. I then run a bash script to shut down the server, replace the war and start up the server again.
Sometimes when they are changes done to the database schema, I have to run a sql migration script manually.
Is there a better workflow I can use? As the project's war file gets to be 60MB, I am having to wait 10-12 minutes to upload it to the server. If I realize that one little thing needs to be changed, I have to do the whole process all over again.
It's doubly bad for me because on DSL, upload bandwidth kills download bandwidth, so the internet is completely inoperable. Even working on the project and running maven goals is slow because they use the internet connection to look for dependencies all the time.
Is there a better way to work? Thanks.