The tree.sh script references central.maven.org which does not seem to exist anymore, and it's not secure unlike the newer mirrors such as https://repo.maven.apache.org/maven2/ https://gitweb.gentoo.org/proj/java-ebuilder.git/tree/scripts/tree.sh#n75 I patched tree.sh to use repo.maven.apache.org I am attempting to make an ebuild for DBeaver, with dependencies as necessary. I have this in my /etc/java-ebuilder.conf: JAVA_OVERLAY_DIR=/var/db/repos/java POMDIR=/var/lib/java-ebuilder/poms MAVEN_OVERLAY_DIR=/var/lib/java-ebuilder/maven CACHEDIR=/var/lib/java-ebuilder/cache MAVEN_ARTS="org.eclipse.tycho:tycho-maven-plugin:jar:1.4.0" I made the directory /var/db/repos/java. I then ran `movl build` and first I got a connection due to the non-existent host, but after patching I found that it was trying to get a nonexistent file. Reproducible: Always Steps to Reproduce: 1. Install java-ebuilder latest 2. Edit /etc/java-ebuilder.conf as necessary 3. Run movl build Actual Results: Does not produce ebuilds Expected Results: Should produce ebuilds
I think I have the MAVEN_ARTS line corrected now: MAVEN_ARTS="org.eclipse.tycho:tycho-maven-plugin:1.4.0" I ran `movl clean && movl build` and got this error: Parsed ebuild file name: name = tycho-maven-plugin, version = 1.4.0, suffix = null Reading in maven cache...(warning: format is not up-to-date, consider refreshing the cache)...done Exception in thread "main" java.lang.IllegalThreadStateException: process hasn't exited at java.lang.UNIXProcess.exitValue(UNIXProcess.java:423) at org.gentoo.java.ebuilder.maven.MavenParser.getEffectivePom(MavenParser.java:122) at org.gentoo.java.ebuilder.maven.MavenParser.lambda$parsePomFiles$0(MavenParser.java:41) at java.util.ArrayList$ArrayListSpliterator.forEachRemaining(ArrayList.java:1382) at java.util.stream.ReferencePipeline$Head.forEach(ReferencePipeline.java:580) at org.gentoo.java.ebuilder.maven.MavenParser.parsePomFiles(MavenParser.java:40) at org.gentoo.java.ebuilder.Main.generateEbuild(Main.java:194) at org.gentoo.java.ebuilder.Main.main(Main.java:51) /usr/lib/java-ebuilder/tree.sh: line 126: /var/lib/java-ebuilder/maven/app-maven/tycho-maven-plugin/tycho-maven-plugin-1.4.0.ebuild: No such file or directory Appending /var/lib/java-ebuilder/maven to PORTDIR_OVERLAY... ebuild: /var/lib/java-ebuilder/maven/app-maven/tycho-maven-plugin/*.ebuild: does not exist
Created attachment 622926 [details] java-ebuilder movl build log
Hi Andrew, thank you for the report! This year we are going to have a GSoC project on fixing java-ebuilder. Zongyu is going to devote his summer working on it.