Turns out the maven-plugin still causes issues. This reverts commit 1ccdf2f6cfddd79a0c6e2f259b9c74c2db996b96.