You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: development-docs/DEV_GUIDE.md
+7-4
Original file line number
Diff line number
Diff line change
@@ -140,7 +140,7 @@ The tests run during the build can be skipped by setting the `MVN_ARGS` environm
140
140
make command:
141
141
142
142
make clean
143
-
make MVN_ARGS='-DskipTests -DskipITs' all
143
+
make MVN_ARGS='-DskipTests' all
144
144
145
145
4. To use the newly built images, update
146
146
the `packaging/install/cluster-operator/060-Deployment-strimzi-cluster-operator.yaml` to obtain the images from your
@@ -214,7 +214,7 @@ Commonly used Make targets:
214
214
- `docker_tag` for [tagging existing images](#tagging-and-pushing-docker-images)
215
215
- `docker_push` for [pushing images to a Docker registry](#tagging-and-pushing-docker-images)
216
216
217
-
> *Note*: If you are having trouble running any of the Make commands it may help to run `mvn clean` and then `mvn install -DskipTests -DskipITs` before running the commands again.
217
+
> *Note*: If you are having trouble running any of the Make commands it may help to run `mvn clean` and then `mvn install -DskipTests` before running the commands again.
218
218
219
219
### Java versions
220
220
@@ -295,7 +295,10 @@ Unwanted versions can be commented out to speed up the build process.
295
295
296
296
Running `make` invokes Maven for packaging Java based applications (that is, Cluster Operator, Topic Operator, etc).
297
297
The `mvn` command can be customized by setting the `MVN_ARGS` environment variable when launching `make all`. For
298
-
example, `MVN_ARGS=-DskipTests make all` can be used to avoid running the unit tests and adding `-DskipITs` will skip
298
+
example:
299
+
* `MVN_ARGS=-DskipTests make all` will compile test code, but not run unit or integration tests
300
+
* `MVN_ARGS=-DskipITs make all` will compile test code and run unit tests, but not integration tests
301
+
* `MVN_ARGS=-Dmaven.test.skip=true make all` won't compile test code and won't run unit or integration tests
299
302
the integration tests.
300
303
301
304
### Local build on Minikube
@@ -364,7 +367,7 @@ the commit if errors are detected:
364
367
## IDE build problems
365
368
366
369
The build also uses a Java annotation processor. Some IDEs (such as IntelliJ's IDEA) by default don't run the annotation
367
-
processor in their build process. You can run `mvn clean install -DskipTests -DskipITs` to run the annotation processor
370
+
processor in their build process. You can run `mvn clean install -DskipTests` to run the annotation processor
368
371
as part of the `maven` build, and the IDE should then be able to use the generated classes. It is also possible to
369
372
configure the IDE to run the annotation processor directly.
0 commit comments