Created
February 8, 2024 02:56
-
-
Save walterpaulo/9962d2e3b2502ba1fc692e42429e9a3b to your computer and use it in GitHub Desktop.
Configuração do Repo MAVEN Eclipse
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1- Define o local do repositório: | |
/home/walter/repository | |
2- Cria o arquivo settings.xml e adicione: | |
<project xmlns="http://maven.apache.org/POM/4.0.0" | |
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | |
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0" | |
http://maven.apache.org/xsd/maven-4.0.0.xsd> | |
<modelVersion>4.0.0</modelVersion> | |
<groupId>br.com</groupId> | |
<artifactId>projeto</artifactId> | |
<version>1.0</version> | |
<packaging>jar</packaging> | |
</project> | |
3- Abre o Eclipse e configure o diretóro: | |
Preferences -> Maven -> User Settings | |
fonte: | |
Gomes, A. [Maven] Alterando a Localização do Repositório Local. Medium.com, 2016. Disponível em: https://medium.com/@andgomes/alterando-a-localiza%C3%A7%C3%A3o-do-reposit%C3%B3rio-local-419a1a03b58c. Acesso em: 07/02/2024. | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment