Skip to content

GitLab

  • Menu
Projects Groups Snippets
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • Joinfut Wiki Joinfut Wiki
  • Project information
    • Project information
    • Activity
    • Labels
    • Planning hierarchy
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 6
    • Issues 6
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Packages & Registries
    • Packages & Registries
    • Package Registry
    • Infrastructure Registry
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Joinfut
  • Joinfut WikiJoinfut Wiki
  • Wiki
  • Instalação

Instalação · Changes

Page history
Instalação do maven authored Aug 28, 2022 by Gabriel Fanto Stundner's avatar Gabriel Fanto Stundner
Hide whitespace changes
Inline Side-by-side
Instalação.md
View page @ 636c1b1d
...@@ -15,7 +15,7 @@ ...@@ -15,7 +15,7 @@
* [**Postman**](#postman) * [**Postman**](#postman)
* [**Java**](#java) * [**Java**](#java)
* Maven (Em construção) * [**Maven**](#maven)
## Frontend ## Frontend
...@@ -99,6 +99,52 @@ javac --version ...@@ -99,6 +99,52 @@ javac --version
### Maven ### Maven
#### Linux
* Abra um console e coloque os seguintes comandos
```shell
cd ~/Downloads/
wget https://mirrors.estointernet.in/apache/maven/maven-3/3.6.3/binaries/apache-maven-3.6.3-bin.tar.gz
tar -xvf apache-maven-3.6.3-bin.tar.gz
sudo mv apache-maven-3.6.3 /opt/
```
* Abra o arquivo do perfil (.profile) com o vim
```shell
vim ~/.profile
```
* Coloque no arquivo (copie e cole com Ctrl+ C e Ctrl + V) no arquivo
```shell
M2_HOME='/opt/apache-maven-3.6.3'
PATH="$M2_HOME/bin:$PATH"
export PATH
```
* Após colado essa info, feche o VIM com `:wq`
* Atualize o arquivo profile com o comando abaixo:
```shell
source ~/.profile
```
* Verifique se o maven foi devidamente instalado:
```shell
mvn -version
# Apache Maven 3.6.3 (cecedd343002696d0abb50b32b541b8a6ba2883f)
# Maven home: /opt/apache-maven-3.6.3
# Java version: 11.0.16, vendor: Ubuntu, runtime: /usr/lib/jvm/java-11-openjdk-amd64
# Default locale: pt_BR, platform encoding: UTF-8
# OS name: "linux", version: "5.15.0-46-generic", arch: "amd64", family: "unix"
```
--- ---
### POSTGRESQL ### POSTGRESQL
......
Clone repository
  • Instalação
  • README
  • Retro
  • Utilizando a wiki
    • adicionando imagens
    • escrevendo em markdown
    • git
    • wiki no editor de texto
  • arquitetura
  • backend
    • backend_home
    • datagrip_instalacao
    • intellij_instalacao
    • java_instalacao
    • maven_instalacao
    • postman_instalacao
    • postman_utilizacao
View All Pages