Build maven project offline

Steps to build maven project offline.

  1. Open the the project that you want to build offline.
  2. Run the following command:
    mvn dependency: go -offline
  3. See the output.
  4. Run the following command:
    mvn -o clean package
  5. Build is successfully completed offline.
Please Share