Hello,

I tried to import Calcite project into Eclipse and faced some issues.

In newly created workspace I select File - Import - Maven - Existing
Maven Projects
Point "Root Directory" to git cloned dir. Press "Finish".

After this steps I got erros:

  - fmpp-maven-plugin:1.0:generate (1 errors)
    Description: No marketplace entries found to handle
fmpp-maven-plugin:1.0:generate in Eclipse.  Please see Help for more
information.
    \- Execution generate-fmpp-sources, in /calcite-core/pom.xml
       Description: No marketplace entries found to handle Execution
generate-fmpp-sources, in /calcite-core/pom.xml in Eclipse.  Please
see Help for more information.
  - javacc-maven-plugin:2.4:javacc (2 errors)
    Description: No marketplace entries found to handle
javacc-maven-plugin:2.4:javacc in Eclipse.  Please see Help for more
information.
    \- Execution javacc, in /calcite-core/pom.xml
       Description: No marketplace entries found to handle Execution
javacc, in /calcite-core/pom.xml in Eclipse.  Please see Help for more
information.
    \- Execution javacc, in /calcite-piglet/pom.xml
       Description: No marketplace entries found to handle Execution
javacc, in /calcite-piglet/pom.xml in Eclipse.  Please see Help for
more information.

After some googling it pointed out that while Eclipse uses incremental
compilation,
his m2eclipse plugin should have information from maven plugins about
lifecycle management.

See [1] for more details regarding this behaviour.

I also found similar issue (already closed) in Apache Drill. See Jira
ticket [2] and pull request
for it [3].

I modified pom.xml in calcite-core and calcite-piglet modules, which
caused this issue and
it was fixed for me. See git diffs [4] and [5].

There is also errors from checkstyle checks, but probably it's just my
setup. Didn't investigate yet.

  [1] - http://www.eclipse.org/m2e/documentation/m2e-execution-not-covered.html
  [2] - https://issues.apache.org/jira/browse/DRILL-445
  [3] - 
https://github.com/apache/drill/commit/1e25c0d287b8ca55d7ae3242b638659c68d115da
  [4] - http://pastebin.com/VsV4RcG2
  [5] - http://pastebin.com/Dhf9VJrS

Reply via email to