change compile to runtime at root pom.xml