Linux Maven installation uses Jenkins automation

Linux operation and maintenance diary 2022-01-26 15:57:46 阅读数:223

linux maven installation uses jenkins

Download software download address :Apache Download Mirrors  

2. Enter download folder , Find the downloaded file , Run the following command to unzip
tar -xvf  apache-maven-3.2.1-bin.tar.gz

The unzipped folder is named apache-maven-3.0.3

3. Use mv The order will apache-maven-3.0.3 Copy the folder to the folder you specify , such as data/ Next
mv -rf apache-maven-3.0.3 /usr/local/

  stay etc/profile Next, set the environment variable

export PATH=${PATH}:${MAVEN_HOME}/bin

5. Save the file , And run the following command to make the environment variable effective
source /etc/profile


copyright:author[Linux operation and maintenance diary],Please bring the original link to reprint, thank you.