[
https://issues.apache.org/jira/browse/CALCITE-2905?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16971378#comment-16971378
]
Vladimir Sitnikov commented on CALCITE-2905:
--------------------------------------------
[~julianhyde], sorry for nagging you, however, I started working on Calcite
Maven -> Gradle migration, and there's a question.
The current Calcite Core uses hydromatic-resource-maven-plugin which does not
exist for Gradle, thus the compilation fails on ExInst:
[https://travis-ci.org/apache/calcite/builds/610217667#L241-L242]
Do you think you could release Gradle plugin as well?
Alternative options could be: integrate resources into Calcite source code (the
plugin is used just once in core, so we could copy Resources.java and be fine
with it) or create a separate repository for Gradle plugin (however, it would
be a bit awkward)
> Migrate build system to Gradle
> ------------------------------
>
> Key: CALCITE-2905
> URL: https://issues.apache.org/jira/browse/CALCITE-2905
> Project: Calcite
> Issue Type: Improvement
> Affects Versions: 1.18.0
> Reporter: Vladimir Sitnikov
> Priority: Major
> Labels: pull-request-available
> Time Spent: 10m
> Remaining Estimate: 0h
>
> Current build system has quirks, and it has well-known limitations.
>
> For instance:
> 1) If you change code in "core" and or "linq4j" modules and you want to check
> "cassandra", you need to "mvn install" those modules first otherwise
> "cassandra" would use "core" from the local Maven repository
> 2) If you want to see how Calcite plays together with Drill, it has to be
> multi-step as well. You can't just change some bits in Calcite and just
> build/test Drill
> 3) Maven builds seem to be single-threaded by default. For instance,
> checkstyle/forbiddenapis always goes before compile, and it does take time. I
> happen to disable checkstyle for local checks.
> 4) Maven plugins are hard to write. You can't just have a pair of classes to
> be used during the build.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)