Problema com compilação no Maven

Bom dia pessoal,

Estou estudando Java para e web e tentei criar um projeto simples usando o maven, só para testar seu funcionamento. Ao tentar compilar ocorreram alguns erros de repositórios. Quando isso ocorre, o que devo fazer para solucionar? Abaixo, segue o erro:

C:\Documents and Settings\Tiago\Desktop\javaTest>mvn compile
[INFO] Scanning for projects…
[WARNING]
[WARNING] Some problems were encountered while building the effective model for
com.apress.javaee6:chapter02:jar:2.0
[WARNING] ‘build.plugins.plugin.version’ for org.apache.maven.plugins:maven-comp
iler-plugin is missing. @ line 45, column 12
[WARNING]
[WARNING] It is highly recommended to fix these problems because they threaten t
he stability of your build.
[WARNING]
[WARNING] For this reason, future Maven versions might no longer support buildin
g such malformed projects.
[WARNING]
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building chapter02 2.0
[INFO] ------------------------------------------------------------------------
Downloading: http://repo.maven.apache.org/maven2/org/eclipse/persistence/eclipse
link/2.0.0/eclipselink-2.0.0.pom
[WARNING] The POM for org.eclipse.persistence:eclipselink:jar:2.0.0 is missing,
no dependency information available
Downloading: http://repo.maven.apache.org/maven2/org/eclipse/persistence/eclipse
link/2.0.0/eclipselink-2.0.0.jar
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 4.629s
[INFO] Finished at: Thu Jun 21 11:28:02 GMT-03:00 2012
[INFO] Final Memory: 4M/15M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal on project chapter02: Could not resolve dependenc
ies for project com.apress.javaee6:chapter02:jar:2.0: Could not find artifact or
g.eclipse.persistence:eclipselink:jar:2.0.0 in central (http://repo.maven.apache
.org/maven2) -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e swit
ch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please rea
d the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/DependencyReso
lutionException

Alguém pode me dar umas dicas? Grato!

ele nao conseguiu baixar a dependencia do eclipselink.

talvez vc tenha que declarar o repositorio onde encontra - la

mas fazer isso é absolutamente normal? Quero dizer, acontece sempre de alguma dependencia não ser encontrada? É que andei lendo algumas coisas, e umas delas é que não é muito bom ficar definindo outros repositórios…

sim… vc precisa de algo que nao esta no rep central, entao vc coloca o rep. que precisa

abrassss