![]() Wait for the installation to finish then check the version of Apache Maven installed on your RHEL 8 system. Run the command below as a user with sudo privileges. Then run below command to update Linux configurations source /etc/profile.d/apache-maven. The Apache Maven package is available on RHEL 8 upstream repositories. Deploy It is the last phase in which we copies the final package after done the built to the remote repository for sharing with team. sudo gedit /etc/profile.d/apache-maven.shĪdd below content to the editor (Make sure you replace your JAVA_HOME with your jdk path) export JAVA_HOME=/usr/lib/jvm/java-6-oracle Install In this Install phase, we will install the packages in our local system’s repository which can be used as dependencies for other local projects. Run below command with you favorite text editor. ![]() Now we have to set up environment variables for maven to work. Because it is the Linux way to create an executable link ( ) The first file path should be where you extract the maven from tar.gz second path is you don't need to change. Then create a link using below command sudo ln -s /home/menuka/software/apache-maven-3.2.5 /usr/bin/mvn ![]() here apache-maven-3.0. is the file you want) (If you are a beginner, go to binaries then download the version with tar.gz extension under version you want. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. Archives
December 2022
Categories |