第 15 章 下载并构建 OptaWeb Vehicle Routing 部署文件
您必须在构建和部署 OptaWeb Vehicle 路由前下载并准备部署文件。
流程
导航到红帽客户门户网站中的 Software Downloads 页面(需要登录),然后从下拉菜单中选择产品和版本:
- 产品: 红帽构建的 OptaPlanner
- Version: 8.29
- 下载 Red Hat Build of OptaPlanner 8.29 Quick Starts。
-
提取
rhbop-8.29.0-red_hat_build_of_optaplanner-quickstarts-sources.zip文件。 -
导航到
org.optaweb.optaweb-vehicle-routing-8.29.0.Final-redhat-00009目录。 -
下载 Red Hat Build of OptaPlanner 8.29.0 Maven Repositroy (
rhbop-8.29.0-red_hat_build_of_optaplanner-maven-repository.zip)。 -
提取
rhbop-8.29.0-red_hat_build_of_optaplanner-maven-repository.zip文件。 -
将
rhbop-8.29.0-red_hat_build_of_optaplanner/maven-repository子目录的内容复制到~/.m2/repository目录中。 输入以下命令来构建 OptaWeb Vehicle Routing:
mvn clean package -DskipTests