kogito dev 備忘録

mvn clean install -Dquickly
mvn verify
mvn clean install -DskipTests -Dvalidate-formatting

debug log

mvn clean package -Dorg.slf4j.simpleLogger.log.io.quarkus=debug -Dorg.slf4j.simpleLogger.log.org.kie.kogito=debug

system property

quarkus:dev のときは普通に system property を与える

mvn clean compile quarkus:dev -Ddrools.dump.dir=/home/tkobayas/tmp3

trouble-shooting

JandexProtoGenerator で ENUM$VALUES のエラーになる場合、 kogito-codegen-modules をビルド仕直す

quarkus.test.list

   <quarkus.test.list.include>true</quarkus.test.list.include>
  1. set the property to true for given module
  2. build kogito-runtimes so that both kogito-quarkus-test-list and the invoked module are part of reactor -> if we do sth like mvn clean install -pl :integration-tests-quarkus-resteasy-classic,:kogito-quarkus-test-list from kogito-runtimes folder this should make sure that in kogito-quarkus-test-list/target there will be the xml artifact with just this single module mentioned (In case of full-repo build all the modules will be there).
  3. clone https://github.com/quarkusio/quarkus-platform/
  4. change version of https://github.com/quarkusio/quarkus-platform/blob/main/pom.xml#L243 to point to locally built artifact (if implementation was already present in <kogito-quarkus.version>1.14.0.Final</kogito-quarkus.version> then this should be enough).
  5. Proceed with instructions on how to build the quarkus-platform (in readme).
  6. The given test then should pass.