This is an automated email from the ASF dual-hosted git repository.
olli pushed a commit to branch master
in repository
https://gitbox.apache.org/repos/asf/sling-org-apache-sling-commons-clam.git
The following commit(s) were added to refs/heads/master by this push:
new b46b3a3 SLING-8687 Enable integration tests with Docker
b46b3a3 is described below
commit b46b3a340ee71797955c2fb7c9b732253d24d7ee
Author: Oliver Lietz <[email protected]>
AuthorDate: Mon Sep 9 10:28:06 2019 +0200
SLING-8687 Enable integration tests with Docker
* Adjust README
---
README.md | 13 +++----------
1 file changed, 3 insertions(+), 10 deletions(-)
diff --git a/README.md b/README.md
index 2d84250..4f54b07 100644
--- a/README.md
+++ b/README.md
@@ -13,25 +13,18 @@ Please see [Apache Sling
Clam](https://github.com/apache/sling-org-apache-sling-
## Integration Tests
-Integration tests require a running Clam daemon and are not enabled by default.
-
-
-### Use [Testcontainers](https://www.testcontainers.org/) and local
[Docker](https://www.docker.com/) Engine
-
-Enable the `it` profile to run integration tests with Docker container:
-
- mvn clean install -Pit
+Integration tests require a running Clam daemon. By default a Docker container
(`mk0x/docker-clamav:alpine`) is started via
[Testcontainers](https://www.testcontainers.org/) and local
[Docker](https://www.docker.com/) Engine to provide the Clam daemon.
### Use external Clam daemon
To disable *Testcontainers* and use an external Clam daemon set
`clamd.testcontainer` to `false`:
- mvn clean install -Pit -Dclamd.testcontainer=false
+ mvn clean install -Dclamd.testcontainer=false
To override default Clam daemon host `localhost` and port `3310` set
`clamd.host` and `clamd.port`:
- mvn clean install -Pit -Dclamd.testcontainer=false -Dclamd.host=localhost
-Dclamd.port=3310
+ mvn clean install -Dclamd.testcontainer=false -Dclamd.host=localhost
-Dclamd.port=3310
## EICAR