
[ERROR] Failed to execute goal on project xmlivecli: Could not resolve dependencies for project com.njmdedu:xmlivecli:war:1.0.0: The following artifacts could not be resolved: com.njmdedu:wxapi:jar:0.0.1, com.njmdedu:rpcapi:jar:0.0.1: Failure to find com.njmdedu:wxapi:jar:0.0.1 in http://192.168.1.123:8081/nexus/content/groups/md_local_repo/ was cached in the local repository, resolution will not be reattempted until the update interval of md_local_repo 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
Process finished with exit code 1
Copyright 2014-2025 https://www.php.cn/ All Rights Reserved | php.cn | 湘ICP备2023035733号
先
install一下其他项目再打包在 rpcapi 项目下运行
mvn install在 wxtools 项目下运行
mvn install在 wxapi 项目下运行
mvn install最后在 xmlivecli 项目下运行
mvn package这个依赖顺序也是我的推测,有可能需要调整,可以多尝试一下.
解决了,把默认的maven home设置成本地的就没问题了