use mvn to generate a java project