This is one of the modules that composes the EAR deployment defined in the "brother" module [keycloak-d4science-spi](../keycloak-d4science-spi-ear/README.md).
To build the module JAR file it is sufficient to type
mvn clean package
The module can be installed inside the locally running Keycloak runtime (when the Keycloak server is stopped) by using the shell file:
install-keycloak-module.sh
Then, after the module has been installed and the server has been started, you can enable it with:
add-avatar-resource-provider.sh [host:port]
This will make the new defined SPI available in the Keycloak server. The `[host:port]` parameter is optional and defaults to Wildfly control default host and port (`localhost:9990`)
(NOTE: Both commands are using the `$KEYCLOAK_HOME` environment variable to find where Keycloak server is located)