1

I am working on a DropWizard project for the first time which uses the docker-config.yml file to run the server using the jar file.

The command I run on the terminal to run the server is something like this:

java -jar target/foo-0.0.1.jar server conf/docker-conf.yml

I have to run mvn package every single time I make a change (even for a small change like System.out.println();).

Will toggling the build project automatically in Preferences > Build, Execution, Deployment > Compiler accomplish this task?

Raj
  • 3,637
  • 8
  • 29
  • 52
  • Does this answer your question? [Run mvn package every time I make changes?](https://stackoverflow.com/questions/58717271/run-mvn-package-every-time-i-make-changes) – zloster Nov 08 '19 at 14:58
  • @zloster Nope.. – Raj Nov 08 '19 at 22:32
  • This might help: https://stackoverflow.com/questions/51437504/is-there-a-way-to-automatically-compile-using-maven-after-code-changes-when-usin/51437852 – Pablo Jan 08 '20 at 04:15

0 Answers0