Thanks Bobby and Alejandro for your inputs. > > Please open a JIRA to follow up with this. Note that is not only in > common > > that code is generated, but in mapreduce as well. And there are > different > > things being generated, avro, protobuf, etc.
Filed a new JIRA for this issue https://issues.apache.org/jira/browse/HADOOP-7660 Do we need to file a separate JIRA for mapreduce? > > One thing we could try (not 100% correct but it would simplify the life > of > > eclipse developers) is -as you suggest- to change the phase to > > 'generate-sources'. But the generated sources and corresponding compiled > > classes there must be compiled and used for testing, the classes should > end > > up in the target/test-classes directory. If we agree upon changing the phase to 'generate-sources' I will submit a patch for common.