Build maven project despite unavailable remote repository

A temporary workaround for building a maven project despite an unavailable remote repository is running the build in offline mode:

mvn -o/--offline

This prevents any remote repository communication and only locally cached artifacts will be used. Thus, this only works if all dependencies are actually locally available.

Only recommended, if you are sure that the locally cached artifacts are up-to-date.