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

Sree Vaddi commented on CALCITE-994:
------------------------------------

Eclipse Mars/JDK 8:

Calcite Source Code:
{code}
$ pwd
/home/user
$ git clone https://github.com/apache/calcite.git
$ cd calcite
$ ls
$ wget 
https://issues.apache.org/jira/secure/attachment/12774551/lifecycle-mapping-metadata.xml
or
$ curl -O 
https://issues.apache.org/jira/secure/attachment/12774551/lifecycle-mapping-metadata.xml
{code}

Eclipse Download:
{code}
$ pwd
/home/user
$ wget 
http://eclipse.mirror.rafal.ca/technology/epp/downloads/release/mars/1/eclipse-jee-mars-1-macosx-cocoa-x86_64.tar.gz
or
$ curl -O 
http://eclipse.mirror.rafal.ca/technology/epp/downloads/release/mars/1/eclipse-jee-mars-1-macosx-cocoa-x86_64.tar.gz
$ tar -xzf eclipse-jee-mars-1-macosx-cocoa-x86_64.tar.gz
$ cd eclipse/mars
{code}

Open that eclipse.

Eclipse -> Preferences -> Maven -> Lifecycle Mappings
Change mapping file location: /home/user/calcite/lifecycle-mapping-metadata.xml

File -> import -> Maven -> Existing Maven Projects
browse: /home/user/calcite

Follow instructions, as they show up.
Installs new maven plugins 
(build-helper-maven-plugin:1.9:add-resource,build-helper-maven-plugin:1.9:add-test-resource,maven-checkstyle-plugin:2.12.1:check)


6914 Errors; All of them of type 'Checkstyle Problem'
4391 Warnings; Ignoring of type 'Java Problem'


Some of the problems:
Description     Resource        Path    Location        Type
Version is duplicate of parent version  pom.xml /calcite-avatica        line 28 
Maven pom Loading Problem
Overriding managed version 2.8 for maven-dependency-plugin      pom.xml 
/calcite-spark  line 145        Maven pom Loading Problem
maven-remote-resources-plugin (goal "process") is ignored by m2e.       pom.xml 
/calcite-splunk line 110        Maven Project Build Lifecycle Mapping Problem
Dead code       RelOptUtil.java 
/calcite-core/src/main/java/org/apache/calcite/plan     line 118        Java 
Problem
Access "/home/user/calcite/piglet/.." directory outside of project base 
directory. 
(org.apache.maven.plugins:maven-resources-plugin:2.7:testResources:default-testResources:process-test-resources)
     pom.xml /calcite-piglet line 1  Maven Build Participant Problem
Build path specifies execution environment J2SE-1.5. There are no JREs 
installed in the workspace that are strictly compatible with this environment.  
 calcite-mongodb         Build path      JRE System Library Problem



Issues auto submitted to eclipse community:
https://dev.eclipse.org/recommenders/community/confess/#/incidents/Fbs8zs5lBVkuqIs6VgH4NiJNAH08rDgZ3YbNpvtNgYs1As7H7dN6CJ2DLZ9Z1Ubb

https://dev.eclipse.org/recommenders/community/confess/#/incidents/xZB4ckwoFFy8tSMNcCGIK7PLPswiHsYHoI8CDlUZVQvhCcCXZ1EAQ0yyFbAOAOB8

Eclipse Neon/JDK 8:
Fails with no repos found for maven plugins to install.


> Calcite development under Eclipse IDE
> -------------------------------------
>
>                 Key: CALCITE-994
>                 URL: https://issues.apache.org/jira/browse/CALCITE-994
>             Project: Calcite
>          Issue Type: Improvement
>          Components: site
>            Reporter: Alexander Reshetov
>            Assignee: Julian Hyde
>            Priority: Minor
>         Attachments: lifecycle-mapping-metadata.xml
>
>
> After "git clone" project could not be imported in Eclipse as existing Maven 
> project.



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

Reply via email to