0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 1 year has passed since last update.

eclipse maven ライブラリDL場所変更方法メモ

Posted at

設定ファイルを作成

Mavenの公式サイト

  1. メモ帳を開き、Quick Overviewに記載されているソースをコピペ

  2. localRepositoryタグに好きなフォルダを指定
    例:<localRepository>C:\pleiades\maven-localRepository</localRepository>
    ※デフォルト:${user.home}/.m2/repository(C:\Users\(ログインユーザー)\.m2)

  3. 適当な場所に保存

  4. eclipseを開く、ウィンドウ → 設定 → Maven → ユーザー設定
    グローバル設定にさっき保存したファイルを指定
    ※Quick Overviewに書いてあるとおり、グローバルとユーザーがあったらマージされてユーザー設定が優先される。

  5. 再度プロジェクトの maven install を実行
    ※maven install がなかったらマーケットプレイスからm2eをダウンロード
    ※デフォルトフォルダにダウンロードしたファイルはそのまま残ってる

image.png

0
0
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
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?