xupeng001 / rapid-framework

Automatically exported from code.google.com/p/rapid-framework
0 stars 0 forks source link

Maven构建项目失败,rapid4.0 #91

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
新建问题前你可以搜索是否已经存在该问题或是查看google
group

rapid版本:4.0

使用的相关插件组合是:

按如下步骤重现错误:
1.从SVN上获取下项目,然后执行eclipse.bat
2.出现以下错误

[INFO] >>> maven-eclipse-plugin:2.8:eclipse (default-cli) @ rapid-generator >>>
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] rapid-framework parent pom.xml .................... SUCCESS [0.730s]
[INFO] rapid-core ........................................ SUCCESS [2.500s]
[INFO] rapid-generator-parent ............................ SUCCESS [0.132s]
[INFO] rapid-generator-template .......................... SUCCESS [0.124s]
[INFO] rapid-generator ................................... FAILURE [0.043s]
[INFO] rapid-generator-ext ............................... SKIPPED
[INFO] rapid-generator-cmd-line .......................... SKIPPED
[INFO] rapid-plugins ..................................... SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 3.937s
[INFO] Finished at: Thu May 31 16:15:20 CST 2012
[INFO] Final Memory: 11M/28M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal on project rapid-generator: Could not resolve 
dependencies for project 
com.googlecode.rapid-framework:rapid-generator:jar:4.0.6-SNAPSHOT: Failure to 
find com.googlecode.rapid-framework:rapid-generator-template:jar:4.0.6-SNAPSHOT 
in https://oss.sonatype.org/content/repositories/snapshots was cached in the 
local repository, resolution will not be reattempted until theupdate interval 
of sonatype-nexus-snapshots has elapsed or updates are forced ->
 [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e 
switch.
[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 
read the following articles:
[ERROR] [Help 1] 
http://cwiki.apache.org/confluence/display/MAVEN/DependencyResolutionException
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the command

[ERROR]   mvn <goals> -rf :rapid-generator
期待的结果是:

java的error stack trace:

其它错误信息:

Original issue reported on code.google.com by liuning...@gmail.com on 31 May 2012 at 8:20

Attachments:

GoogleCodeExporter commented 8 years ago
解决了。。。需要手动配置几个jar包,好像MAVEN下载点问题

Original comment by liuning...@gmail.com on 31 May 2012 at 9:05

GoogleCodeExporter commented 8 years ago
请问下如何手动配置,我也有相同的问题

Original comment by caosong...@gmail.com on 3 Feb 2013 at 3:48