Java : Add mvn command line support to run the samples