I removed the unecessary plugins from the build and reworked it to use the ci friendly way of setting the version for releases (see https://maven.apache.org/maven-ci-friendly.html).