导入maven 项目时 pom.xml --> run as --> maven install出现下面问题,我是新手对maven 不太了解!
该怎么解决?
[INFO] Scanning for projects...
[INFO] ------------------------------------------------------------------------
[INFO] Building Herbalife Maven Webapp
[INFO]
[INFO] Id: com.herbalife.webapp:herbalife:war:1.0-SNAPSHOT
[INFO] task-segment: [install]
[INFO] ------------------------------------------------------------------------
[INFO] [resources:resources]
[INFO] Using default encoding to copy filtered resources.
url = http://repo1.maven.org/maven2
Downloading: http://repo1.maven.org/maven2/opensymphony/xwork/2.0.4/xwork-2.0.4.pom
url = http://repo1.maven.org/maven2
Downloading: http://repo1.maven.org/maven2/dojo/dojo/0.0/dojo-0.0.pom
url = http://repo1.maven.org/maven2
Downloading: http://repo1.maven.org/maven2/fckeditor/fckeditor/2.3/fckeditor-2.3.pom
url = http://repo1.maven.org/maven2
Downloading: http://repo1.maven.org/maven2/sqlserver/msbase/1.0/msbase-1.0.pom
url = http://repo1.maven.org/maven2
Downloading: http://repo1.maven.org/maven2/sqlserver/mssqlserver/1.0/mssqlserver-1.0.pom
url = http://repo1.maven.org/maven2
Downloading: http://repo1.maven.org/maven2/sqlserver/msutil/1.0/msutil-1.0.pom
url = http://repo1.maven.org/maven2
Downloading: http://repo1.maven.org/maven2/opensymphony/jsonplugin/0[1].16-1.5/jsonplugin-0[1].16-1.5.pom
url = http://repo1.maven.org/maven2
Downloading: http://repo1.maven.org/maven2/unitils/unitils/1.0-rc-1/unitils-1.0-rc-1.pom
url = http://repo1.maven.org/maven2
Downloading: http://repo1.maven.org/maven2/opensymphony/xwork/2.0.4/xwork-2.0.4.jar
url = http://repo1.maven.org/maven2
Downloading: http://repo1.maven.org/maven2/dojo/dojo/0.0/dojo-0.0.jar
url = http://repo1.maven.org/maven2
Downloading: http://repo1.maven.org/maven2/fckeditor/fckeditor/2.3/fckeditor-2.3.jar
url = http://repo1.maven.org/maven2
Downloading: http://repo1.maven.org/maven2/sqlserver/msbase/1.0/msbase-1.0.jar
url = http://repo1.maven.org/maven2
Downloading: http://repo1.maven.org/maven2/sqlserver/mssqlserver/1.0/mssqlserver-1.0.jar
url = http://repo1.maven.org/maven2
Downloading: http://repo1.maven.org/maven2/sqlserver/msutil/1.0/msutil-1.0.jar
url = http://repo1.maven.org/maven2
Downloading: http://repo1.maven.org/maven2/opensymphony/jsonplugin/0[1].16-1.5/jsonplugin-0[1].16-1.5.jar
[ERROR] Transitive dependency resolution for scope: compile has failed for your project.Error message: Missing:
----------
1) opensymphony:xwork:jar:2.0.4 Try downloading the file manually from the project website. Then, install it using the command:
mvn install:install-file -DgroupId=opensymphony -DartifactId=xwork -Dversion=2.0.4 -Dpackaging=jar -Dfile=/path/to/file Alternatively, if you host your own repository you can deploy the file there:
mvn deploy:deploy-file -DgroupId=opensymphony -DartifactId=xwork -Dversion=2.0.4 -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id] Path to dependency:
1) com.herbalife.webapp:herbalife:war:1.0-SNAPSHOT
2) opensymphony:xwork:jar:2.0.42) dojo:dojo:jar:0.0 Try downloading the file manually from the project website. Then, install it using the command:
mvn install:install-file -DgroupId=dojo -DartifactId=dojo -Dversion=0.0 -Dpackaging=jar -Dfile=/path/to/file Alternatively, if you host your own repository you can deploy the file there:
mvn deploy:deploy-file -DgroupId=dojo -DartifactId=dojo -Dversion=0.0 -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id] Path to dependency:
1) com.herbalife.webapp:herbalife:war:1.0-SNAPSHOT
2) dojo:dojo:jar:0.03) fckeditor:fckeditor:jar:2.3 Try downloading the file manually from the project website. Then, install it using the command:
mvn install:install-file -DgroupId=fckeditor -DartifactId=fckeditor -Dversion=2.3 -Dpackaging=jar -Dfile=/path/to/file Alternatively, if you host your own repository you can deploy the file there:
mvn deploy:deploy-file -DgroupId=fckeditor -DartifactId=fckeditor -Dversion=2.3 -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id] Path to dependency:
1) com.herbalife.webapp:herbalife:war:1.0-SNAPSHOT
2) fckeditor:fckeditor:jar:2.34) sqlserver:msbase:jar:1.0 Try downloading the file manually from the project website. Then, install it using the command:
mvn install:install-file -DgroupId=sqlserver -DartifactId=msbase -Dversion=1.0 -Dpackaging=jar -Dfile=/path/to/file Alternatively, if you host your own repository you can deploy the file there:
mvn deploy:deploy-file -DgroupId=sqlserver -DartifactId=msbase -Dversion=1.0 -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id] Path to dependency:
1) com.herbalife.webapp:herbalife:war:1.0-SNAPSHOT
2) sqlserver:msbase:jar:1.05) sqlserver:mssqlserver:jar:1.0 Try downloading the file manually from the project website. Then, install it using the command:
mvn install:install-file -DgroupId=sqlserver -DartifactId=mssqlserver -Dversion=1.0 -Dpackaging=jar -Dfile=/path/to/file Alternatively, if you host your own repository you can deploy the file there:
mvn deploy:deploy-file -DgroupId=sqlserver -DartifactId=mssqlserver -Dversion=1.0 -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id] Path to dependency:
1) com.herbalife.webapp:herbalife:war:1.0-SNAPSHOT
2) sqlserver:mssqlserver:jar:1.06) sqlserver:msutil:jar:1.0 Try downloading the file manually from the project website. Then, install it using the command:
mvn install:install-file -DgroupId=sqlserver -DartifactId=msutil -Dversion=1.0 -Dpackaging=jar -Dfile=/path/to/file Alternatively, if you host your own repository you can deploy the file there:
mvn deploy:deploy-file -DgroupId=sqlserver -DartifactId=msutil -Dversion=1.0 -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id] Path to dependency:
1) com.herbalife.webapp:herbalife:war:1.0-SNAPSHOT
2) sqlserver:msutil:jar:1.07) opensymphony:jsonplugin:jar:0[1].16-1.5 Try downloading the file manually from the project website. Then, install it using the command:
mvn install:install-file -DgroupId=opensymphony -DartifactId=jsonplugin -Dversion=0[1].16-1.5 -Dpackaging=jar -Dfile=/path/to/file Alternatively, if you host your own repository you can deploy the file there:
mvn deploy:deploy-file -DgroupId=opensymphony -DartifactId=jsonplugin -Dversion=0[1].16-1.5 -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id] Path to dependency:
1) com.herbalife.webapp:herbalife:war:1.0-SNAPSHOT
2) opensymphony:jsonplugin:jar:0[1].16-1.5----------
7 required artifacts are missing.for artifact:
com.herbalife.webapp:herbalife:war:1.0-SNAPSHOTfrom the specified remote repositories:
central (http://repo1.maven.org/maven2)Group-Id: com.herbalife.webapp
Artifact-Id: herbalife
Version: 1.0-SNAPSHOT
From file: C:\Documents and Settings\Administrator\桌面\herbal-report\pom.xml
[INFO] ------------------------------------------------------------------------
[INFO] For more information, run with the -e flag
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILED
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 10 seconds
[INFO] Finished at: Fri Nov 20 14:15:47 CST 2009
[INFO] Final Memory: 2M/12M
[INFO] ------------------------------------------------------------------------
该怎么解决?
[INFO] Scanning for projects...
[INFO] ------------------------------------------------------------------------
[INFO] Building Herbalife Maven Webapp
[INFO]
[INFO] Id: com.herbalife.webapp:herbalife:war:1.0-SNAPSHOT
[INFO] task-segment: [install]
[INFO] ------------------------------------------------------------------------
[INFO] [resources:resources]
[INFO] Using default encoding to copy filtered resources.
url = http://repo1.maven.org/maven2
Downloading: http://repo1.maven.org/maven2/opensymphony/xwork/2.0.4/xwork-2.0.4.pom
url = http://repo1.maven.org/maven2
Downloading: http://repo1.maven.org/maven2/dojo/dojo/0.0/dojo-0.0.pom
url = http://repo1.maven.org/maven2
Downloading: http://repo1.maven.org/maven2/fckeditor/fckeditor/2.3/fckeditor-2.3.pom
url = http://repo1.maven.org/maven2
Downloading: http://repo1.maven.org/maven2/sqlserver/msbase/1.0/msbase-1.0.pom
url = http://repo1.maven.org/maven2
Downloading: http://repo1.maven.org/maven2/sqlserver/mssqlserver/1.0/mssqlserver-1.0.pom
url = http://repo1.maven.org/maven2
Downloading: http://repo1.maven.org/maven2/sqlserver/msutil/1.0/msutil-1.0.pom
url = http://repo1.maven.org/maven2
Downloading: http://repo1.maven.org/maven2/opensymphony/jsonplugin/0[1].16-1.5/jsonplugin-0[1].16-1.5.pom
url = http://repo1.maven.org/maven2
Downloading: http://repo1.maven.org/maven2/unitils/unitils/1.0-rc-1/unitils-1.0-rc-1.pom
url = http://repo1.maven.org/maven2
Downloading: http://repo1.maven.org/maven2/opensymphony/xwork/2.0.4/xwork-2.0.4.jar
url = http://repo1.maven.org/maven2
Downloading: http://repo1.maven.org/maven2/dojo/dojo/0.0/dojo-0.0.jar
url = http://repo1.maven.org/maven2
Downloading: http://repo1.maven.org/maven2/fckeditor/fckeditor/2.3/fckeditor-2.3.jar
url = http://repo1.maven.org/maven2
Downloading: http://repo1.maven.org/maven2/sqlserver/msbase/1.0/msbase-1.0.jar
url = http://repo1.maven.org/maven2
Downloading: http://repo1.maven.org/maven2/sqlserver/mssqlserver/1.0/mssqlserver-1.0.jar
url = http://repo1.maven.org/maven2
Downloading: http://repo1.maven.org/maven2/sqlserver/msutil/1.0/msutil-1.0.jar
url = http://repo1.maven.org/maven2
Downloading: http://repo1.maven.org/maven2/opensymphony/jsonplugin/0[1].16-1.5/jsonplugin-0[1].16-1.5.jar
[ERROR] Transitive dependency resolution for scope: compile has failed for your project.Error message: Missing:
----------
1) opensymphony:xwork:jar:2.0.4 Try downloading the file manually from the project website. Then, install it using the command:
mvn install:install-file -DgroupId=opensymphony -DartifactId=xwork -Dversion=2.0.4 -Dpackaging=jar -Dfile=/path/to/file Alternatively, if you host your own repository you can deploy the file there:
mvn deploy:deploy-file -DgroupId=opensymphony -DartifactId=xwork -Dversion=2.0.4 -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id] Path to dependency:
1) com.herbalife.webapp:herbalife:war:1.0-SNAPSHOT
2) opensymphony:xwork:jar:2.0.42) dojo:dojo:jar:0.0 Try downloading the file manually from the project website. Then, install it using the command:
mvn install:install-file -DgroupId=dojo -DartifactId=dojo -Dversion=0.0 -Dpackaging=jar -Dfile=/path/to/file Alternatively, if you host your own repository you can deploy the file there:
mvn deploy:deploy-file -DgroupId=dojo -DartifactId=dojo -Dversion=0.0 -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id] Path to dependency:
1) com.herbalife.webapp:herbalife:war:1.0-SNAPSHOT
2) dojo:dojo:jar:0.03) fckeditor:fckeditor:jar:2.3 Try downloading the file manually from the project website. Then, install it using the command:
mvn install:install-file -DgroupId=fckeditor -DartifactId=fckeditor -Dversion=2.3 -Dpackaging=jar -Dfile=/path/to/file Alternatively, if you host your own repository you can deploy the file there:
mvn deploy:deploy-file -DgroupId=fckeditor -DartifactId=fckeditor -Dversion=2.3 -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id] Path to dependency:
1) com.herbalife.webapp:herbalife:war:1.0-SNAPSHOT
2) fckeditor:fckeditor:jar:2.34) sqlserver:msbase:jar:1.0 Try downloading the file manually from the project website. Then, install it using the command:
mvn install:install-file -DgroupId=sqlserver -DartifactId=msbase -Dversion=1.0 -Dpackaging=jar -Dfile=/path/to/file Alternatively, if you host your own repository you can deploy the file there:
mvn deploy:deploy-file -DgroupId=sqlserver -DartifactId=msbase -Dversion=1.0 -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id] Path to dependency:
1) com.herbalife.webapp:herbalife:war:1.0-SNAPSHOT
2) sqlserver:msbase:jar:1.05) sqlserver:mssqlserver:jar:1.0 Try downloading the file manually from the project website. Then, install it using the command:
mvn install:install-file -DgroupId=sqlserver -DartifactId=mssqlserver -Dversion=1.0 -Dpackaging=jar -Dfile=/path/to/file Alternatively, if you host your own repository you can deploy the file there:
mvn deploy:deploy-file -DgroupId=sqlserver -DartifactId=mssqlserver -Dversion=1.0 -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id] Path to dependency:
1) com.herbalife.webapp:herbalife:war:1.0-SNAPSHOT
2) sqlserver:mssqlserver:jar:1.06) sqlserver:msutil:jar:1.0 Try downloading the file manually from the project website. Then, install it using the command:
mvn install:install-file -DgroupId=sqlserver -DartifactId=msutil -Dversion=1.0 -Dpackaging=jar -Dfile=/path/to/file Alternatively, if you host your own repository you can deploy the file there:
mvn deploy:deploy-file -DgroupId=sqlserver -DartifactId=msutil -Dversion=1.0 -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id] Path to dependency:
1) com.herbalife.webapp:herbalife:war:1.0-SNAPSHOT
2) sqlserver:msutil:jar:1.07) opensymphony:jsonplugin:jar:0[1].16-1.5 Try downloading the file manually from the project website. Then, install it using the command:
mvn install:install-file -DgroupId=opensymphony -DartifactId=jsonplugin -Dversion=0[1].16-1.5 -Dpackaging=jar -Dfile=/path/to/file Alternatively, if you host your own repository you can deploy the file there:
mvn deploy:deploy-file -DgroupId=opensymphony -DartifactId=jsonplugin -Dversion=0[1].16-1.5 -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id] Path to dependency:
1) com.herbalife.webapp:herbalife:war:1.0-SNAPSHOT
2) opensymphony:jsonplugin:jar:0[1].16-1.5----------
7 required artifacts are missing.for artifact:
com.herbalife.webapp:herbalife:war:1.0-SNAPSHOTfrom the specified remote repositories:
central (http://repo1.maven.org/maven2)Group-Id: com.herbalife.webapp
Artifact-Id: herbalife
Version: 1.0-SNAPSHOT
From file: C:\Documents and Settings\Administrator\桌面\herbal-report\pom.xml
[INFO] ------------------------------------------------------------------------
[INFO] For more information, run with the -e flag
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILED
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 10 seconds
[INFO] Finished at: Fri Nov 20 14:15:47 CST 2009
[INFO] Final Memory: 2M/12M
[INFO] ------------------------------------------------------------------------
默认下载到什么地方了? 要一个一个去导吗??
非常感谢!