fix sample project compilation with maven