Как настроить maven 3 локальный репозиторий плагинов

Мне нужно иметь полностью автономный репозиторий Maven из-за некоторых ограничений. В соответствии сhttp://cwiki.apache.org/confluence/display/MAVEN/PluginResolutionException , только ищутся плагины. Поэтому мне интересно, как настроить maven для поиска плагинов в локальной файловой системе. Я пытался с помощью "файл://" префикс при настройке но это нет работа.

DEBUG] Verifying availability of /home/dsun/.m2/repository/org/apache/karaf/tooling/features-maven-plugin/2.3.0/features-maven-plugin-2.3.0.jar from [central (http://repo1.maven.org/maven2, releases=true, snapshots=false, managed=false)]
[ERROR] Plugin org.apache.karaf.tooling:features-maven-plugin:2.3.0 or one of its dependencies could not be resolved: The repository system is offline but the artifact org.apache.karaf.tooling:features-maven-plugin:jar:2.3.0 is not available in the local repository. -> [Help 1]
org.apache.maven.plugin.PluginResolutionException: Plugin org.apache.karaf.tooling:features-maven-plugin:2.3.0 or one of its dependencies could not be resolved: The repository system is offline but the artifact org.apache.karaf.tooling:features-maven-plugin:jar:2.3.0 is not available in the local repository.

dsun@localhost:> ls /home/dsun/.m2/repository/org/apache/karaf/tooling/features-maven-plugin/2.3.0/features-maven-plugin-2.3.0.jar
/home/dsun/.m2/repository/org/apache/karaf/tooling/features-maven-plugin/2.3.0/features-maven-plugin-2.3.0.jar

Settings.xmlI '

      
true
  
  
    local
    
      
      central
      file://${env.HOME}/.m2/repository
      
        true
      
      
        true
      
    
  
   
 

  local


${env.HOME}/.m2/repository

Ответы на вопрос(2)

Ваш ответ на вопрос