I need to have a completely offline maven repository due to some limitations. According to http://cwiki.apache.org/confluence/display/MAVEN/PluginResolutionException , only
Since Maven 3.1-alpha-1, the command line option -llr/--legacy-local-repository or the system property -Dmaven.legacyLocalRepo=true should help
-llr/--legacy-local-repository
-Dmaven.legacyLocalRepo=true
See here for a general answer on working offline with maven