我正在尝试使用 maven构建软件 Online-Whiteboard ( http://code.google.com/p/online-whiteboard/ )。根据上面链接的网站,我需要使用以下命令:
mvn jetty:run
但是,当我运行该命令时,出现以下错误:
[ERROR] Failed to execute goal on project whiteboard-showcase: Could not resolve
dependencies for project com.googlecode.online-whiteboard:whiteboard-showcase:war:0.1:
Failed to collect dependencies for [commons-lang:commons-lang:jar:2.5 (compile),
commons-configuration:commons-configuration:jar:1.6 (compile), com.sun.faces:jsf-
api:jar:2.1.2 (compile), com.sun.faces:jsf-impl:jar:2.1.2 (compile),
org.primefaces:primefaces:jar:2.2.1 (compile), org.primefaces.themes:cupertino:jar:1.0.1
(compile), com.ocpsoft:prettyfaces-jsf2:jar:3.3.0 (compile), javax.el:el-api:jar:2.2
(compile), org.glassfish.web:el-impl:jar:2.2 (compile), javax.annotation:jsr250-api:jar:1.0
(compile), javax.servlet:servlet-api:jar:2.5 (compile), javax.servlet:jstl:jar:1.2
(compile), com.google.code.gson:gson:jar:1.7.1 (compile), org.atmosphere:atmosphere-
jersey:jar:0.8-SNAPSHOT (compile), org.apache.geronimo.specs:geronimo-
servlet_3.0_spec:jar:1.0 (compile), org.slf4j:slf4j-api:jar:1.6.2 (compile),
org.slf4j:slf4j-nop:jar:1.6.2 (compile), junit:junit:jar:4.8.2 (test)]: Failed to read
artifact descriptor for org.primefaces:primefaces:jar:2.2.1: Could not transfer artifact
org.primefaces:primefaces:pom:2.2.1 from/to JBoss (http://repository.jboss.org/maven2/):
Access denied to:
http://repository.jboss.org/maven2//org/primefaces/primefaces/2.2.1/primefaces-2.2.1.pom ->
[Help 1]
我以前从未使用过 Maven,所以真的不知道我在这里做什么;我尝试查找这可能是什么,但找不到任何东西(有帮助)。任何帮助表示赞赏。