It seems like Java 8 is not supported any more. Minimum requirement (and maybe only supported version?) seems to be 11.
https://github.com/buchen/portfolio/issues/1964
I experienced build errors and then found the above issue. I had to modify the line 35 in PKGBUILD
export JAVA_HOME=$(archlinux-java-run --min 8 --max 14 --java-home)
in order to avoid java 8 and java 14, because both caused build failures for me.
Pinned Comments
Cobra commented on 2023-08-19 13:34 (UTC)
Thanks to Bevan, we now have a simple and elegant (compared to my attempt) workaround that lets the PKGBUILD download and use the most recent version of maven (currently 3.9.4). Should not need any intervention from you. :)