MAVEN environment installed in Mac

—Restore content begins—

1, maven download

Download link: https://archive.apache.org/dist/maven/maven-3/3.3.9/binaries/apache-maven-3.3.9-bin. tar.gz

2. Decompress and configure global variables

Use tools to decompress.

I used the yes mac version, I’m here to demonstrate the configuration of global variables on mac, as for windows I believe everyone is already familiar with it.

Global Variables:/etc/profile

User Variables : ~/.bash_profile

export M3=/Users/zhangyong/Documents/maven/apache-maven-3.3.9

export PATH=$PATH:$M3/bin

Verification:

Command :< /span>mvn -version

Apache Maven 3.3.9 (bb52d8502b132ec0a5a3f4c09453c07478323dc5; 2015-11-11T00:41:47+08:00)

Maven home: /Users/tpa/ Documents/maven/apache-maven-3.3.9

3、

—End of recovery content—

1 maven download

download link: https://archive.apache.org/dist/maven/maven-3/3.3. 9/binaries/apache-maven-3.3.9-bin.tar.gz

2, decompress and configure global variables

Use tools to decompress.

I used the yes mac version, I’m here to demonstrate the configuration of global variables on mac, as for windows I believe everyone is already familiar with it.

Global Variables:/etc/profile

User Variables : ~/.bash_profile

export M3=/Users/zhangyong/Documents/maven/apache-maven-3.3.9

export PATH=$PATH:$M3/bin

Verification:

Command :< /span>mvn -version

Apache Maven 3.3.9 (bb52d8502b132ec0a5a3f4c09453c07478323dc5; 2015-11-11T00:41:47+08:00)

Maven home: /Users/tpa/ Documents/maven/apache-maven-3.3.9

3. Configure maven environment in idea

a. Open idea, select file in the menu bar, select other settings->default settings

share picture

b. Enter Build, Execution, Deployment | Build Tools | Maven, select the local maven configuration

share picture

WordPress database error: [Table 'yf99682.wp_s6mz6tyggq_comments' doesn't exist]
SELECT SQL_CALC_FOUND_ROWS wp_s6mz6tyggq_comments.comment_ID FROM wp_s6mz6tyggq_comments WHERE ( comment_approved = '1' ) AND comment_post_ID = 1172 ORDER BY wp_s6mz6tyggq_comments.comment_date_gmt ASC, wp_s6mz6tyggq_comments.comment_ID ASC

Leave a Comment

Your email address will not be published.