Bom dia,
Esta ocorrendo alguns problemas no meu projeto:
Description Resource Path Location Type
Project 'produtos-web' is missing required library: '/home/thiago/.m2/repository/aopalliance/aopalliance/1.0/aopalliance-1.0.jar' produtos-web Build path Build Path Problem
Project 'produtos-web' is missing required library: '/home/thiago/.m2/repository/br/com/caelum/iogi/0.9.2/iogi-0.9.2.jar' produtos-web Build path Build Path Problem
Project 'produtos-web' is missing required library: '/home/thiago/.m2/repository/br/com/caelum/vraptor/3.5.0/vraptor-3.5.0.jar' produtos-web Build path Build Path Problem
Project 'produtos-web' is missing required library: '/home/thiago/.m2/repository/com/google/code/findbugs/jsr305/1.3.9/jsr305-1.3.9.jar' produtos-web Build path Build Path Problem
Project 'produtos-web' is missing required library: '/home/thiago/.m2/repository/com/google/code/gson/gson/2.2.1/gson-2.2.1.jar' produtos-web Build path Build Path Problem
Project 'produtos-web' is missing required library: '/home/thiago/.m2/repository/com/google/guava/guava/11.0.2/guava-11.0.2.jar' produtos-web Build path Build Path Problem
Project 'produtos-web' is missing required library: '/home/thiago/.m2/repository/com/google/inject/extensions/guice-multibindings/3.0/guice-multibindings-3.0.jar' produtos-web Build path Build Path Problem
Project 'produtos-web' is missing required library: '/home/thiago/.m2/repository/com/google/inject/guice/3.0/guice-3.0.jar' produtos-web Build path Build Path Problem
Project 'produtos-web' is missing required library: '/home/thiago/.m2/repository/com/thoughtworks/paranamer/paranamer/2.5.2/paranamer-2.5.2.jar' produtos-web Build path Build Path Problem
Project 'produtos-web' is missing required library: '/home/thiago/.m2/repository/javassist/javassist/3.12.1.GA/javassist-3.12.1.GA.jar' produtos-web Build path Build Path Problem
Project 'produtos-web' is missing required library: '/home/thiago/.m2/repository/javax/inject/javax.inject/1/javax.inject-1.jar' produtos-web Build path Build Path Problem
Project 'produtos-web' is missing required library: '/home/thiago/.m2/repository/log4j/log4j/1.2.16/log4j-1.2.16.jar' produtos-web Build path Build Path Problem
Project 'produtos-web' is missing required library: '/home/thiago/.m2/repository/net/sf/scannotation/scannotation/1.0.2/scannotation-1.0.2.jar' produtos-web Build path Build Path Problem
Project 'produtos-web' is missing required library: '/home/thiago/.m2/repository/net/vidageek/mirror/1.6.1/mirror-1.6.1.jar' produtos-web Build path Build Path Problem
Project 'produtos-web' is missing required library: '/home/thiago/.m2/repository/org/objenesis/objenesis/1.3/objenesis-1.3.jar' produtos-web Build path Build Path Problem
Project 'produtos-web' is missing required library: '/home/thiago/.m2/repository/org/slf4j/slf4j-api/1.6.1/slf4j-api-1.6.1.jar' produtos-web Build path Build Path Problem
Project 'produtos-web' is missing required library: '/home/thiago/.m2/repository/org/slf4j/slf4j-log4j12/1.6.1/slf4j-log4j12-1.6.1.jar' produtos-web Build path Build Path Problem
Acessei o meu repository e realmente não foram baixados esses arquivos. Daí tentei somente executar novamente o comando:
mvn eclipse:eclipse -Dwtpversion=2.0
Mas não baixou as dependencias, dai tentei utilizar a versão mais recente do vRaptor que vi no Maven Repository (4.2.0-RC3), mas também não baixou:
hiago@thiago-X550CA:~/workspace/produtos-web$ sudo mvn eclipse:eclipse -Dwtpversion=2.0
[INFO] Scanning for projects...
[INFO] Searching repository for plugin with prefix: 'eclipse'.
[INFO] ------------------------------------------------------------------------
[INFO] Building produtos-web Maven Webapp
[INFO] task-segment: [eclipse:eclipse]
[INFO] ------------------------------------------------------------------------
[INFO] Preparing eclipse:eclipse
[INFO] No goals needed for project - skipping
[INFO] [eclipse:eclipse {execution: default-cli}]
[INFO] Adding support for WTP version 2.0.
[INFO] Using Eclipse Workspace: /home/thiago/workspace
[WARNING] Workspace defines a VM that does not contain a valid jre/lib/rt.jar: /usr/local/java/jre1.8.0_65
[INFO] no substring wtp server match.
[INFO] Using as WTP server : Apache Tomcat v7.0
[INFO] Adding default classpath container: org.eclipse.jdt.launching.JRE_CONTAINER
[INFO] Not writing settings - defaults suffice
[INFO] File /home/thiago/workspace/produtos-web/.project already exists.
Additional settings will be preserved, run mvn eclipse:clean if you want old settings to be removed.
[INFO] Wrote Eclipse project for "produtos-web" to /home/thiago/workspace/produtos-web.
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESSFUL
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 2 seconds
[INFO] Finished at: Wed Mar 09 04:34:54 BRT 2016
[INFO] Final Memory: 19M/256M
[INFO] ------------------------------------------------------------------------
O pom.xml esta assim:
<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/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>br.com.caelum.maven</groupId>
<artifactId>produtos-web</artifactId>
<packaging>war</packaging>
<version>1.0-SNAPSHOT</version>
<name>produtos-web Maven Webapp</name>
<url>http://maven.apache.org</url>
<dependencies>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>3.8.1</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>br.com.caelum</groupId>
<artifactId>vraptor</artifactId>
<version>4.2.0-RC3</version>
</dependency>
</dependencies>
<build>
<finalName>produtos-web</finalName>
<plugins>
<plugin>
<groupId>org.mortbay.jetty</groupId>
<artifactId>jetty-maven-plugin</artifactId>
</plugin>
</plugins>
</build>
</project>