tkobayas commented on code in PR #6866:
URL: 
https://github.com/apache/incubator-kie-drools/pull/6866#discussion_r3708897746


##########
docs/BUILDING.md:
##########
@@ -0,0 +1,78 @@
+<!--
+  Licensed to the Apache Software Foundation (ASF) under one
+  or more contributor license agreements.  See the NOTICE file
+  distributed with this work for additional information
+  regarding copyright ownership.  The ASF licenses this file
+  to you under the Apache License, Version 2.0 (the
+  "License"); you may not use this file except in compliance
+  with the License.  You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+  Unless required by applicable law or agreed to in writing,
+  software distributed under the License is distributed on an
+  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+  KIND, either express or implied.  See the License for the
+  specific language governing permissions and limitations
+  under the License.
+  -->
+
+# Building
+
+## Prerequisites
+
+- Java SDK 17 or 21 (OpenJDK recommended) — CI builds with both — and Git
+- Docker — not strictly required, but needed by some integration tests
+  (Testcontainers-based); those tests can be skipped
+- For GraalVM native image builds, follow the
+  [Quarkus guide](https://quarkus.io/guides/building-native-image); on macOS,
+  see [DEVELOP_ON_MACOS.md](./DEVELOP_ON_MACOS.md)
+
+## Basic build
+
+Build with Maven from the root:
+
+```bash
+mvn clean install
+```
+
+A full build with all tests takes a long time. Common ways to shorten the
+cycle:
+
+| Flag | Effect |
+| --- | --- |
+| `-DskipTests` | Skip unit and integration tests |
+| `-DquickTests` | Formatting validation and unit tests only (skips invoker 
and archetype tests) |
+| `-DskipITs` | Skip integration tests only (failsafe) |
+| `-Dinvoker.skip=true` | Skip maven-invoker-based integration tests (e.g. in 
`kie-maven-plugin`) |
+| `-Dquickly` | Kogito-apps modules only: skip most plugins and tests |

Review Comment:
   Per my understanding, `-Dquickly` works for all modules and is useful as the 
quickest build option.
   ```suggestion
   | `-Dquickly` | Skip most plugins and tests |
   ```



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to