To fix the error mentioned by st33n it seems to suffice to replace http with https. With the following changes in PKGBUILD the build succeeded for me:
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -33,6 +33,7 @@ prepare() {
sed -i -e 's|<source>1\.6</source>|<source>1\.7</source>|g' \
-e 's|<target>1\.6</target>|<target>1\.7</target>|g' "$file"
done
+ sed -i 's|http://maven-eclipse.github.io/maven|https://maven-eclipse.github.io/maven|' pom.xml
}
build() {
Downloading dependencies via http sounds really bad. Does this mean that before the current maven version, the build process would have allowed a man in the middle to execute arbitrary code?
Pinned Comments
Visne commented on 2024-04-13 10:54 (UTC)
I've adopted the package and updated to 1.6.2. Sadly this means that GTK2 support is dropped (SWT dropped support back in 2018...). I'm not sure if anyone was using this on Arch Linux ARM, but temporarily support for that is also dropped. They did some work on that upstream though but it is not part of 1.6.2 yet, so hopefully it can be supported after the next release.
Let me know if you run into any issues.