I am using Jhipster to build a webapp.
I modified some of stuff at the backend of the java. Now,when i run it through the maven it is also compling the test cases which came with the jhipster generator and i don't want to modify them instead want to skip them.
When in run maven by
./mvnw -DskipTests=true
It is not skipping those tests. I have tried cleaning and re compiling but still no effect.
Could anyone Tell me how to skip those tests.
try this cmd : \mvnw.cmd -Pprod package -DskipTests
The mvnw wrapper supplied with jHipster doesn't run the tests anyway so -DskipTests wont do anything. To compile and run your project without compiling tests do:
mvn clean install -Dmaven.test.skip=true spring-boot:run
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With