Generate java project for client API if maven is available

Change-Id: I9f5bf75e75d8d9de725f43309aca6558eaa62465