Olá,
Seguindo essa aula, quando tentei executar o mvn compile tive o seguinte erro:
root@tiago-System-Product-Name:/var/www/html/java/maven/exemplo1/lojaweb# mvn compile [INFO] Scanning for projects... [INFO] ------------------------------------------------------------------------ [INFO] Building lojaweb Maven Webapp [INFO] task-segment: [compile] [INFO] ------------------------------------------------------------------------ [INFO] ------------------------------------------------------------------------ [ERROR] BUILD ERROR [INFO] ------------------------------------------------------------------------ [INFO] Error building POM (may not be this project's POM).
Project ID: org.eclipse.jetty:jetty-maven-plugin
Reason: POM 'org.eclipse.jetty:jetty-maven-plugin' not found in repository: Unable to download the artifact from any repository
org.eclipse.jetty:jetty-maven-plugin:pom:9.4.0-SNAPSHOT
from the specified remote repositories: central (http://repo1.maven.org/maven2)
for project org.eclipse.jetty:jetty-maven-plugin
[INFO] ------------------------------------------------------------------------ [INFO] For more information, run Maven with the -e switch [INFO] ------------------------------------------------------------------------ [INFO] Total time: < 1 second [INFO] Finished at: Sun Aug 28 16:42:30 BRT 2016 [INFO] Final Memory: 4M/153M [INFO] ------------------------------------------------------------------------
Grato pela atenção.