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

Andrew Purtell edited comment on HBASE-14198 at 8/7/15 10:47 PM:
-----------------------------------------------------------------

I'm not sure {{mvn eclipse:eclipse}} has worked for a long time. For as long as 
I can remember I've had to make manual changes, notably removing a bogus 
resources directory in hbase-it (I think the Hadoop YARN POM causes this 
somehow). That affects all branches, not just master. 

Currently on master I find the following fixups are necessary:
- In hbase-it, delete the bogus .../src/test/resources/ item from the list of 
source directories
\
(New since hbase-spark went in)
- Add Spark nature to hbase-spark
- Set Spark version to 2.10
- In hbase-spark, only one each of src/main,test/java,spark/ will be added, 
need to add the other one as source directory
\
(New since NOTICE and LICENSE autogeneration for source and binary artifacts 
went in)
- In hbase-common, hbase-server, and hbase-thrift, delete the .../META-INF/ 
output directory

I don't think our project caters to any particular IDE and I don't expect {{mvn 
eclipse:eclipse}} to necessarily work, so I muddle through whenever I need to 
generate project files. 

If someone wants to step up and fix this that would be great though.


was (Author: apurtell):
I'm not sure {{mvn eclipse:eclipse}} has worked for a long time. For as long as 
I can remember I've had to make manual changes, notably removing a bogus 
resources directory in hbase-it (I think the Hadoop YARN POM causes this 
somehow). That affects all branches, not just master. 

Currently on master I find the following fixups are necessary:
- In hbase-it, delete the bogus .../src/test/resources/ item from the list of 
source directories
\
(New since hbase-spark went in)
- Add Spark nature to hbase-spark
- Set Spark version to 2.10
- In hbase-spark, only one each of src/main,test/java,spark/ will be added, 
need to add the other one as source directory
\
(New since NOTICE and LICENSE autogeneration for source and binary artifacts 
went in:)
- In hbase-common, hbase-server, and hbase-thrift, delete the .../META-INF/ 
output directory


> Eclipse project generation is broken in master
> ----------------------------------------------
>
>                 Key: HBASE-14198
>                 URL: https://issues.apache.org/jira/browse/HBASE-14198
>             Project: HBase
>          Issue Type: Bug
>            Reporter: Vladimir Rodionov
>
> After running 
> mvn eclipse:eclipse I tried to import projects into Eclipse (Luna) and got 
> multiple build errors, similar to:
> {code}
> Cannot nest output folder 'hbase-thrift/target/test-classes/META-INF' inside 
> output folder 'hbase-thrift/target/test-classes' hbase-thrift            
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to