2
1

More than 3 years have passed since last update.

Mavenのローカルリポジトリを確認する

Last updated at Posted at 2019-12-13

mavenはリモートリポジトリからダウンロードしたライブラリをローカルリポジトリに保存する。
ローカルリポジトリのパスは、設定ファイル"conf/settings.xml"内に"localRepository"で指定する。
この"localRepository"が未定義の場合はデフォルト値を適用する。
(Windowsの場合は"C:\Users{ログインユーザー名}.m2\repository")
また、次のコマンドでもローカルリポジトリのパスを確認出来る。

  mvn help:evaluate -Dexpression=settings.localRepository
2
1
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
2
1