简体   繁体   English

在Maven本地存储库中找不到工件

[英]Could not find artifact in maven local repository

I installed external jars into maven local repositories via maven android sdk deployer successfully. 我通过maven android sdk部署程序成功将外部jar安装到了maven本地存储库中。 Because these are not available into maven central repositories. 因为这些在Maven中央存储库中不可用。

Failed to execute goal on project mavendemo: Could not resolve dependencies for project com.mavendemo:mavendemo:apk:1.0: **The following artifacts could not be resolved: com.square:picasso:jar:1.0, com.analytics-androids-1.0.0:analytics-android.1.0.0:jar:1.0.0, com.gson:gson:jar:2.2.4, com.scribe:scribe:jar:1.0:** **Could not find artifact com.square:picasso:jar:1.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 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

If you want builds to work on other systems you need to set up a repository manager like Nexus or Artifactory. 如果要使构建在其他系统上运行,则需要设置存储库管理器,例如Nexus或Artifactory。 I'm guessing that's what you want, though you didn't actually ask a question. 我想这就是您想要的,尽管您实际上并未提出任何问题。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM