In order to execute a Maven build in offline mode, run the following command :
mvn -o install OR mvn --offline install.
In offline mode, Maven will not connect to the remote repository to check for the artifacts/dependencies. It will just check for the artifacts currently present in your local repository.
mvn -o install OR mvn --offline install.
In offline mode, Maven will not connect to the remote repository to check for the artifacts/dependencies. It will just check for the artifacts currently present in your local repository.
No comments:
Post a Comment