add complete maven runner script
review protocole: remove useless enum
add test