You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Aleksei Zotov (Jira)" <ji...@apache.org> on 2021/09/29 20:24:00 UTC

[jira] [Created] (CASSANDRA-17015) Migrate build from Ant to Maven/Gradle

Aleksei Zotov created CASSANDRA-17015:
-----------------------------------------

             Summary: Migrate build from Ant to Maven/Gradle
                 Key: CASSANDRA-17015
                 URL: https://issues.apache.org/jira/browse/CASSANDRA-17015
             Project: Cassandra
          Issue Type: New Feature
          Components: Build
            Reporter: Aleksei Zotov
            Assignee: Aleksei Zotov


h2. Overview

Cassandra relies onto {{ant}} build tool which is used there for a long time. Even though it is pretty stable, reliable and well-document, {{ant}} is not being actively developed. Releases are rare and new features/fixes appear rarely. For example, JUnit 5 support was implemented in Sep 2019 whereas the JUnit 5 itself was released in 2017.

Moreover, ant seems to be morally obsolete:
 * no-one (?) starts new projects with {{ant}}
 * less and less people have hands-on experience with the tool

h2. Goals

The aim of this ticket is to explore two alternatives for the project: Maven, Gradle. Most of the community seem to prefer Maven at this stage, but I'd like us to be unbiased and make a fair comparison. The points to pay attention to:
 * build speed
 * support of necessary plugins (without ugly workarounds)
 * IDE integration (will need to get feedback from the community)
 * ability to improve tests speed (including both multi-threading and parallelization on multiple servers)

h2. Steps
 # mimic the existing build via Gradle
 # mimic the existing build via Maven
 # make speed comparison
 # ask community to test IDE integration and try to address existing concerns
 # check ability to parallelize tests
 # make a conclusion / vote
 # update necessary project documentation
 # migrate trunk (not yet sure regarding older branches, but probably them too) to the new build tool 

 

The description is preliminary. We may update it in the future once we have more details.

 



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cassandra.apache.org
For additional commands, e-mail: commits-help@cassandra.apache.org