I am in my Maven based Java project. I want to skip the tests when building the Java project.
Currently, I have the following Docker instructions
RUN ["mvn", "clean"]
RUN ["mvn", "install"]
How do I skip the tests in the "install" instruction?
I tried putting -Dmaven.test.skip=true
but didn't work.