Example: you have to run clean and install tasks and you want to avoid Maven connects to web repository:
mvn –offline clean install
Run maven in offline mode
Example: you have to run clean and install tasks and you want to avoid Maven connects to web repository:
mvn –offline clean install