An open API service indexing awesome lists of open source software.

https://github.com/zipcodecore/java.maven_introduction


https://github.com/zipcodecore/java.maven_introduction

Last synced: 2 months ago
JSON representation

Awesome Lists containing this project

README

          

# Download maven

[Download](https://maven.apache.org/download.cgi)

# Unpack

```
tar xvzf apache-maven-3.6.3-bin.tar.gz
sudo mv apache-maven-3.6.3 /usr/local/
```

# Add to PATH

### NOTE
This example assumes you are using bash as your shell. You can make bash your default shell by issuing the following command:
```
chsh -s /bin/bash
```

More Details [here](https://www.howtogeek.com/444596/how-to-change-the-default-shell-to-bash-in-macos-catalina/).

### Using your editor of choice update .bash_profile.
```
vim ~/.bash_profile
```

### Edit the bash profile so that the location of the apache bin folder is included in the the path variable.
```
export PATH="/usr/local/apache-maven-3.6.3/bin:$PATH"
```

### Re-load bash profile.
```
source ~/.bash_profile
```

# Validate

```
mvn --version
```

# Complete the Maven in 5 Minutes tutorial

[Maven in 5 minutes](https://maven.apache.org/guides/getting-started/maven-in-five-minutes.html)