Hello @kartik,
You have two options for this:
1.) Make changes in the settings.xml add this in first tag
<localRepository>C:/Users/admin/.m2/repository</localRepository>
2.) Use the -o tag for offline command.
mvn -o clean install -DskipTests=true
mvn -o jetty:run
Hope it works!!