You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hugegraph.apache.org by "LiJie20190102 (via GitHub)" <gi...@apache.org> on 2024/11/20 08:35:41 UTC

[D] 【1.5】自行构建打包时,缺少相应编译后的文件 [incubator-hugegraph]

GitHub user LiJie20190102 created a discussion: 【1.5】自行构建打包时,缺少相应编译后的文件

我执行mvn clean package -DskipTests -Drat.skip对整个仓库进行打包,但是我发现hugegraph-server编译后的目录,缺少swagger-ui目录,是我还需要操作啥么?我看 1.5.0-rc1归档包包含了这个目录。
![image](https://github.com/user-attachments/assets/e1fcab3b-0daa-4064-a0d0-4013ed2a6842)


GitHub link: https://github.com/apache/incubator-hugegraph/discussions/2696

----
This is an automatically sent email for dev@hugegraph.apache.org.
To unsubscribe, please send an email to: dev-unsubscribe@hugegraph.apache.org


Re: [D] 【1.5】自行构建打包时,缺少相应编译后的文件 [incubator-hugegraph]

Posted by "VGalaxies (via GitHub)" <gi...@apache.org>.
GitHub user VGalaxies added a comment to the discussion: 【1.5】自行构建打包时,缺少相应编译后的文件

@LiJie20190102 理论上使用 `mvn clean package -DskipTests -Drat.skip` 命令打包是会自动下载 swagger-ui 的,可以在构建日志中确认下是否存在下面的输出

![image](https://github.com/user-attachments/assets/606e4871-941d-4104-9a38-bb1d267f6087)


GitHub link: https://github.com/apache/incubator-hugegraph/discussions/2696#discussioncomment-11321490

----
This is an automatically sent email for dev@hugegraph.apache.org.
To unsubscribe, please send an email to: dev-unsubscribe@hugegraph.apache.org


Re: [D] 【1.5】自行构建打包时,缺少相应编译后的文件 [incubator-hugegraph]

Posted by "LiJie20190102 (via GitHub)" <gi...@apache.org>.
GitHub user LiJie20190102 edited a discussion: 【1.5】自行构建打包时,缺少相应编译后的文件

我执行mvn clean package -DskipTests -Drat.skip对整个仓库进行打包,但是我发现hugegraph-server编译后的目录,缺少swagger-ui目录,是我还需要操作啥么?我看 1.5.0-rc1归档包包含了这个目录。
![image](https://github.com/user-attachments/assets/e1fcab3b-0daa-4064-a0d0-4013ed2a6842)

我只有这几个
![image](https://github.com/user-attachments/assets/c0f9c403-e6de-4aa7-b915-7a015234ae1e)



GitHub link: https://github.com/apache/incubator-hugegraph/discussions/2696

----
This is an automatically sent email for dev@hugegraph.apache.org.
To unsubscribe, please send an email to: dev-unsubscribe@hugegraph.apache.org


Re: [D] 【1.5】自行构建打包时,缺少相应编译后的文件 [incubator-hugegraph]

Posted by "dosubot[bot] (via GitHub)" <gi...@apache.org>.
GitHub user dosubot[bot] added a comment to the discussion: 【1.5】自行构建打包时,缺少相应编译后的文件

<!-- Answer -->
在执行 `mvn clean package -DskipTests -Drat.skip` 后,`hugegraph-server` 编译目录中缺少 `swagger-ui` 目录,这是因为在 Maven 构建过程中默认不包含该目录。要包含 `swagger-ui` 目录,你需要在构建后执行 `download_swagger_ui.sh` 脚本。这个脚本会从互联网上下载 `swagger-ui` 文件并将其解压到相应的目录中 <sup>[[1]](https://github.com/apache/incubator-hugegraph/blob/master/hugegraph-server/hugegraph-dist/download_swagger_ui.sh)</sup>。


<!-- Dosu Comment Footer -->
*To continue talking to [Dosu](https://dosu.dev), mention @dosu.*


GitHub link: https://github.com/apache/incubator-hugegraph/discussions/2696#discussioncomment-11319480

----
This is an automatically sent email for dev@hugegraph.apache.org.
To unsubscribe, please send an email to: dev-unsubscribe@hugegraph.apache.org