heifumen 发表于 2023-8-1 12:19:14

编译打包打不了,O2OA的maven仓库掉了吗

IDEA部分日志:
--------------------------------[ jar ]---------------------------------
Downloading from central: https://repo.maven.apache.org/maven2/net/o2oa/x_base_core_project/8.0/x_base_core_project-8.0.pom
The POM for net.o2oa:x_base_core_project:jar:8.0 is missing, no dependency information available
Downloading from central: https://repo.maven.apache.org/maven2/net/o2oa/x_query_core_entity/8.0/x_query_core_entity-8.0.pom
The POM for net.o2oa:x_query_core_entity:jar:8.0 is missing, no dependency information available
Downloading from central: https://repo.maven.apache.org/maven2/net/o2oa/x_base_core_project/8.0/x_base_core_project-8.0.jar
Downloading from central: https://repo.maven.apache.org/maven2/net/o2oa/x_query_core_entity/8.0/x_query_core_entity-8.0.jar
------------------------------------------------------------------------
BUILD FAILURE
------------------------------------------------------------------------
Total time:4.736 s
Finished at: 2023-08-01T11:46:08+08:00
------------------------------------------------------------------------
Failed to execute goal on project x_cms_core_entity: Could not resolve dependencies for project net.o2oa:x_cms_core_entity:jar:8.0: The following artifacts could not be resolved: net.o2oa:x_base_core_project:jar:8.0 (absent), net.o2oa:x_query_core_entity:jar:8.0 (absent): Could not find artifact net.o2oa:x_base_core_project:jar:8.0 in central (https://repo.maven.apache.org/maven2) ->

To see the full stack trace of the errors, re-run Maven with the -e switch.
Re-run Maven using the -X switch to enable full debug logging.

For more information about the errors and possible solutions, please read the following articles:
http://cwiki.apache.org/confluence/display/MAVEN/DependencyResolutionException

错误:
The POM for net.o2oa:x_base_core_project:jar:8.0 is missing, no dependency information available
Downloading from central: https://repo.maven.apache.org/maven2/net/o2oa/x_query_core_entity/8.0/x_query_core_entity-8.0.pom
The POM for net.o2oa:x_query_core_entity:jar:8.0 is missing, no dependency information available
Downloading from central: https://repo.maven.apache.org/maven2/net/o2oa/x_base_core_project/8.0/x_base_core_project-8.0.jar

heifumen 发表于 2023-8-1 12:31:49

https://repo.maven.apache.org/maven2/net/
没有o2oa的目录了

heifumen 发表于 2023-8-1 14:50:59

能否提供一下本地仓库

论坛管理员 发表于 2023-8-2 09:21:17




[*]默认到apache源去下载的,您把源改一下


heifumen 发表于 2023-8-2 12:11:15

本帖最后由 heifumen 于 2023-8-2 12:14 编辑

论坛管理员 发表于 2023-8-2 09:21默认到apache源去下载的,您把源改一下
本地仓库配置:


阿里仓库配置:

错误信息:
https://www.o2oa.net/forum/thread-76559-1-1.html

maven-3.6.2配置文件:



heifumen 发表于 2023-8-2 12:22:03

论坛管理员 发表于 2023-8-2 09:21
[*]默认到apache源去下载的,您把源改一下

可不可以在一台纯白电脑上,复现下。
(顺便录个屏,如果能成功,当更新下教程。)
有可能是大佬们的环境跟本地仓库在自己电脑上都有,所以能打包成功。但如今阿里跟apache可能都不能正常打包!
apache如果能下载,我有办法下!大佬看下我论坛登录地记录嘛!

论坛管理员 发表于 2023-8-3 09:22:51

我们这边在验证中,稍晚再回复您

heifumen 发表于 2023-8-3 13:31:06

论坛管理员 发表于 2023-8-3 09:22
我们这边在验证中,稍晚再回复您

步骤一:安装node 16.20.1、java 11.0.20、maven3.6.2

步骤二:配置maven系统环境变量
步骤三:修改maven,阿里仓库、本地仓库
步骤四:拉取gitee的O2OA-master
步骤五:CMD,CD到O2OA-master目录
步骤六:按顺序执行npm install、npm install -g gulp-cli、npm install -g jsdoc、npm run build_ci:linux
页: [1]
查看完整版本: 编译打包打不了,O2OA的maven仓库掉了吗