Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pom 验证问题 #271

Open
FlatMapIO opened this issue Aug 24, 2018 · 3 comments
Open

pom 验证问题 #271

FlatMapIO opened this issue Aug 24, 2018 · 3 comments

Comments

@FlatMapIO
Copy link

FlatMapIO commented Aug 24, 2018

pom 文档一直有问题, 不知道 IDE 是怎么正确加载工程的. 下面是当前 master 分支 mvn validate 的输出结果:

[INFO] Scanning for projects...
[ERROR] [ERROR] Some problems were encountered while processing the POMs:
[FATAL] 'dependencies.dependency. net.librec:librec-core:3.0.0-beta' for net.librec:librec-core:3.0.0-beta is referencing itself. @ net.librec:librec-core:[unknown-version], /Users/HD/Workspace/stars/librec/core/pom.xml, line 79, column 15
[WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-compiler-plugin is missing. @ net.librec:librec-spark:[unknown-version], /Users/HD/Workspace/stars/librec/spark/pom.xml, line 98, column 12
 @
[ERROR] The build could not read 2 projects -> [Help 1]
[ERROR]
[ERROR]   The project net.librec:librec-gui:[unknown-version] (/Users/HD/Workspace/stars/librec/gui/pom.xml) has 1 error
[ERROR]     Non-resolvable parent POM for net.librec:librec-gui:[unknown-version]: Failure to find net.librec:librec:pom:2.0.0-beta in http://maven.aliyun.com/nexus/content/groups/public was cached in the local repository, resolution will not be reattempted until the update interval of nexus-aliyun has elapsed or updates are forced and 'parent.relativePath' points at wrong local POM @ line 5, column 13 -> [Help 2]
[ERROR]
[ERROR]   The project net.librec:librec-core:3.0.0-beta (/Users/HD/Workspace/stars/librec/core/pom.xml) has 1 error
[ERROR]     'dependencies.dependency. net.librec:librec-core:3.0.0-beta' for net.librec:librec-core:3.0.0-beta is referencing itself. @ net.librec:librec-core:[unknown-version], /Users/HD/Workspace/stars/librec/core/pom.xml, line 79, column 15
[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/ProjectBuildingException
[ERROR] [Help 2] http://cwiki.apache.org/confluence/display/MAVEN/UnresolvableModelException

希望能修正这个问题.

@SunYatong
Copy link
Collaborator

刚刚修复了 GUI maven 配置的问题,请更新代码后再试下~

@FlatMapIO
Copy link
Author

FlatMapIO commented Aug 29, 2018

librec-core 模块中也循环依赖了 librec-core 自己.

@SunYatong
Copy link
Collaborator

感谢提醒,已修复

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants