I have a maven with this pom.xml
..
<properties>
<!-- Skip tests by default-->
<skipTests>true</skipTests>
<!-- Build complete package by default; use -Dskip.npm.install=true -Dskip.npm.build=true when working on backend code -->
<skip.npm.install>false</skip.npm.install>
<skip.npm.build>false</skip.npm.build>
<node.version>v10.13.0</node.version>
<springboot.version>2.0.3.RELEASE</springboot.version>
<kerberos.version>1.0.1.RELEASE</kerberos.version>
</properties>
..
I run this command to avoid skipping tests, but the tests are not run
mvn test -Dmaven.test.skip=false
The user property is skipTests
, so use
mvn test -DskipTests=false