【1.5】自行构建打包时,缺少相应编译后的文件 #2696
-
我执行mvn clean package -DskipTests -Drat.skip对整个仓库进行打包,但是我发现hugegraph-server编译后的目录,缺少swagger-ui目录,是我还需要操作啥么?我看 1.5.0-rc1归档包包含了这个目录。 |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
在执行 |
Beta Was this translation helpful? Give feedback.
-
@LiJie20190102 理论上使用 |
Beta Was this translation helpful? Give feedback.
在执行
mvn clean package -DskipTests -Drat.skip
后,hugegraph-server
编译目录中缺少swagger-ui
目录,这是因为在 Maven 构建过程中默认不包含该目录。要包含swagger-ui
目录,你需要在构建后执行download_swagger_ui.sh
脚本。这个脚本会从互联网上下载swagger-ui
文件并将其解压到相应的目录中 [1]。To continue talking to Dosu, mention @dosu.