On Sat, Feb 8, 2020 at 12:23 PM Ankur Sinha <sanjay.ankur(a)gmail.com> wrote:
netcdf-java uses the Gradle build system, and is required to update
hdfview to the latest version. Gradle, however, was retired as
"out of date, broken, fails to build, basically unmaintainable".
Now, I know that following our system, one must package Gradle first but
given the retirement comment, packaging and then maintaining it does not
appear a simple task, and for one dependency only, it seems overkill.
Is there perhaps a way of bypassing that somehow? For example, is there
a way to use good old Maven to build a Gradle based project?
There are several different ways to handle this problem. In this case
my recommendation is to port packages to be built with Maven instead
of Gradle. The exact way to do this varies between projects, but in
general you'd need to obtain Maven POMs for particular project (eg.
from Maven Central), add missing build instructions (<build> section
of POM files) and model composition/inheritance (<modules> and
<parent> elements of POM). There are several cases of packages that
are built this way in Fedora, which you can use as examples. Let me
know if you need more help.