Pass in arguments to maven target

I have a JUnit run configuration for my GWT application that runs the test-compile maven target beforehand to make sure my tests are compiled. However, I'm using the gwt-maven-plugin, which causes that target to also compile my GWT module, a time-consuming process. There is a flag "-Dgwt.compiler.skip=true" that will allow me to skip the compilation, but I don't see a way to pass this to the maven process that runs before the JUnit build. Does IDEA have a way for me to do this?

Please sign in to leave a comment.