[ 
https://issues.apache.org/jira/browse/HADOOP-8848?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13463581#comment-13463581
 ] 

Chris Nauroth commented on HADOOP-8848:
---------------------------------------

The attached patch fixes the problem in the module's pom.xml by adding the 
Avro-generated source folder using build-helper-maven-plugin.  Other modules 
have used a similar strategy.  (See 
hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-common/pom.xml.)
  With this patch in place, it's possible to do a fresh import of all of 
hadoop-common trunk into Eclipse and see it compile successfully immediately.

Note that this problem did not harm the typical Maven build.  It was just a 
problem for fresh project imports into Eclipse.

                
> hadoop-mapreduce-client-core fails compilation in Eclipse due to missing 
> Avro-generated classes
> -----------------------------------------------------------------------------------------------
>
>                 Key: HADOOP-8848
>                 URL: https://issues.apache.org/jira/browse/HADOOP-8848
>             Project: Hadoop Common
>          Issue Type: Improvement
>          Components: build
>    Affects Versions: 3.0.0
>            Reporter: Chris Nauroth
>            Assignee: Chris Nauroth
>         Attachments: HADOOP-8848.patch
>
>
> After importing all of hadoop-common trunk into Eclipse with the m2e plugin, 
> the Avro-generated classes in hadoop-mapreduce-client-core don't show up on 
> Eclipse's classpath.  This causes compilation errors for anything that 
> depends on those classes.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to