How can I set the "maven. wagon. HTTP.ssl.insecure" property to "true" using the following command when running Maven?

How can I set the “maven. wagon. HTTP.ssl.insecure” property to “true” using the following command when running Maven?

Hello Macy , You can run the below command to do that:

mvn clean install -Dmaven.wagon.http.ssl.insecure=true