ORIGIN

Maven + IDEA + Windows

Maven 1 min116 words

Install Maven

  1. download https://maven.apache.org/download.cgi

  2. Abstract zip file into an folder that the names of ancestor directory does not contains any space.

  3. add the folder path to Environment Variables

  4. check if it’s installed.

    open an cmd window and type mvn -v

    1
    2
    3
    4
    5
    6
    PS C:\Users\xxx> mvn -v
    Apache Maven 3.9.0 (9b58d2bad23a66be161c4664ef21ce219c2c8584)
    Maven home: C:\apache-maven-3.9.0
    Java version: 19.0.1, vendor: Oracle Corporation, runtime: C:\Program Files\Java\jdk-19
    Default locale: en_US, platform encoding: UTF-8
    OS name: "windows 11", version: "10.0", arch: "amd64", family: "windows"

IDEA Setting

If you want to use maven that you installed, set here:

TOP
COMMENT
  • ABOUT
  • |
o_oyao
  The Jigsaw puzzle is incomplete with even one missing piece. And I want to be the last piece to make the puzzle complete.
Like my post?
Default QR Code
made with ❤️ by o_oyao
©o_oyao 2019-2024

|