Update -core dependency

Update pom.xml, code accordingly

Signed-off-by: Francis Galiegue <fgaliegue@gmail.com>