[Ajuda] Problema Instalação do MAVEN  XML
Índice dos Fóruns » Ferramentas, Frameworks e Utilitários
Autor Mensagem
ataufo
Java Ninja
[Avatar]

Membro desde: 21/03/2009 12:15:23
Mensagens: 267
Offline

Pessoal, estou com o maven 2.2.1 e não estou conseguindo utilizar ele no eclipse.

Já criei a variável de ambiente MAVEN_HOME apontando para o diretório aonde maven foi descompactado e adicionei a pasta $MAVEN_HOME/bin no PATH...

Instalei o plugin no Eclipse Helios através do Help > Install new softare e a Url http://m2eclipse.sonatype.org/sites/m2e

Porém o maven não está funcionando, não encontra os artefatos conforme abaixo:

21/01/11 10h57min17s BRST: Missing artifact javax.servlet:servlet-api:jar:2.5:provided
21/01/11 10h57min17s BRST: Missing artifact javax.servlet.jsp:jsp-api:jar:2.1:provided
21/01/11 10h57min17s BRST: Missing artifact mockobjects:mockobjects-jdk1.3-j2ee1.3:jar:0.09:compile
21/01/11 10h57min17s BRST: Missing artifact javax.servlet:jstl:jar:1.2:compile
21/01/11 10h57min17s BRST: Missing artifact junit:junit:jar:4.7:provided
21/01/11 10h57min17s BRST: Missing artifact org.apache.struts:struts2-core:jar:2.1.8.1:compile
21/01/11 10h57min17s BRST: Missing artifact com.opensymphonywork-core:jar:2.1.6:compile
21/01/11 10h57min17s BRST: Missing artifact org.springframework:spring-test:jar:2.5.6:compile
21/01/11 10h57min17s BRST: Missing artifact org.freemarker:freemarker:jar:2.3.15:compile
21/01/11 10h57min17s BRST: Missing artifact ognl:ognl:jar:2.7.3:compile
21/01/11 10h57min17s BRST: Missing artifact commons-io:commons-io:jar:1.3.2:compile
21/01/11 10h57min17s BRST: Missing artifact com.sun:tools:jar:1.5.0:system
21/01/11 10h57min17s BRST: Missing artifact org.apache.struts:struts2-convention-plugin:jar:2.1.8.1:compile
21/01/11 10h57min17s BRST: Missing artifact org.apache.struts:struts-annotations:jar:1.0.5:compile
21/01/11 10h57min17s BRST: Missing artifact org.apache.struts:struts2-tiles-plugin:jar:2.0.14:compile
21/01/11 10h57min17s BRST: Missing artifact org.apache.tiles:tiles-core:jar:2.0.4:compile
21/01/11 10h57min17s BRST: Missing artifact org.apache.tiles:tiles-jsp:jar:2.0.4:compile
21/01/11 10h57min17s BRST: Missing artifact org.apache.tiles:tiles-api:jar:2.0.4:compile

...


Alguem me ajuda ae?

This message was edited 1 time. Last update was at 21/01/2011 13:45:45


Victor Soares
ataufo@gmail.com
[Email] [MSN] [ICQ]
valfrido.silva
JavaBaby

Membro desde: 18/10/2007 08:40:43
Mensagens: 90
Localização: Brasília - DF
Offline

Adiciona a variavel M2_REPO no classpath do eclipse.

No Eclipse:
vá em preferencias > Classpath variaveis >

e aponta a variável para o sua pasta de repositório.
Ex: c:/users/.m2/repository

Bacharel em Ciência da Computação
Sun Certified Java Programmer 5.0
Sun Certified Web Component Developer 5.0
Sun Certified Business Component Developer 5.0
ataufo
Java Ninja
[Avatar]

Membro desde: 21/03/2009 12:15:23
Mensagens: 267
Offline

Obrigado pela ideia amigo... Mas já estava adicionada a variável M2_REPO.

Problema persiste.

Victor Soares
ataufo@gmail.com
[Email] [MSN] [ICQ]
 
Índice dos Fóruns » Ferramentas, Frameworks e Utilitários
Ir para:   
Powered by JForum 2.1.8 © JForum Team