ikas

ikas

V2EX 第 533224 号会员,加入于 2021-02-14 14:33:12 +08:00
今日活跃度排名 2164
老了,干不动了
根据 ikas 的设置,主题列表被隐藏
二手交易 相关的信息,包括已关闭的交易,不会被隐藏
ikas 最近回复了
主要是国内网络限制...

你手动执行,也有提示
[2/4] Fetching packages...
info There appears to be trouble with your network connection. Retrying...
info There appears to be trouble with your network connection. Retrying...
info There appears to be trouble with your network connection. Retrying...
info There appears to be trouble with your network connection. Retrying...
info There appears to be trouble with your network connection. Retrying...


你用 maven 多执行几次,可能也会成功,但是那样太慢了...所以手动执行,先把依赖(datacap-ui\node_modules)下载下来...
前端依赖下载好了.回到 maven 去编译把
打开目录 datacap\core\datacap-ui
然后使用在该目录,使用 cmd 执行 yarn --legacy-peer-deps install

这个已经不是 java 与 maven 了,而是前端编译
这个实际是 yarn --legacy-peer-deps install 执行失败了, 应该是前端项目的依赖无法下载把
手动到 datacap-ui 模块执行 yarn --legacy-peer-deps install 试试
<relativePath/>表示 从服务器下载 parent pom
--
<relativePath>../demo-parent/pom.xml</relativePath>
7 天前
回复了 buynonsense 创建的主题 程序员 如何自己打包 win 系统镜像?
windows 提供完整的自定义方案


https://learn.microsoft.com/zh-cn/windows-hardware/manufacture/desktop/boot-windows-to-audit-mode-or-oobe?view=windows-11

最简单的方式

-------------------------------------------
在参考计算机上安装 Windows 。

安装完成后,启动计算机并安装任何其他设备驱动器或应用程序。

更新 Windows 安装后,运行 Sysprep:

在命令行中运行 Sysprep /generalize /shutdown 命令。

-或-

在“系统准备工具”窗口中,选中“关机选项”框中“系统清理操作”框下的“通用化”复选框,选择“关机”,然后单击“确定”。

Sysprep 将从 Windows 安装中删除特定于系统的数据。 系统特定的信息包括事件日志、唯一的安全 ID (SID) 和其他唯一信息。 在 Sysprep 删除独特的系统信息后,计算机将会关闭。

计算机关闭后,插入 Windows PE USB 闪存驱动器或其他可启动媒体,然后重新启动进入 Windows PE 。

在 Windows PE 会话中,使用 Dism /capture-image 命令捕获参考映像。
我的环境是就是 idea 24.2, Maven 3.8.5, Jdk 21 ,maven 使用腾讯云的镜像
是不是你的网络有问题,这个项目还有前端项目(datacap-server datacap-ui)需要编译的,会自动下载 node 等,如果没法访问 github 是不行的

mvn compile -U -Dspotbugs.skip -Dgpg.skip -Dcheckstyle.skip -DskipTests=true


[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary for datacap 2024.3.10-SNAPSHOT:
[INFO]
[INFO] datacap ............................................ SUCCESS [ 21.434 s]
[INFO] datacap-captcha .................................... SUCCESS [ 0.292 s]
[INFO] datacap-fs-spi ..................................... SUCCESS [ 0.062 s]
[INFO] datacap-scheduler-spi .............................. SUCCESS [ 5.759 s]
[INFO] datacap-common ..................................... SUCCESS [ 4.450 s]
[INFO] datacap-client-cli ................................. SUCCESS [ 3.201 s]
[INFO] datacap-parser ..................................... SUCCESS [ 0.127 s]
[INFO] datacap-shaded-pinot ............................... SUCCESS [ 1.962 s]
[INFO] datacap-convert-spi ................................ SUCCESS [ 1.012 s]
[INFO] datacap-convert-txt ................................ SUCCESS [ 1.500 s]
[INFO] datacap-convert-json ............................... SUCCESS [ 1.101 s]
[INFO] datacap-convert-none ............................... SUCCESS [ 0.690 s]
[INFO] datacap-convert-csv ................................ SUCCESS [ 0.695 s]
[INFO] datacap-convert-xml ................................ SUCCESS [ 0.709 s]
[INFO] datacap-spi ........................................ SUCCESS [ 4.657 s]
[INFO] datacap-sql ........................................ SUCCESS [ 1.532 s]
[INFO] datacap-schedule ................................... SUCCESS [ 2.160 s]
[INFO] datacap-parser-spi ................................. SUCCESS [ 0.562 s]
[INFO] datacap-parser-trino ............................... SUCCESS [ 8.260 s]
[INFO] datacap-parser-mysql ............................... SUCCESS [ 16.018 s]
[INFO] datacap-scheduler-local ............................ SUCCESS [ 0.412 s]
[INFO] datacap-executor-spi ............................... SUCCESS [ 0.713 s]
[INFO] datacap-executor-local ............................. SUCCESS [ 0.435 s]
[INFO] datacap-logger ..................................... SUCCESS [ 2.013 s]
[INFO] datacap-shell ...................................... SUCCESS [ 2.330 s]
[INFO] datacap-executor-seatunnel ......................... SUCCESS [ 2.500 s]
[INFO] datacap-service .................................... SUCCESS [ 6.519 s]
[INFO] datacap-security ................................... SUCCESS [ 3.060 s]
[INFO] datacap-jdbc-mysql ................................. SUCCESS [ 2.226 s]
[INFO] datacap-jdbc-clickhouse ............................ SUCCESS [ 2.236 s]
[INFO] datacap-jdbc-presto ................................ SUCCESS [ 2.184 s]
[INFO] datacap-driver-redis ............................... SUCCESS [ 0.048 s]
[INFO] datacap-jdbc-redis ................................. SUCCESS [ 2.249 s]
[INFO] datacap-jdbc-trino ................................. SUCCESS [ 2.567 s]
[INFO] datacap-jdbc-postgresql ............................ SUCCESS [ 2.266 s]
[INFO] datacap-jdbc-elasticsearch ......................... SUCCESS [ 2.277 s]
[INFO] datacap-jdbc-druid ................................. SUCCESS [ 2.245 s]
[INFO] datacap-jdbc-kyuubi ................................ SUCCESS [ 2.232 s]
[INFO] datacap-jdbc-hive .................................. SUCCESS [ 4.242 s]
[INFO] datacap-jdbc-kylin ................................. SUCCESS [ 2.198 s]
[INFO] datacap-jdbc-ignite ................................ SUCCESS [ 2.187 s]
[INFO] datacap-jdbc-db2 ................................... SUCCESS [ 2.354 s]
[INFO] datacap-jdbc-dremio ................................ SUCCESS [ 2.227 s]
[INFO] datacap-jdbc-monetdb ............................... SUCCESS [ 2.136 s]
[INFO] datacap-jdbc-phoenix ............................... SUCCESS [ 6.836 s]
[INFO] datacap-jdbc-h2 .................................... SUCCESS [ 2.117 s]
[INFO] datacap-jdbc-sqlserver ............................. SUCCESS [ 2.139 s]
[INFO] datacap-jdbc-oracle ................................ SUCCESS [ 2.174 s]
[INFO] datacap-jdbc-cratedb ............................... SUCCESS [ 2.256 s]
[INFO] datacap-jdbc-dm .................................... SUCCESS [ 2.117 s]
[INFO] datacap-http-cratedb ............................... SUCCESS [ 2.243 s]
[INFO] datacap-http-clickhouse ............................ SUCCESS [ 2.122 s]
[INFO] datacap-jdbc-tdengine .............................. SUCCESS [ 2.241 s]
[INFO] datacap-jdbc-impala ................................ SUCCESS [ 2.278 s]
[INFO] datacap-jdbc-oceanbase ............................. SUCCESS [ 2.120 s]
[INFO] datacap-native-redis ............................... SUCCESS [ 2.157 s]
[INFO] datacap-jdbc-neo4j ................................. SUCCESS [ 2.175 s]
[INFO] datacap-jdbc-iotdb ................................. SUCCESS [ 2.360 s]
[INFO] datacap-jdbc-snowflake ............................. SUCCESS [ 2.187 s]
[INFO] datacap-shaded-ydb ................................. SUCCESS [ 1.255 s]
[INFO] datacap-jdbc-ydb ................................... SUCCESS [ 2.128 s]
[INFO] datacap-native-zookeeper ........................... SUCCESS [ 2.257 s]
[INFO] datacap-jdbc-duckdb ................................ SUCCESS [ 2.111 s]
[INFO] datacap-native-alioss .............................. SUCCESS [ 2.343 s]
[INFO] datacap-native-kafka ............................... SUCCESS [ 2.204 s]
[INFO] datacap-native-h2 .................................. SUCCESS [ 2.229 s]
[INFO] datacap-http-ceresdb ............................... SUCCESS [ 2.282 s]
[INFO] datacap-http-greptime .............................. SUCCESS [ 2.315 s]
[INFO] datacap-http-questdb ............................... SUCCESS [ 2.283 s]
[INFO] datacap-jdbc-doris ................................. SUCCESS [ 0.357 s]
[INFO] datacap-jdbc-starrocks ............................. SUCCESS [ 0.299 s]
[INFO] datacap-jdbc-hologres .............................. SUCCESS [ 0.312 s]
[INFO] datacap-native-hdfs ................................ SUCCESS [ 0.678 s]
[INFO] datacap-plugin-pinot ............................... SUCCESS [ 0.441 s]
[INFO] datacap-driver-mongo ............................... SUCCESS [ 0.019 s]
[INFO] datacap-plugin-mongo-community ..................... SUCCESS [ 0.318 s]
[INFO] datacap-plugin-cassandra ........................... SUCCESS [ 0.652 s]
[INFO] datacap-plugin-matrixone ........................... SUCCESS [ 0.288 s]
[INFO] datacap-plugin-scylladb ............................ SUCCESS [ 0.434 s]
[INFO] datacap-plugin-paradedb ............................ SUCCESS [ 0.249 s]
[INFO] datacap-plugin-timescale ........................... SUCCESS [ 0.245 s]
[INFO] datacap-plugin-solr ................................ SUCCESS [ 0.262 s]
[INFO] datacap-plugin-influxdb ............................ SUCCESS [ 0.244 s]
[INFO] datacap-fs-local ................................... SUCCESS [ 2.098 s]
[INFO] datacap-fs-qiniu ................................... SUCCESS [ 0.466 s]
[INFO] datacap-fs-alioss .................................. SUCCESS [ 0.429 s]
[INFO] datacap-fs-tencent-cos ............................. SUCCESS [ 0.392 s]
[INFO] datacap-fs-amazon-s3 ............................... SUCCESS [ 0.405 s]
[INFO] datacap-fs-minio ................................... SUCCESS [ 0.458 s]
[INFO] datacap-notify-spi ................................. SUCCESS [ 0.265 s]
[INFO] datacap-http ....................................... SUCCESS [ 2.213 s]
[INFO] datacap-notify-dingtalk ............................ SUCCESS [ 0.314 s]
[INFO] datacap-server ..................................... SUCCESS [01:35 min]
[INFO] datacap-jdbc-mongo ................................. SUCCESS [ 8.526 s]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 05:07 min
[INFO] Finished at: 2024-09-29T22:14:54+08:00
[INFO] ------------------------------------------------------------------------
一般都是习惯配置好 maven path,直接 mvn compile,有啥错就看看,该跳肯定跳.....
主要是 idea 对 maven 项目导入太慢
关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   实用小工具   ·   1168 人在线   最高记录 6679   ·     Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 11ms · UTC 17:24 · PVG 01:24 · LAX 10:24 · JFK 13:24
Developed with CodeLauncher
♥ Do have faith in what you're doing.