Mavenのローカルリポジトリ
Mavenでダウンロードした依存ライブラリのjarファイルなどを置く場所。
Windowsの場合は下記の場所がデフォルトになっています。
"C:\Users{ログインユーザー名}.m2\repository"
setting.xml作成
任意の場所にsetting.xml作成を作成します。
内容は以下の通り。
setting.xml
<settings xmlns="http://maven.apache.org/SETTINGS/1.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/SETTINGS/1.0.0
http://maven.apache.org/xsd/settings-1.0.0.xsd">
<localRepository>ローカルリポジトリのパス</localRepository>
<interactiveMode/>
<usePluginRegistry/>
<offline/>
<pluginGroups/>
<servers/>
<mirrors/>
<proxies/>
<profiles/>
<activeProfiles/>
</settings>
Eclipseの設定
ウィンドウ > 設定 > Maven > ユーザー設定 を開きます。