Why not login to Qiita and try out its useful features?

We'll deliver articles that match you.

You can read useful information later.

44
20

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 3 years have passed since last update.

WindowsへのMavenインストール

Last updated at Posted at 2018-05-09

前提条件

  • Windows環境
  • プロキシサーバーは利用しないと仮定する
  • Windowsへのjdkインストールは完了していることとする

Mavenのインストール手順

image.png

  • ダウンロードしたファイルを解凍し、配置する
    (今回の手順ではC:\直下に配置)
    image.png

環境変数を設定

  • システム環境変数 Path に以下の内容を追加する

(今回はsetEnv.batを実行する)

setEnv.bat
set PATH=%PATH%;C:\apache-maven-3.2.5\bin

mavenコマンドの確認

  • コマンドプロンプトを起動

「windows」 + 「R」から「cmd」で起動
image.png

  • コマンドプロンプトが起動したら、 "mvn -v" で動作確認
    下記のようにvesion情報が表示されたら設定は完了

image.png

44
20
3

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

Qiita Conference 2025 will be held!: 4/23(wed) - 4/25(Fri)

Qiita Conference is the largest tech conference in Qiita!

Keynote Speaker

ymrl、Masanobu Naruse, Takeshi Kano, Junichi Ito, uhyo, Hiroshi Tokumaru, MinoDriven, Minorun, Hiroyuki Sakuraba, tenntenn, drken, konifar

View event details
44
20

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?