Protocol java file is generated in the generate-sources phase