2 Star 2 Fork 1

KIE/optaplanner

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
README.adoc 6.32 KB
一键复制 编辑 原始数据 按行查看 历史
radtriste 提交于 2022-07-12 11:54 . Update Readme with CI info
optaPlannerLogo

Maven artifact Stackoverflow Join Zulip Chat Commit Activity Livense JVM support Maven Code size

Reliability Rating Security Rating Maintainability Rating Coverage

A fast, easy-to-use, open source AI constraint solver for software developers

Looking for Quickstarts?

OptaPlanner’s quickstarts are located in the optaplanner-quickstarts repository.

Quick development start

To build and run from source:

$ mvn clean install -Dquickly
$ cd optaplanner-examples
$ mvn exec:java

To develop with IntelliJ IDEA, Eclipse or VSCode, open the root pom.xml as a new project and configure a Run/Debug configuration like this:

  • Type: Application

  • Main class: org.optaplanner.examples.app.OptaPlannerExamplesApp

  • VM options: -Xmx2G -server (memory only needed when using the big datasets in the examples)

  • Program arguments: (none)

  • Working directory: $MODULE_DIR$ (must resolve to optaplanner-examples directory)

  • Use classpath of module: optaplanner-examples

Contributing to OptaPlanner

This is an open source project, and you are more than welcome to contribute :heart:!

Time to make a change?

Every change must be submitted through a GitHub pull request (PR). OptaPlanner uses continuous integration (CI). The OptaPlanner CI runs checks against your branch after you submit the PR to ensure that your PR doesn’t introduce errors. If the CI identifies a potential problem, our friendly PR maintainers will help you resolve it.

Contributing

  1. Fork it (https://github.com/kiegroup/optaplanner).

  2. Create your feature branch: (git checkout -b feature).

  3. Commit your changes with a comment: (git commit -am 'Add some feature').

  4. Push to the branch to GitHub: (git push origin feature).

  5. Create a new pull request.

Code standards

Your code is automatically formatted according to the Import and Code Style conventions during every Maven build. CI checks enforce those conventions too, so be sure to build your project with maven before creating your PR:

mvn clean install

For information about how to set up code style checks, see IDE Setup Instructions.

Building your OptaPlanner project

Use one of the following ways to build your OptaPlanner project:

  • :rocket: build-fast: mvn clean install -Dquickly skips any checks and code analysis (~1 min)

  • :hammer: build-normally: mvn clean install runs tests, checks code style, skips documentation (~17 min)

  • :receipt: build-doc: mvn clean install at optaplanner/optaplanner-docs creates asciidoctor documentation target/optaplanner-docs-*/html_single/index.html (~2 min)

  • :mechanical_arm: build-all: mvn clean install -Dfull runs all checks + creates documentation and distribution files (~20 min)

OptaPlanner CI status

You can check the CI status of the OptaPlanner repositories from the Chain Status webpage.

Jenkins CI Jobs (need VPN access)

Interesting Jenkins CI jobs (need VPN access):

马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/kiegroup/optaplanner.git
git@gitee.com:kiegroup/optaplanner.git
kiegroup
optaplanner
optaplanner
main

搜索帮助