Posts maven install skip test run single test ignore ssl errors
Post
Cancel

maven install skip test run single test ignore ssl errors

Assuming mvn is configured and you want to run install while skipping tests and ignoring any SSL errors.

  • maven force pull artifacts
1
$ mvn -U install
  • maven install but skip tests
1
$ mvn -U install -DskipTests=true
  • maven run only one test
1
$ mvn test -Dtest=CustomServiceWrapperTest
  • maven ignore ssl errors
1
$ mvn install -Dmaven.wagon.http.ssl.insecure=true -Dmaven.wagon.http.ssl.allowall=true -Dmaven.wagon.http.ssl.ignore.validity.dates=true
This post is licensed under CC BY 4.0 by the author.