Workaround for only runtime dependencies in pom.xml